You are not logged in.

#1 2022-09-18 15:07:44

Siegward
Member
Registered: 2022-08-30
Posts: 1

Lxappearnace, gtk-2.0 and XDG base directories

So while cleaning up my home directory with the help of XDG base directories on stumbled onto a problem concerning moving the file .gtkrc-2.0 in combination with lxappearance. It seems to me that before lxappearanc e would work just fine but I could be wrong.
The based on the XDG base directory arch wiki page you can move .gtkrc-2.0 to ~/.config/gtk-2.0/gtkrc/ . So I did and in .bashrc exported GTK2_RC_FILES to "$HOME/.config/gtk-2.0/gtkrc/". However, when I started lxapperance it would go into a default theme but I fixed it by changing the export to "$HOME/.config/gtk-2.0/gtkrc/.gtkrc-2.0.
Now lxappearance would start with the theme specified in .gtkrc-2.0, changing the theme and saving would change it on the system but .gtkrc-2.0 would not change, and thereby I would lose setting in lxappearance while the settings remained applied to the system.

So my question is: Is it intended that lxappearance does not save the setting on the software? Since the systems theme is not affected by .gtkrc-2.0 where are the themes saved?

btw I have removed .gtkrc-2.0 and .gtktemp from my home directory. I'm also not sure if using XDG base directories by exporting variables in .bashrc so feel free to correct me.

Offline

Board footer

Powered by FluxBB