Skip to content

Instantly share code, notes, and snippets.

@dburger
Created November 28, 2010 20:16
Show Gist options
  • Save dburger/719268 to your computer and use it in GitHub Desktop.
Save dburger/719268 to your computer and use it in GitHub Desktop.
# put the window controls where they are supposed to be
gconftool -s /apps/metacity/general/button_layout -t string "menu:minimize,maximize,close"
# get emacs keybindings
gconftool -s /desktop/gnome/interface/gtk_key_theme -t string Emacs
# don't let menus intercept keystrokes, emacs style keystrokes, in gnome-terminal
gconftool -s /apps/gnome-terminal/global/use_mnemonics -t bool false
# turn off sounds for events
gconftool -s /desktop/gnome/sound/event_sounds -t bool false
# standard desktop background
gconftool -s /desktop/gnome/background/picture_filename -t string "/usr/share/backgrounds/BusquedaNocturna.jpg"
# 9 workspaces
gconftool -s /apps/metacity/general/num_workspaces -t int 9
# super key plus number jumps to workspace
for i in {1..9}; do
gconftool -s "/apps/metacity/global_keybindings/switch_to_workspace_${i}" -t string "<Mod4>${i}"
done
# super key plus m toggles maximized state, note you may have to disable compiz from intercepting
# this with the "Negative" plugin. install compizconfig-settings-manager and disable "Negative"
gconftool -s /apps/metacity/window_keybindings/toggle_maximized -t string "<Mod4>m"
# switch to the workspace to the left or right of the current workspace
gconftool -s /apps/metacity/global_keybindings/switch_to_workspace_left -t string "<Mod4>Left"
gconftool -s /apps/metacity/global_keybindings/switch_to_workspace_right -t string "<Mod4>Right"
# run a terminal
gconftool -s /apps/metacity/global_keybindings/run_command_terminal -t string "<Mod4>Return"
# large hands and tap to click on the touchpad don't mix
gconftool -s /desktop/gnome/peripherals/touchpad/tap_to_click -t bool false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment