Posts Tagged ‘ubuntu’

Safely recover from a freeze in Ubuntu

Tuesday, July 26th, 2011

If you ever encounter a system lockup in Ubuntu here’s a little trick you can use to safely restart your computer.

Hold down the Alt and PrtScn/SysRq keys at the same time and, keeping them held down, enter the following sequence of keys: R, E, I, S, U, B. Hold each key down for a second or so and don’t rush.

What it does is it allow Linux to take control of your system, requests politely that all processes close, forces all processes to close, flushes data to disk, unmounts your filesystems and reboots.

Here’s a couple of mnemonics: ”Raising Elephants ISUtterly Boring” or “Reboot Even ISystem Utterly Broken”.

It’s extremely rare that this is necessary due to Linux’s stability but I’ve found I’ve needed this a couple of times recently (I suspect Google Chrome is the culprit) so I’m posting this here for easy future reference from my phone.

Change default Google localisation in Firefox in Ubuntu

Wednesday, May 4th, 2011

Be default in Firefox on Linux, when you use the Google search up in the address bar it defaults to a search of google.com instead of my preferred google.co.nz. If you want to change this, go look in /usr/lib/firefox[--version--]/searchplugins/google.xml and swap out the .com for .co.nz (or whatever localised Google site you prefer).

Preload to make Linux faster

Wednesday, February 27th, 2008

If you’re running Linux you’ll be aware that it’s crazyfast™ already. Want even more speed? Get Preload. If you’re running Ubuntu you can get it by opening your console and typing sudo apt-get install preload.