Adjust titlebar icons in GNOME using home manager?

I am hoping to enable maximize and minimize titlebar icons in GNOME and move them and the close button to the left of the titlebar by tweaking my home.nix file. I cannot find an option for this. I have looked for a dconf setting for it too and cannot find it.

What you could do is:

  1. Run dconf dump / > old-conf.txt
  2. Change the setting in gnome manually in the GUI
  3. Run dconf dump / > new-conf.txt
  4. Run diff old-conf.txt new-conf.txt

This should tell you which dconf settings you need to put in your configration.

2 Likes

Thank you for your suggestion. It is a good idea. I just found the option in dconf that I needed though. Namely, it was "/org/gnome/desktop/wm" and I needed to add:

"/org/gnome/desktop/wm/preferences" = {
   button-layout = "close,maximize,minimize:menu"
};

to my home.nix file to get the behaviour I wanted.

dconf watch / will show changes as you make them.

1 Like