Move Ubuntu window close/maximize/minimize buttons to the left or right side: quick one-liners.

For Gnome2 with the metacity window manager (eg Ubuntu versions prior to 11.10): Open a Terminal (Applications -> Accessories -> Terminal), or press Alt-F2 to bring up the Run Application dialog. To put window buttons on the left-hand side, OSX-style, on a single line type: gconftool-2 –set /apps/metacity/general/button_layout –type string close,maximize,minimize:menu For the right-hand side, […]

Zero hassle auto-updates for Ubuntu

I recently discovered that a feature that I’ve always wanted in Ubuntu (and Debian) already exists, and has actually been available in past releases for years. By tweaking the settings in /etc/apt/apt-conf.d/10periodic and¬†/etc/apt/apt.conf.d/50unattended-upgrades, you can enable periodic auto-updates¬†and auto-cleaning of downloaded package files. Essentially something equivalent to running sudo apt-get update; sudo apt-get -y –force-yes […]