Random Ramblings

August 28, 2009

Gateway FX6800-01E

Filed under: Computer — Tags: , — camotop @ 9:41 am

I broke down and bought the new (well, refurbished) Gateway Core i7 desktop.  This computer is Fast!

Recovery Disks

At the advice of a colleague (and a note in the box), the first thing I did was create Recovery Disks. It took quite a bit of time, and burned 3 DVDs (there was an option to use 16 CDs as well). While I was doing that, Windows Vista was downloading many updates and installing them.


My next job was installing (free) anti-virus software. I chose AntiVir. Filehippo, by the way, is a great site for free software. I use the Filter feature top right to show only Free software.

BIOS Update

I went to Gateway’s support site, and downloaded the latest BIOS update. To get this to work I unzipped the file, started a Command Prompt in Administrator Mode (by right-clicking the Command Prompt icon in the Start menu), and ran flash.bat.  Took a few minutes and rebooted the machine. I don’t think anything actually got updated, but it all worked, and I’m up to date.


I run Kubuntu Linux most of the time, switching to Windows only for gaming. Hence, I needed to create a dual-boot setup. The machine was setup with a 10 GB recovery partition, and the remaining 740 GB was for Vista, as one big NTFS partition. Vista comes with a built-in Shrink function. This worked fast, but has a limitation: it could only shrink the partition in about half — 370 GB, while I really only wanted 150 GB for Vista. After much searching, and trying defraggers like the built-in Defrag and freeware MyDefrag, shrink still wouldn’t let me make the partition any smaller.  MyDefrag shows a visual representation of the drive and indicated that some file was sitting at the very end of the drive, blocking the resize. At first I thought this was $MFT — an NTFS system file, that normally cannot be moved. I was wrong, and the file really was $bitmap, also a system file. The only program that I found could move this was Perfect Disk.  I tried many others, because I didn’t want to get into Trial versions, but none worked. Perfect Disk has a feature to run on bootup, and in that mode can move system files when optimizing free space.  This worked flawlessly. After the run, Vista’s partition Shrink worked again, bring the size to again half, or about 170 GB. This sufficed for my needs, and I left it at that.

Dual-boot Vista and Kubuntu

I downloaded Kubuntu 9.04 AMD64 version (since I wanted to run in 64-bit mode, and AMD64 means “for AMD CPUs and for AMD/Intel 64 bit CPUs). I inserted the CD and booted the computer. I had to press F10 on startup to get a Boot Menu and select the CD. The Kubuntu install was smooth, although the formatting of the 500 GB partition took a while.  In the partition section I chose to use up all free space. After installation completed, I rebooted, and the Grub Boot Loader let me boot into Linux, the Recovery Partition, or into Vista — very nice that this worked out of the box!

KDE 4.3

After booting Kubuntu a KDM login screen greeted me. I didn’t log in though, as I didn’t want to get my home directory cluttered with new config files for the old KDE version. Instead, I pressed CTRL-F1 to switch to a console. I went into super user mode, and updated /etc/apt/sources.list to point to the latest KDE 4.3. An apt-get update && apt-get dist-upgrade (which took some time), I rebooted and logged into a fresh KDE 4.3 install. Everything worked, including high-resolution video. In the system tray I clicked the Hardware manager and enabled the proprietary ATI drivers (FGLRX). After another reboot Compositing, Wobbly windows, etc. all worked.

64-bit Firefox

Next I wanted to install Firefox. The download from Mozilla didn’t work — gave me library not found errors (looking for libgtk). I also ran into some ELFCLASS64 errors. Turns out that on 64 bit linux there are three lib directories — /usr/lib32, /usr/lib and /usr/lib64 (symlink to /usr/lib). The Mozilla download was 32 bit, hence looked in /usr/lib32 and didn not find the libraries it needed. After a couple of dead-ends, I learned that I should have just done it the Kubuntu way: apt-get install firefox-3.5!  That worked wonderfully.


The standard flash plugin installer worked fine. I tried the 64-bit alpha from Adobe Labs, but it hung the browser, so I went back to the stable version. Flash worked, but no sound!   Other sounds in KDE worked, just not in Firefox / Flash movies. Once again internet forums helped, and after I followed the advice to turn the PCM volume in ‘alsamixer’ up, I had sound.


I’m pretty happy with the setup after 1 day. The Vista partition resizing took the most time and frustration of trial and error.  The machine is nice and fast, KDE 4.3 looks great, and just flies on it.


June 8, 2009

mp3 ID3 tags with Kubuntu Linux

Filed under: Computer — Tags: , — camotop @ 10:18 pm

Finally. After years of dinging around with EasyTag, a manually patched AlbumArt-qt, and lots of trouble, I finally have a working setup. With KID3’s support for album covers in its April release, I finally have one tool to do the job.
My workflow for organizing music files:

  1. start with a directory of mp3 files
  2. directory is named “artist – album”
  3. each song is named “track title”, where track is always 2 digits (meaning leading zero’s for those under 10).
  4. After the Naming step, I tag each file with KID3. I usually do several directories (albums) at once.  With KID3 now, I can search for album covers from the File menu. In the dialog that follows I typically pick Google, but sometimes Amazon gives a better result. Clicking Browse in that window opens a Konqueror browser, with the search results. I pick the imagine I like, view it at full size (I usually go for around 500×500 for album cover, not sure why), and drag the image in the drop zone in KID3. Make sure all files in the directory are selected, and the image is applied to each. If you make a mistake, simple click the picture tag in the ID3V2 section, and click the Delete button on the right.
  5. Once done, I save the files, which tends to take some time on my old computer.
  6. Now it is validation time. I’ve tried to get Amarok to see the covers, but no luck. I think they still do not support the APIC ID3 tag, or perhaps not with an empty description. Although I generally like what Amarok is about, this is a showstopper. Luckily Songbird has come of age, and proves to be a great album cover browser, especially with its MediaFlow add-on.  To view my newly tagged files I copy them to Songbird’s library directory, and view them in Songbird. If all looks good, I move the files to the “Done” directory that contains all my neatly organized music.
  7. I haven’t done any genre or year population. Not sure if I would use that, and it seems more hassle than it’s worth. Automated download of the info is available, but sometimes overwrite other tags incorrectly.

So check out KID3 and Songbird!  Both work great on Kubuntu 9.04 (Jaunty).

Blog at WordPress.com.