Friday, April 27, 2012

gconf-editor

gconf-editor provides you a little geeky way to tweak Ubuntu configurations. It reads the XML configurations in directory ~/.gconf and /usr/share/gconf, and presents these configurations in a human-readable way. But if you think gconf-editor is not geeky enough, you can always directly modify the files in those directories.

Have fun.

Disable Sticky Edges

Ubuntu 12.04 makes the mouse movement sticky on the edges of a screen. For those of you who are not yet used to it (especially if you are using dual monitors), turn it off in "Display" preference.

Hack Unity Launcher


  1. Open up dconf-editor (You may want to use apt-get to install it if not found)
  2. Go to desktop => unity => launcher
  3. The "favorites" key contains a list of applications shown in the launcher initially
  4. If you wonder where are these "xxx.desktop" files, go to /usr/share/applications


Enable Adwaita Theme in Ubuntu 12.04

  1. Install gnome-tweak-tool: sudo apt-get install gnome-tweak-tool
  2. Go to Appearance settings and choose Adwaita

Friday, December 2, 2011

How to Set Ubuntu Terminal Default Size

Open gconf-editor

Go to desktop => gnome => terminal

Set "exec" to "gnome-terminal --geometry ??x??", where ??x?? is the default size you want.

Update: In Ubuntu 12.04, you can set gnome-terminal's default size in "profile preference => general" without hacking gconf-editor.

Wednesday, August 31, 2011

Fixing the Tab-Complete Issue in Ubuntu 11.04

Simply reinstall package bash-completion

sudo apt-get purge bash-completion
sudo mv /etc/bash_completion.d /etc/bash_completion.d.bak
sudo apt-get install bash-completion