Tuesday, September 28, 2010

Don't forget to update Grub on new kernel updates

Today there was a new kernel update - to version 2.6.32-25. I ran the update manager and the updates installed fine, and let it reboot. Upon restarting, I went to a terminal and checked what kernel was running: the previous one still. For some reason, after performing a kernel update, my system does not update the Grub menu to load the new version. Whether this is by design or it's just a quirk of my installation, I don't know. But let this just be a heads-up for other users. The security fixes in the new kernel won't be of any use if you are still running the old one!

Fortunately, it is easily fixed by entering "sudo update-grub" at a command prompt. It will look through your system and add the new kernel to the startup menu. After a while, when the new kernel appears to be working OK, you can uninstall the previous version to save some space.

Monday, September 27, 2010

Fix for Gnome Window List not updating

Over the last couple of months, I had been running the bottom Gnome taskbar panel with the "Expand" option not enabled. This meant that when no windows were open, the taskbar reduced in size, centred along bottom edge of the screen. As more programs are opened, it would expand to fit, eventually stretching across the screen. I did this to give a little more screen real estate to the Conky system monitor display down the right hand edge of the screen.

I ran it like that for a while, but started noticing the window list was acting a bit strangely. When I switched tabs in a web browser, the window title down at the bottom of the screen would not update: it was stuck on a previous page. At first I thought it was a Google Chrome issue, but the same thing happened in Firefox. I started working things out - it would update if I opened or closed another program. The extra window title being added to or removed from the taskbar would update all the others as it expanded or shrank. But this was a workaround - something was wrong.

With the new release of Ubuntu mere weeks away now, I didn't look too hard into fixes. Hopefully the new version would rectify it. Today, though, a thought just struck me - what if I turned on the "Expand" option again? I did it, and it all seems to be working fine. I can switch from tab to tab in the web browsers and the window list updates instantly.

So really, it isn't a fix, more a bug in Gnome's window list application. If you haven't purposely gone into the options to disable expand, you won't be affected - it's enabled by default in Ubuntu. Hopefully it will save some head scratching in the future.

Now my only ongoing Ubuntu issue is the occasional hang at boot or shutdown, on the Ubuntu splash screen. Still no fix for that that I have found, but I'll let you all know if I find something.