Mostly about my amusement

Author: Jan Dembowski (page 86 of 96)

Google 411

Google 411Google’s Voice Local Search is an experimental service where you can dial their 411 information number 1-800-GOOG-411 (1-800-466-4411) and look up businesses by voice.

I just used it and got connected to a local restaurant.

I was on speaker phone, there was a lot background noise, and the voice prompter understood what I was saying. It’s your typical voice recognition setup, just the back end is data collected by Google. The prompter was easy to understand and reacted correctly when I would interrupt it to cut to the chase. It read to me the business I selected and connected me to the restaurant.

Of course I gave the phone to Lily for making reservations. It’s not like I want to speak to a real person…

Google Labs logo lifted from their website.

Ubuntu and Steam

So far so good. I have tried the following with my Ubuntu installation:

  1. Tried to get Compiz running on my laptop
  2. Updated Ubuntu 6.10 Edgy to 7.04 Fiesty Fawn
  3. Get Steam working on my laptop running Ubuntu

Compiz works badly. I think it’s the xserver I am using. I’ve un-installed it already; my laptop probably just lacks the horse power to drive the effects.

Ubuntu 7.04 will likely be better. But I fat fingered something and ended up putting back on 6.10 Edgy.

Steam works so far. In the past I purchased Transgaming’s Cedega cause I really like what they’re doing. But this time I’ve installed wine using

sudo apt-get install wine

Steam now installs via a .msi file. So to get it installed I downloaded SteamInstall.msi from http://www.steampowered.com/ and Googled to locate tahoma.ttf font file.

I moved the tahoma.ttf file to ~/.wine/drive_c/windows/fonts/ and ran

msiexec /a SteamInstall.msi

The mouse worked but I could not get the keyboard focused on the installer. Everything I typed ended up in the terminal I used to run wine. I ended up running winecfg and unchecking the “Allow window manager to control the windows” which was enough to get it installed.

Later on I put that option back and ran wine again with this on the command line:

WINEDEBUG="fixme-all" wine "C:Program FilesSteamsteam.exe"

This was lifted from a Ubuntuforums.org page. BTW I just pasted the snippet from the web page into the WordPress TinyMCE window. All formatting was taken care of, very cool. All I did was use the Code tab to adjust the width of the box.

The installation of a Steam game created a link on my desktop complete with icon. Later on I just double-clicked that link and the Steam app is installing my copy of Condition Zero.

The only problem I have is that the Steam window stays on top all the time. I will see if I can get that fixed.

Ubuntu 6.10 on a IBM T40 laptop

Update: Well the keyconfig extension no longer works despite hacking the install.rdf in the file. I had to follow the instructions located at this website.

On my Ubuntu laptop I did the following at a bash shell prompt:

cd /usr/share/firefox/chrome/browser/content/browser
sudo vi browser.xul

Did a search for “mainKeyset” and right after the line

<keyset id=”mainKeyset”>

I added the following two lines:

<key id=”goBackKb” keycode=”VK_F19″ command=”Browser:Back” />
<key id=”goForwardKb” keycode=”VK_F20″ command=”Browser:Forward” />

I then saved the file and the two IBM keys worked fine. This requires the lines in ~/.Xmodmap below. I’m not pleased with this solution because I have to update the main firefox package files. I will have to figure out how to do this in my home directory.

– – – – – – – – – – – – –

keyconfig extensionThat was way too easy.

I installed Ubuntu 6.06 from the Live/Install CD I had and ran the updater to get all the patches. I played with it for an hour or two and then ran

sudo “update-manager -c -d”

in a terminal window. This permitted me to upgrade the laptop to Ubuntu 6.10 Edgy. I added some more software using Synaptic and was good to go.

Everything worked except in Firefox the keyboard navigation keys for previous/next page did not get recognized. So I added ~/.Xmodmap and put in the following two lines

keycode 234 = F19
keycode 233 = F20

I was all set to do the keyboard macro dance of death when I located and downloaded the keyconfig firefox extension. This extension lets you remap or assign functions to keys in Firefox. That’s very cool since I only was interested in making the keys work in Firefox.

I ran “xmodmap ~/.Xmodmap” and used the extension to map Back as F19 and Forward as F20.

If you download animation or watch video clips, get and install Automatix2. All my vids work due to getting the correct codecs. I’m finding Totem to be a good player.

