4

I was initially on Unity desktop but I installed GNOME and I want to move the buttons to the right. I have tried commands like

gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'

but nothing happened actually. The result of ls /usr/bin/*session*

rxyz@rxyz:~$ ls /usr/bin/*session*
/usr/bin/dbus-run-session          /usr/bin/gnome-session-quit
/usr/bin/gnome-session             /usr/bin/session-installer
/usr/bin/gnome-session-classic     /usr/bin/session-migration  
/usr/bin/gnome-session-inhibit     /usr/bin/x-session-manager
/usr/bin/gnome-session-properties
2

To view the current position of the buttons, open Terminal and run

gsettings get org.gnome.desktop.wm.preferences button-layout

To change it to the left run

gsettings set org.gnome.desktop.wm.preferences button-layout close,minimize,maximize:

or to change it to the right run

gsettings set org.gnome.desktop.wm.preferences button-layout :minimize,maximize,close

The position of window buttons is determined by the position of the : mark. If it's at the beginning, the buttons will be at the right; if it's at the end, the buttons will be at the left.

Source

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.