You are not logged in.
I would like to change the xfwm4 theme by directly edit the "$HOME/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml" file by editing the line:
<property name="theme" type="string" value="Default"/>
to the one containing the name of my theme:
<property name="theme" type="string" value="Everblush-xfwm"/>
The problem is that, when I do this change, nothing happens (even if I reboot), and the Window Manager settings remains on Default instead to change to my theme:
What I note is: if I change the theme directly on Window Manager settings, the change will be reflected on the "xfwm4.xml" file. Why cannot it work on the contrary? Or better: why changes are not reflected on Window Manager settings when I edit directly that file? Is there a further different file to edit?
Last edited by N00body (2023-10-16 22:23:15)
Offline
Don't edit that file directly - it is managed by xfconf. xfconfd keeps these settings in memory and writes them out regularly or on exit.
Instead, run:
xfconf-query -c xfwm4 -p /general/theme -s THEMENAME
...where THEMENAME is the name of the theme you want to use. xfconf will then tell xfwm4 to change the theme and write this to the xml file.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
I know I can use `xconf-query` command, but there is not a way to act directly on files?
Offline
I know I can use `xconf-query` command, but there is not a way to act directly on files?
Not really, xfconf will write its memory to those files when it quits (or on regular intervals). If you do decide to directly edit those files, you need to make sure that xfconfd isn't running.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Ok. Thank you for the explanation.
Offline
[ Generated in 0.011 seconds, 8 queries executed - Memory usage: 533.82 KiB (Peak: 534.66 KiB) ]