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