Home > Articles > Post-Install Tips for Ubuntu 7.10

Post-Install Tips for Ubuntu 7.10

Once you've installed Ubuntu's Gutsy Gibbon, follow these steps to avoid headaches and make your new OS feel like home.

I don't know about where you live, but where I live, it feels like October. Halloween orange has sprouted everywhere from the grocery store to the doctor's office, the weather has acquired a distinctive chill, and, of course, we have a new release of Ubuntu Linux. Version 7.10 hit the Net just last week, right on time. (Ubuntu releases tend to come each October and April.)

I previewed the "Gutsy Gibbon" edition last month, and found that (as you might expect from an OS with a major release twice each year) most of the changes are minor, incremental--evolutionary as opposed to revolutionary. There are a couple of exceptions, like the addition of Compiz for desktop effects (windows that fade in and out, Exposé-like task switching, plus a few dozen more effects, many of which have a serious gee-whiz factor). And a couple of longstanding Ubuntu bugaboos linger, such as the inability to play DVDs without some additional legwork. Here are a few tips for getting everything working the way you want it to.

For legal reasons, Ubuntu lacks a small system library that decrypts the video on most commercial DVDs. The system's default media player isn't quite DVD-ready, either. Luckily, everything we need to play our DVDs is easy to fetch and install, though not quite as easy as the typical point-and-click dance for software installation on Ubuntu.

To begin, select System, Administration, Software Sources and ensure that the first, second, and fourth check boxes are checked. Close the dialog box when you're through.

Open a Terminal window (Applications, Accessories, Terminal), and then enter:

sudo apt-get install libdvdread3

After you enter your password, Ubuntu will fetch and install the libdvdread3 package. Now to install the necessary decryption library, enter this command:

sudo /usr/share/doc/libdvdread3/install-css.sh

Okay, the libraries you need are now in place, but you still need to install a smarter video player before you can watch the latest Netflix arrival. To download and install the VLC media player for DVD playback, issue this command in a Terminal window:

sudo apt-get install vlc

(You can also find VLC under Applications, Add/Remove, if you're allergic to the command line.)

To make VLC fire up automatically when you insert a DVD, click System, Preferences, Removable Drives and Media. On the Multimedia tab, find a text box labeled Command under Video DVD Discs; it probably has totem %m in it. Change this value to vlc %m.

Now test your work: Pop in a DVD. VLC should appear and load the disc's main menu. The Fullscreen command you may be looking for at this point (after making popcorn, naturally) is in the Video menu.

By default, Gutsy Gibbon tosses some Compiz-driven visual bling your way, if it thinks your machine is up to the task. For instance, you should notice that windows and menus fade in and out, instead of simply appearing and disappearing. To check the status of your desktop effects, click System, Preferences, Appearance. Click the Visual Effects tab.

If 'None' is selected, Ubuntu probably tried and failed to enable desktop effects. You can try selecting Normal or Extra to see what happens; if Ubuntu decides it doesn't know how to get things cooking with your graphics card and monitor, you should see an error message and be none the worse off. (If you receive an error about a necessary software source not being available, go to the Software Sources dialog box I referenced above and check the third box. This will enable proprietary, closed-source drivers for your video card.)

If "Normal" or "Extra" desktop effects are working for you just fine and you want to fine-tune them to the nth degree (and enable additional features), close the dialog box and enter this line in a Terminal:

sudo apt-get install compizconfig-settings-manager

Now open the Visual Effects tab of the Appearance Preferences dialog box again. You'll see a fourth option, 'Custom'. Click that, and then click the Preferences button to reach Compiz's advanced settings. Note that this is the dialog box you want to access should you decide that desktop effects are too wonky on your system. (On my ThinkPad X31, for instance, all is well except when I maximize a window; at that point, the window's title bar disappears. At this writing, no workaround for this bug exists, so I've set the effects level to 'None' on this machine.)

Tame the Pidgin

Once upon a time, there was a great multiprotocol instant messaging client called Gaim. For its 2.0 release, two things changed. First, the app became known as Pidgin. Second, its creators radically reworked the interface--simplified it, really. The result is a pleasure to work with, but I had two nagging complaints.

The first annoyance was that Pidgin 2.0 provided no indication of which IM network any given buddy was on. That shortcoming is now gone: In Pidgin 2.2, which ships with Gutsy, you can select Buddies, Show, Protocol Icon.

As for the other hassle, I spent too many years living with early IM clients that made you press Control-Enter (not just Enter) to send a message. That keystroke is hardwired into my brain now. And I actually like things to work that way: I want to be able to press Enter to put a line break in an IM, and that can't happen if Enter sends the message. Setting things up this way used to be possible in Gaim, but for simplicity's sake the option was removed from the interface as Gaim became Pidgin. You can, however, still activate it. From a Terminal, enter:

gedit ~/.gtkrc-2.0

In the (often blank) text file that opens up, add the following lines:

Save and close the file. Now fire up Pidgin and message away with your old-school keystrokes.

Using the Extended Preferences plug-in, you can manipulate other Pidgin settings that have been hidden in the stock interface. To access these, in Pidgin click Tools, Plugins. Check the box next to Extended Preferences, and click Configure Plugin. (You'll want to check out the other plug-ins in that dialog box, too; good stuff abounds.)

It's a crying shame but true: Though we are well into the 21st century, a lot of Linux apps, ranging from the Gnome Terminal to the OpenOffice.org word processor, beep your PC's internal speaker when they need your attention. What is this, 1982? Seriously.

There are several solutions to this problem. First, you can disable the internal speaker entirely. To do so, open a Terminal and enter these two lines:

sudo rmmod pcspkr

sudo gedit /etc/modprobe.d/blacklist

In the text file that opens, add the following lines at the bottom, save, and close:

# internal pc speaker

pcspkr

Personally, though, I like to humanize the beep rather than eliminate it. To find a beep you can stomach, fire up a Terminal and enter this command:

xset b 100 2000 20

Now press Backspace a few times without entering a command. The Terminal should emit a quick, high-pitched beep. Now enter:

xset b 100 50 10

...and press Backspace a few more times. You'll hear a dull thump. Which is more to your liking? Or would you prefer to pick a beep all your own? The numbers that follow 'xset b' determine the internal speaker beep's volume (as a percentage of total), pitch (in hertz), and duration (in milliseconds). Experiment!

When you've found the beep you want, make it the default by clicking System, Preferences, Sessions. On the Startup Programs tab, click Add. Enter Beeps for Name, and the entire 'xset b' command line you settled on for Command. Click OK and then Close.

Looking back to the post-install tips I offered up just six months ago for the Ubuntu Feisty release, I notice that quite a bit of the advice has been superceded by improvements in the system. For example, you don't need Automatix anymore, because Ubuntu has gotten so good at fetching multimedia codecs and browser plug-ins. And you don't need Beryl for desktop effects anymore (that project has merged with Compiz anyhow), since they come included with Ubuntu.

My first and last tips from that column, however, are still relevant. If your right Alt key doesn't work, therein lies the fix, and if you don't know what a package manager is or what it does, go read up. Then take a deep breath and start exploring the universe of free software. I'm glad you've arrived!

Matthew Newton, PC World

Matthew Newton is PC World's QA Engineer and in-house Linux guru.



Subscribe to PC World Magazine

1