Categories
Blog

Running Chrome in Ubuntu

Getting Chrome running in Ubuntu is now pretty easy, simple add the following line to /etc/apt/sources.list:

deb http://dl.google.com/linux/deb/ stable main

Then you can install Chrome using the package manager and it will keep itself updated. Sadly the browser is quite alpha (no flash, random errors, no tabs saving on exit) but they update it every week and it runs insanely fast compared to firefox.

Categories
Blog

Making hibernate work after harddrive upgrade

I recently upgraded the harddrive in my trusty old IBM T60. I mirrored the hd using a little dd magic and everything worked fine, including the IBM rescue partition. The only thing that wasn’t working anymore was hibernation in Ubuntu. This was because it relied on wierd UUIDs instead of actual device names. Fixing it was pretty easy, once you know what the problem is. First step is to fix up /etc/fstab so that the swap partition has the right UUID. You can get the UUID of a device using something like:

sudo vol_id -u /dev/sda4

Next step is to fix up the location of the resume partition. Open /etc/initramfs-tools/conf.d/resume and change the UUID to the same as you just put into fstab. Then run:

sudo update-initramfs -u

And you should be running again 🙂

Categories
On the web

Random Ubuntu notes

There’s an annoying problem in Ubuntu 9.04 that if you have set your machine to automatically login, but have a password on gnome keyring manager, then it will prompt you for the password before wireless is enabled. There is a bug about it here on launchpad. And as usual the Ubuntu guys doesn’t seem to want to take responsibility for the software they are providing. Reminds me of this thrashing bug reported over 3 years ago and it’s still open. It’s actiually the first result on google (out of 544.000) if you search for thrashing hell 🙂

Another thing I noticed was that I was looking through the system messages and found the following wierd message.

Jul 17 16:46:35 arj-laptop pulseaudio[3290]: main.c: Called SUID root and real-time and/or high-priority scheduling was requested in the configuration. However, we lack the necessary privileges:

Jul 17 16:46:35 arj-laptop pulseaudio[3290]: main.c: We are not in group ‘pulse-rt’, PolicyKit refuse to grant us the requested privileges and we have no increase RLIMIT_NICE/RLIMIT_RTPRIO resource limits.

Jul 17 16:46:35 arj-laptop pulseaudio[3290]: main.c: For enabling real-time/high-priority scheduling please acquire the appropriate PolicyKit privileges, or become a member of ‘pulse-rt’, or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.

Which was easy enough for me to fix (sudo addgroup arj pulse-rt), though it still would have been nice if this was done properly. This might help some people who has been getting skipping music.