How to move window buttons to right in Ubuntu 16.04 [duplicate]
I've installed Ubuntu 16.04 on my laptop and I'm using gnome-shell 3.18.4. When I'm trying to move the window buttons to the right by using dconf-edit How to switch window controls to the left (Gnome Shell)? I'm unable to move the window buttons to the right.
What can I do to move the buttons to the right?
Solution 1:
If I understand you correctly and you are on (Vanilla) Ubuntu 16.04 with GNOME Shell installed (version 3.18.4) the following command should move the buttons to the right:
gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'
To set them back, the command is:
gsettings set org.gnome.desktop.wm.preferences button-layout 'close,maximize,minimize:'
Solution 2:
At the moment there is not much that can be done to shift the window buttons to the right in a standard installation of Ubuntu Xenial Xerus. Since Trusty Tahr the handling of window decorations is no longer accessible from org.gnome.desktop.wm.preferences
and is now handled by Unity itself. Alterations with tools such as the Tweak Tool or Dconf Editor in this area are no longer respected and will exasperatingly and silently be ignored.
So until someone can produce a suitable patch for the Unity source code, and I would personally welcome such a patch, we are stuck with buttons to the left.
References:
- Launchpad: Can no longer move windows controls to the right (16.04) - gsettings has no effect now
- Launchpad: Window Controls not functioning.
Solution 3:
Hmmm... Interesting. I was thinking... I'm on 16.04. I'm also on gnome-shell
3.18. But my window buttons are on the right.
Lightbulb, when reading the comments: Oh, I'm on Ubuntu GNOME, rather than Ubuntu vanilla.
If you wanted to use Ubuntu as distro and Gnome Shell as the DE (as I also prefer), you'll have a better Gnome experience by installing the Ubuntu GNOME flavor instead. So why not give it a try? The base distribution will just be the same anyways.