Is there a way to the switch gnome-shell window buttons to the left? I've gotten so used to them being on the left that them being on the right has thrown me way off.
(gnome shell has them defaulted to the right corner)
The more simple way to do that is:
Navigate to apps → metacity → general, and double click on the entry:
For 11.04 and 11.10
Navigate to desktop → gnome → shell → windows, and double click on the entry:
For Ubuntu 12.04 and newer
You will need dconf-editor, which is part of the dconf-tools package. Install it first:
Alt+F2 → dconf-editor
Go to org → gnome → shell → overrides → button layout. Change it to
No need to restart the shell.
Note: This also changes the cancel button in the overlay mode.
For 13.10 and higher
As per a few users, it may require a shell restart. Thank you all for pointing that out.
If you're using Gnome Shell and you want the window buttons on the left, use this command:
Then restart the shell if needed: press Alt+F2, type r and press Enter.
While technically not gnome-shell, if you're using gnome-flashback or gnome-flashback-no-effects the key is located at:
Changing it to:
should give you what you want.
You can use the command:
to get this done quicker.
If you have installed Ubuntu Tweak, go to Window Manager and change the Place from left to right or vice versa. This will change all windows' Titlebar button layout, not only gnome shell.
Gnome version 3.10, Using 13.04 and 13.10
If you upgrade Gnome to 3.10 you may notice a change in window decorations.
In these apps the close button is integrated into the program window and does not use the normal window decorations.
As Web Upd8 states:
Some applications that have CSD may respect the environment variable
substuting "#" with 1 or 0 for on and off, and gedit with program of choice
However it seems with Nautilus in 3.10 the variable Does not work.
So what can you do?
Do what hrhnick said, except use this command instead:
Then hit Alt+F2 and type
and hit enter
The workspace window view of gnome shell uses the same button layout as the window manager (albeit only for the close button). (relevant code)
If you set your close window buttons to the left using gconf, the close button on the window preview in workspace view will also display on the left.
Using gconf-editor, change /desktop/gnome/shell/windows/button_layout to
This command should work:
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?