The real test of if this will work is Lily. She has used the laptop once or twice for browsing and I have even used this laptop to connect to my work’s remote desktop in a browser solution. It’s all working fine.

If she has no issues I’m leaving Ubuntu on this laptop.

Laptop committed XP suicide

Cool Ubuntu logo from www.linuxextremist.comFor about a week my IBM T40 laptop has been acting bizarre.

It boots, complains about different problems, and none of the network connections work at all. Using the few tools I have for XP, I can’t get the thing to work.

It’s gotten to the point where I have to dig out the IBM CD’s and re-install XP and the utilities from the CD. I don’t think it’s a virus but the laptop has ticked me off to the point where I’m “Let’s just buy a new one!”

Without slip-streaming an updated copy of XP, that means I have to do the factory re-install and download a few hundred megabytes of patches. It’ll take hours to do.

X-<

As a rule I don’t keep anything important on my laptop. I have a USB key fob and keep copies of the important docs on my servers. Since all I plan to do is use the laptop for browsing and ssh’ing to my boxes, I am installing Ubuntu.

As I am typing this on another virtual desktop, I’m currently installing Ubuntu 6.06 from a live CD. That’s just not an option when installing XP.

This should be good, I will see how long I keep it.

Cool logo found on www.linuxextremist.com.

Easy server upgrade

I gave up on running my blog on a VPS. It was just too problematic and I got tired of trying to get it working well. So I opted to put the blog on my old basement server.

My old basement server was a Dell PII 450 MHz machine with 256 MB of RAM. It was a good example of how Linux can extend the life of your hardware. It works well as a Internet gateway and mail relay but for serving dynamic web page pages it was a little slow.

When I purchased my XPS 700 monster I shelved the old PC. That one was a P4 3.2 GHz with 1 GB of RAM. For running Linux it’s great.

At first I was bent on getting a fresh install but I ended removing the old hard drive and putting it into the new server. The worst that I had to deal with is the network interfaces were named wrong (one was coming up eth2).

After a little searching I found the file

/etc/udev/rules.d/30-net_persistent_names.rules

and fixed the names from

SUBSYSTEM==”net”, ACTION==”add”, SYSFS{address}==”00:0c:5a:b4:b2:d2″, IMPORT=”/lib/udev/rename_netiface %k eth2″

to

SUBSYSTEM==”net”, ACTION==”add”, SYSFS{address}==”00:0c:5a:b4:b2:d2″, IMPORT=”/lib/udev/rename_netiface %k eth0”

The udevd daemon is great but I hardly ever looked at it.

Page generation on WordPress went from 1.7 seconds on the old server to 0.234 seconds on the new one. That’s not too bad an improvement and all it cost me was a server that I was using as a door stop.

Downloading opensuse 10.1

Speed graphI downloaded the Opensuse 10.1 remastered DVD iso. Rather than use bittorrent I located a fast mirror and downloaded the whole thing.

Click on the thumbnail for the graph, it was down a max speed of 17.16 Mbits/sec. That’s insane and I had no idea that Optimum could go that fast.

I’m planning on replacing the basement PII 450 MHz with a 3.2 GHz P4.

XPS 700 Vista re-install

I upgraded from XP to Vista. Since I purchased my XPS 700 as soon as it came out I did not qualify for Dell’s free Vista upgrade.

My XP install had a ton of junk left on from installing apps, removing them, games I did not play etc. So I figured that I’d just boot off of the Vista upgrade DVD and do a clean install.

The idea was to

  1. Backup the data to an external USB HD
  2. Wipe out the hardrive
  3. Clean install without putting in a product key (Vista lets you run unactivated for 30 days)
  4. Boot, and install the upgrade using the upgrade activation key

Sigh. Well I did backup my data and using the Vista clean install to wipe the hard drive worked perfectly.

Vista would not accept that my hard drive as a valid place to install on. Even putting the drivers from Dell and nvidia on a CD would not work.

I ended up having my two drives separated, installing an unactivated Vista, and downloading and installing vLite.

The vLite application lets you create an install DVD image with the update drivers. It even lets you burn the DVD directly from the application. Until I got the image booted I was in a pretty foul mood since the update XPS BIOS on my machine would no longer install XP Media Center 2005 that came with my XPS 700.

Once that was done I went into the BIOS and re-established the joined drives and started from scratch.

Now steps 3 and 4 worked and I’m keeping the DVD I burned. Using vLite saved me from making a Dell support call that would have ended really badly.