Skip to content

Instantly share code, notes, and snippets.

@sirlancelot
Created October 4, 2010 05:02
Show Gist options
  • Save sirlancelot/609264 to your computer and use it in GitHub Desktop.
Save sirlancelot/609264 to your computer and use it in GitHub Desktop.
I got sick of having to go in and fix this every time I installed Ubuntu or changed the theme, so here's a one-liner to put the buttons back where they belong.
#!/bin/bash
##
# @see http://lifehacker.com/5500577/move-ubuntus-window-buttons-back-to-the-right
gconftool --type string --set /apps/metacity/general/button_layout ":minimize,maximize,close"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment