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)
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)
For Ubuntu 12.04 and newer
You will need dconf-editor, which is part of the dconf-tools package. Install it first:
dconf-tools
Start dconf-editor:
Alt+F2 → dconf-editor
Go to org → gnome → shell → overrides → button layout. Change it to
close,minimize,maximize:
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.
For 15.10 and higher
The schema is now
org.gnome.desktop.wm.preferences
as per this comment.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.
For 10.10
The more simple way to do that is: Alt+F2 →
gconf-editor
Navigate to apps → metacity → general, and double click on the entry:
button_layout
, then enterclose,minimize,maximize:
. You can also usespacer
at some point to add a space.For 11.04 and 11.10
Alt+F2 →
gconf-editor
Navigate to desktop → gnome → shell → windows, and double click on the entry:
button_layout
, then enterclose,minimize,maximize:
. You can also usespacer
at some point to add a space.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.
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.
Gnome version 3.10 is moving towards Client Side Decorations(CSD for short) in all of the Core apps.
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
GTK_CSD=0
(a variable used to "try out" CSD in eariler gnome versions with =1) for more information about Environment variables: https://help.ubuntu.com/community/EnvironmentVariables especially the section: Launching desktop application with an environment variable to experiment with programs adding something like this to a launcher: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.
Simply put:
So what can you do?
Replace Nautilus with Nemo. Form most cases Nemo looks and acts like Nautilus:
To Install:
sudo apt-get install nemo
In Ubuntu 18.04 and later there are multiple options:
You can now just install GNOME Tweak Tool (which is a helpful tool anyway) from the Software Center or by running in a terminal:
and in the menu Window Titlebars change Placement to Left.
Dconf-editor/tool change still works:
set to
close,minimize,maximize
.And the terminal option, too:
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
close,minimize,maximize:
and re-login to see the change.17.04 and 17.10 (Gnome 3.22)
The beginning is as in this answer: https://askubuntu.com/a/113995/286561
But the key is
/org/gnome/desktop/wm/preferences/button-layout
, the default is:appmenu:cloe
, I've changed it toclose,minimize,maximize:appmenu
. (appmenu
doesn't seem to have an effect.)I've you want to do it on the terminal you can do it as pointed out in this answer: https://askubuntu.com/a/377811/286561