Friday, March 7, 2008

Fixed Toshiba Sound!

Since the reinstall, there's been no sound in Linux. Xubuntu has output no sound. Found the following solution on the Ubuntu Forums.

Edit the alsa config file: sudo mousepad /etc/modprobe.d/alsa-base

Added the following lines at the bottom of the file:

# Fix for Toshiba sound. From Ubuntu Forums
options snd-hda-intel model=auto

We'll see how it works at the next reboot.

Wednesday, March 5, 2008

New MacBook on the way!

My wife's old iMac G4 started making an ugly sound last night.

So I backed it up immediately. We looked at the loose power connector, the buckling casing, and the noise...and decided it had become unreliable. So I ordered a replacement today.

Looks like the kids get a spiffy toy.

Reinstallation fallout

<p>So far, only three problems with the reinstallation.</p>
<ol>
  <li>Some data from my shared partition was lost - my backup wasn't as thorough as I thought. I also had to reenter all my e-mail accounts to Evolution (backup copy on the Mac, whew). Nothing critical, just minor annoyances...and a couple Doctor Who episodes.</li>
  <li>The trackpad was fine for the first day, then suddenly became jumpy and unusable today. Looking through various forums, it seems I'm not alone. May or may not be related to the reinstall. On Windows, it was intermittent. On Xubuntu, it's always bad.</li>
  <li>Sound works great on Windows, no sound at all in Xubuntu.  Well, I kind of expected it...</li>
</ol

Tuesday, March 4, 2008

Dual Boot (Win XP / Linux) Reconstruction

<p>I decided not to wait until April...</p>
<p>Downloaded and burned an Ubuntu 7.10 Alternate CD. Reinstalled Windows (snore, 1 hour of installing, 2 hours of updating and faddle). Installed Ubuntu 7.10.</p>
<p>Uh-oh. No I didn't. The Ubuntu CD was corrupt, and instead hosed everything again.</p>
<p>Reinstall Windows while using the Mac to download and burn an Ubuntu 7.10 Live CD.</p>
<p>The live CD passes the self-test, but then is no longer recognized as bootable by the laptop.</p>
<p>Use the installed Windows to download and burn Xubuntu 7.10 live CD. At the same time, installed Quickbooks and Openoffice, and de-bloated the tiny (10GB) Win partition. Even used the 'compression' feature to squeeze 2.5 GB free space.</p>
<p>Install Xubuntu 7.10 - Success! Lots of adding and updating, but it's done. The laptop is usable again.</p>

Monday, March 3, 2008

Quickbooks Repair on the store PC

<p> I located the store's .qbw file on my laptop (the Linux partition is still fine), moved it to a stick, and took it to the store. Goal: Install the latest company data on the store PC, since I had been updating at home.</p>
<p><code>QuickBooks has encountered a problem and needs to close. Microsoft Visual C++ Runtime Library Runtime Error! Program: C:\PROGRAM FILES\INTUIT\QUICKBOOKS\QBW32.EXE</code></p>
<p>Okay, go to Add/Remove Control Panel and repair it...</p>
<p><code>The following error occurs when trying to register the QuickBooks items:
    Internal Error 2908 {7D4B5591-4C80-42BB-B0E5-F2C0CEE02C1A}</code></p>
<p>Argh. Turns out I had weeded unused programs last week. I hate bloat. I had removed <code>Microsoft .NET Framework 2.0</code>. Who knew it was installed by Quickbooks?</p>
<p>Put in the Quickbooks CD. It recognized that the correct component was missing, and installed it. Ejected the CD and put it away.</p>
<p>Went back to Add/Remove and the Repair option. It chugged a while (20-30 minutes) and reported success. Tried it with the moved company file....success! We're back in business.</p>

Sunday, March 2, 2008

Scripting and CURL

Learning to use curl, to download schedule information. Using a tutorial to guide me through the minutae of faking forms and another to guide through scripting it into BASH.

Saturday, March 1, 2008

apt-rdepends

Cool! Package apt-rdepends installs a shell command (also apt-rdepends) that gives a clean list of all dependencies. Reverse searching is also possible. I needed something like this in Iraq, when I was upgrading by hand due to a lack of internet connection for my laptop.

Interestingly, Synaptic has grown a script-maker for offline package changes. It generates a script that you use on a connected machine to download the right packages. I could have used that, too...

Now they are merely of academic interest - unless I go back.

Instead of using the apt-rdepends package, you can get the same result using the apt-cache rdepends packagename command.