Linking master and headphone volume to volume buttons

It is quite simple to get the external media volume buttons to apply to both master volume and headphone volume simultaneously.


Go to > System > Preferences > Sound and select both Master and Headphne (using Ctrl + click) under Default Mixer Tracks.

That’s it.

(Trying BloGTK for posting this entry)
More on this here


Hardy Heron / Ubuntu 8.04 install

I have just upgraded to Ubuntu 8.04, and thus there are some new things to blog about.

I could not actually upgrade, as I got this error every time I tried:
Could not calculate the upgrade
A unresolvable [sic] problem occurred while calculating the upgrade.

So, guessing that it may be caused by “unofficial software packages not provided by Ubuntu” I uninstalled/disabled the following:
BlueMarine, easyTAG, Firefox add-ons, flashplugin-nonfree, Flock, Gnomad, GQview, gstreamer plugins bad, ugly and ffmpeg, gxine, libdvdread3, LightZone, MPlayer, multiverse sources, NVidia restricted drivers, Picasa, pysdm, Skype, Sun Java, VLC
Still, every time I tried upgrading the same error popped up.

So, instead I did a fresh install of Ubuntu, which went well. I don’t find the partitioning part well done for someone who’d like to keep his existing Windows installation. I chose manual configuration, deleted the existing Ubuntu (7.10) partition, and chose to reformat it as ext3 as root partition… all the while not being sure whether I was doing the right thing…

To-do list

Now that I’ve upgraded to Ubuntu 7.04, here’s a note to myself of things I can think of now that I still need to do:

  • Keep windows in /boot/grub/menu.lst
  • Every time there is a kernel upgrade (or after upgrading to Feisty), the menu.lst file gets changed. That file lists what operating systems choices GRUB lists upon bootup. I dual-boot between Ubuntu and WinXP. After every upgrade, however, WinXP gets deleted from the list. I have learnt to backup the old menu.lst and restore the appropriate lines of code to it afterwards, but it is annoying. So I have to find out how to tell Ubuntu to keep that choice there when upgrading.

  • Does linux keep all the old kernels around? (i.e. there are more and more options in GRUB) Can I get rid of old ones and save disk space?
  • Wireless networking
  • Before the Feisty upgrade NetworkManager has given me all sorts of headaches when trying to connect to wireless networks. Need to investigate situation now and see what needs to be done…

  • Have DVD’s autorun in VLC player instead of gXine.
  • Move the home folde to a different partition… maybe
  • Get rid of the icons for my different partitions on the desktop
  • I can access them through the > Places menu. However, do show icons for inserted media such as CDs or USB sticks. Also, I want to make the “DellUtility” Partition, that presumably is factory installed from Dell, totally disappear from view.

  • Install beagle, tracker, … desktop search?
  • Experiment with desktop effects?

…I’m sure there will be more.

Upgraded to Feisty

I have just upgraded to Feisty Fawn (i.e. Ubuntu 7.04) and it all went so smoothly there is nothing to write home about. I’m almost disappointed 😉
I took an hour of letting the upgrade tool do its work.

The only small annoyance that I have noticed so far is that it changes menu.lst the way it always does when you do a kernel upgrade. It takes Windows off the list, which is quite annoying for a dual-booter like me. More in another post.

Editing /boot/grub/menu.lst to change the GRUB boot menu

UPDATE (April 2010): The information in this post is outdated! Most linux distributions, including Ubuntu, are moving to GRUB 2. Because the contents of this post is about the previous version of GRUB, it is fast becoming obsolete. More about GRUB 2 here:

I have an Ubuntu/WinXP dual-boot machine. The GRUB bootloader menu allows me to boot into several Ubuntu options or into WinXP. Unless I have to fix something (which I hope I won’t have to), I only ever choose the main Ubuntu option or WinXP. These options are, however, at either ends of the list. I’d prefer them to be next to each other for quick access.

Here’s a helpful reference. And here’s what I did:

The GRUB boot menu configuration is in the file

1. backup
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst-backup

2. edit
sudo gedit /boot/grub/menu.lst

3. Move the paragraph with the WinXP options up the list.

4. Change default to 1 (was 0)
default 1

5. comment out the lines about “Other operating systems

So now I have the following options when booting:

  • Microsoft Windows XP Professional
  • Ubuntu, kernel 2.6.17-10-generic
  • Ubuntu, kernel 2.6.17-10-generic (recovery mode)
  • Ubuntu, memtest86+

…and the second option is automatically selected and boots-up after 10 seconds if I don’t do anything.

Here is the contents of the resulting file (showing only the uncommented lines)

default 1

timeout 10

title Microsoft Windows XP Professional
root (hd0,1)
chainloader +1

title Ubuntu, kernel 2.6.17-10-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda5 ro quiet splash
initrd /boot/initrd.img-2.6.17-10-generic

title Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda5 ro single
initrd /boot/initrd.img-2.6.17-10-generic

title Ubuntu, memtest86+
root (hd0,4)
kernel /boot/memtest86+.bin

I should emphasize the importance of the first step, i.e. backing up the original file. I’d like to quote a comment on a relevant website here for future reference:

TuxGirl wrote: As a side note, I think it’s important to mention that, if you do manage to completely mess up your grub.conf [or] file to the point that your machine won’t boot, you can fix it by booting into a livecd (like the Ubuntu livecd or Knoppix or DSL or *something*), and then copying your backup grub.conf [or] over while in there. In fact, this method is great whenever you do something to your system that makes it temporarily unusable.

Bongo man conquered

That was simple enough…
> System > Administration > Login Window … > Accessibility …uncheck “Login screen ready”


(i.e. this is to stop ubuntu from playing those bongo drums when the login screen appears.)

Flash 9

Tried to install the flash plugin for firefox following the instructions in the ubuntu documentation. Installing it through Synaptic seemed to work fine, but running firefox afterwards made no diffrence. Flash seemed to be non-existant in firefox.

Instead, these instructions to install the latest flash 9 plugin for firefox worked just great!