Thursday, June 14, 2018

Ubuntu Reinstall on Chromebook

There are many guides to installing Linux on a Chromebook. What I don't see are too many guides on what needs to be done afterwards. Using Crouton gives a very basic experience with Ubuntu, so a lot of things need tweaking.

One step that I often forget is switching to Dev Mode on a Chromebook can require a restart. Also, walking through the Ubuntu install also requires a restart. You can combo these together or do them one at a time. It doesn't really matter. What does matter is the restart option in Ubuntu will turn off your Chromebook. Think ahead.

I find the best way to get software easily is the Software Center. I know it can be buggy and odd, but it is a good place to start. Under the standard install of Ubuntu via Crouton, it isn't there and the terminal is the best option. First things first, make sure your install is up to date:

sudo apt-get update

This should only take a few seconds. Now you can get the software center:

sudo apt-get install software-center

The Software Center takes much longer to download and install. For whatever reason, sometimes the Software Center doesn't work. Simply repeat the command:

sudo apt-get update

The next thing I hit is a proper browser. NetSurf is 3 years old and kind of funky. It works fine in a pinch but doesn't offer a lot of features. I like Chromium.

A good word processor is a must and I am a fan of Libre Write. Write isn't the only game in town, you could simply use Google Docs, Abiword or WPS Writer. WPS Writer has the look and feel of MS Word, Abiword is a stripped down word processor which is easy to use and distraction free.

Stay tuned for more ideas of how to extend your Chromebook's usefulness.

Sunday, June 10, 2018

Using GIMP to Resize Photos to a Specific Size

This afternoon I am editing photos for a website. I would like to take some images from 4992x4000 down to exactly 620 px across. I will be using Gimp and a little math to make this happen in seven steps.

First things first, I could do the math in my head, but I want to make this a step by step process. The second thing is, unpwnd doesn't require a specific size so the images in this walkthru will not be 620 px. That is not lost on me, I happen to Blogger as my platform and it has very different tools from Wordpress.

Step one. Open the image.
Step two. Click on Set Image Canvas Size. The dialog box will open and show that the image is currently 4992x4000. That is nothing like 620 px across.
Step three. I am going to adjust the width and the height. For the width, I need to lose those to extra pixels, it is so small no one will notice. So width becomes 2992-2=2990.

Height is another story. I am going to take away a multiple of 620. I decided that I would go with 620 times 2, so what I end up with is 2760. That is 4000-1240=2760.

Before I hit resize, I clicked the Center button. It just so happens that my subjects are dead center and this works. If it did not, I could have adjusted this manually.
Step four. I want to point out that I have been working with Canvas Size and not Image Size. Essentially, I am cropping the image to a particular size based on some math rather than an eye for photographic composition. Actual photographers have a great eye for composition and would not use this method.

Anyway, I think I can trim a little more of the edges and when I do that, I want my height and width to be an exact multiple of 620. I take the width of 2990 and divide by 620 which gives me 4.822 and some change. I do the same for the height which gives my 4.451 and change.

Now for a trick. I am going to take four away from each number leaving 0.822 and 0.451. Both of these numbers need to multiplied by 620. 620 is the only number I know for this process, which is why it keeps popping up. The results are 510 and 280.

2990-510 is 2480 and 2760-280 is also 2480.  2480 divided by 620 is 4.

Again, I am using the center bottom so I don't clip away my subjects. Also, this could a manual process.
Step five. Scale the image. I could do this part 2 ways. I picked the easy way: I scaled the image to 620. I could have also used the drop down box to select percent and typed in 25. There is no difference.
Step six. This is the result, an image that appears way too small. But not really, GIMP didn't change the scale of the display and the image is actually much bigger.
 Step seven. I set my view to 1:1. Looks good.
While all of this seems labor intensive, it is. But only once. Changes are your camera always outputs the same size image so you can save this as a macro making the process automatic.

And here is the final output at 620 px.

Neat, eh?

