Ubuntu: Changing the default java binary

Since upgrading to Karmic I've had a weird issue with Charles Proxy in that the windows for settings like rewrites seemed to get completely screwed up making it very difficult to see the boxes for entering information. Here's a screenshot of what it looks like broken. Karl von Randow the…

Ubuntu: Lock Screen and Pause Spotify

When I used a mac I had a shonky little applescript to pause iTunes when I locked the screen. These days I mostly listen to Spotify (running under wine) on Ubuntu which of course doesn't have applescript. What I wanted was a similar script so I can hit a keystroke…

Ubuntu: Turn off changing workspace with mouse wheel

I found the changing with the workspace with the mouse wheel really annoying. To disable it go to System → Preferences → CompizConfig (available if the compizconfig-settings-manager package is installed) and uncheck "Viewport Switcher" which is under the "Desktop" heading.…

From OSX to Ubuntu

I've recently switched to using Ubuntu full-time as my primary operating system having previously used Macs for the last 4+ years. Moving over to ubuntu has been easy enough, I bought a lenovo R61 which has extremely good compatibility with Ubuntu out of the box. I've had very few issues…

Ubuntu: change editor globally

I found the update-alternatives on my travels and very handy it is too especially when on a bytemark box by default the editor is set to "joe". From the man page: update-alternatives creates, removes, maintains and displays information about the symbolic links comprising the Debian alternatives system. It…

Ubuntu: BUG: soft lockup - CPU#0 stuck for 11s!

So this post falls neatly under the "watching paint dry" category, so if you're susceptible to rage induced by reading terminally dull posts avert your eyes now. I've been having some interesting issues with VMs running on VMware server of late. Basically the problem involved kernel panics and…