5

For some reason my windows border buttons will not move to the left when I tell it to with the Gnome Tweaks app. Well actually it does do it partly, the effect changes with some apps such as Firefox, Gimp, Inkscape, etc but not with the Gnome apps or Nautilus. It was working before. Does anyone have any recommendations on how to fix this?

Screenshot 1

1 Answers1

4

I found the solution in this Ask Ubuntu answer:

For me, changing the setting with gnome-tweaks correctly changed gsettings get org.gnome.desktop.wm.preferences button-layout but nautilus and other gnome apps weren't affected.

I then did

gsettings get org.gnome.settings-daemon.plugins.xsettings overrides

(gotten from that other question / answer) and sure enough it showed

('Gtk/ShellShowsAppMenu': <0>, 'Gtk/DecorationLayout': <'menu:minimize,maximize,close'>}

I then changed it to:

gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/ShellShowsAppMenu': <0>, 'Gtk/DecorationLayout': <'close,minimize,maximize,menu:'>}"

and now it works as I want it to.

Zanna
  • 70,465
defuzed
  • 141
  • 1
    When you install Budgie it breaks the setting for Tweaks as well. – igorgue Jul 30 '20 at 19:24
  • 2
    Thanks a lot for this answer. I had installed the Budgie desktop just to try it out, but it broke my button customisation. This setting restored the previous button configuration. – Puspam Jan 14 '21 at 14:32
  • 1
    After uninstalling Budgie and using "Tweaks" to move the buttons back to the right side, I wondered why certain applications (e.g. Firefox) still had the buttons on the left side. Reversing the command used here had the desired effect and moved the buttons back to the right side. – PeterByte Jul 14 '23 at 15:44