Monday, May 28, 2018

Security Update

I've been reviewing my websites for security issues and noticed my robot.txt fell off and the https settings were wrong. Both have been fixed. I'm adding more content this week and hope that I can appeal to a greater readership.

To that end, I will be reviewing software and apps that pull in blogs.

Monday, January 16, 2017

Clamshell iBook Hard Drive Replacement Alternative

My aging Blue iBook is suffering from a lack of space. This machine shipped with a 10 GB hard drive way back in 1999. Since I launched theseoldgames.com, the need for installation space has gone up noticeably.

Ifixit.com has wonderfully detailed instructions for repair of a variety of consumer products, including the iBook. They are my "go to" site for most repair projects. However, replacing the iBook drive has 10 sections, 36 steps and no time listed for the upgrade. It is also marked difficult. Since I trust them, I believe that this is within my skill range, but will exceed my patience for the task.

When I upgraded my old computers hard drive the task took all of an hour. This is a much bugger project, one I am not convinced that I ready to start.

I had been using a USB thumb drive as an alternative to upgrading the drive, but having a little dongle sticking out the side of the computer was always a recipe for disaster. What if I broke the one and only USB port?

Well, that is where the SanDisk Cruzer Fit USB drive comes in. It's a tiny USB drive with more than adequate storage. This 32 GB drive was less than $20.00, on Amazon. Now you can get several of them for a little less than $35.00.

The SanDisk Cruzer would not be my first pick because I am clumsy and forgetful. Under normal circumstances, I would lose this thing in less than a day. However, once it is plugged into the iBook, it's sleek, small form is perfect for this machine. As you can see in the next picture, the SanDisk Cruzer doesn't extend past the edge of the case.

Perfect! Drive problem solved, no particular downsides other than loosing the use of the USB. Aside from a floppy drive and Wacom Table, I have nothing that uses that port. To be honest, I won't need to use either one for this laptop.

One caveat when plugging any drive into a OS 9 Mac - Sometimes the Mac will want to initialize the disk into a flavor or form it can use. Most modern machines do not have this problem, so plugging the drive into the Mac first, formatting if needed, then putting information on it using a different machine is the route to go.

In a perfect world I'd upgrade the hard drive, but this solution is so handy compared to the real fix, I'm gonna run with it.

Pros: Cheap and easy.
Cons: Can't boot from USB. Utilizes the only USB port on the machine.

Saturday, December 31, 2016

The Fraser Cain Experiment

Screen Cap from Universe Today.
Fraser Cain and the Universe Today are offering a free ebook, 101 Astronomical Events in 2017 by David Dickinson. If you are a reader on Universe Today, you are likely very familiar with Mr. Dickinson's work.

According to Mr. Cain this is a test:

"Will you download and actually use it? If so, then expect us to release a new edition every year."

I'd personally love that. Go check out the Universe Today website and enjoy a free ebook. If you like it, don't forget to share with your friends, families and local astronomy clubs. Double down and reshare Mr. Cain's post while you are at it.

I would be remiss if I didn't mention the other quality projects Mr. Cain is involved in. Try out Astronomy Cast with Dr. Pamela Gay and Fraser Cain for a week dose of astronomy. The Bad Astronomy, Universe Today forums have moved to CosmoQuest.com and continues to be an active and vibrant community. And of course, CosmoQuest.org is still running high quality, citizen science experiments.

Editor's note - there is no link directly to the book from unpwnd.com. There is a choice of pdf or epub plus Mr. Cain is running this as an experiment. Unpwnd loves the high quality productions of Mr. Cain, Universe Today and Cosmoquest and would like to see him receive as much traffic as possible for future reference.

Friday, December 16, 2016

This is not the post you're looking for...

Today, I have the chance to see Rogue One.
I haven't been to a Star Wars film on premiere day since I was a child. I'm loving.
So I am AMC with their reclining chairs and student specials. This is going to be awesome!


Sunday, November 13, 2016