thefekete.net

$> :(){ :|:& };:

Ubuntu 10.04 (Lucid Lynx) Setup

To fix the stupid window controls and get the text-mode location bar in nautilus:

#!/bin/sh
gconftool-2 --type string --set \
/apps/metacity/general/button_layout ":minimize,maximize,close" &&
gconftool-2 --type=Boolean --set \
/apps/nautilus/preferences/always_use_location_entry true

Note that I removed the ‘menu’ from the window controls. If you want it bone stock, use "menu:minimize,maximize,close" instead.

Aptitude key error fix for VirtualBox

Fix found at the Ubuntu Forums:

#!/bin/bash

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-get clean
sudo cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update