Dev/Xfce
From Whonix
< Dev
desktop background files in the git repository:
- Kicksecure: https://github.com/Whonix/whonix-xfce-desktop-config/blob/master/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml [archive] (that package will be renamed at some point)
- Whonix-Workstation: https://github.com/Whonix/anon-ws-base-files/blob/master/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml.anondist [archive]
- Whonix-Gateway: https://github.com/Whonix/anon-gw-base-files/blob/master/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml.anondist [archive]
These files will be copied to user's home folder at first boot - and at first boot only. Because that is the only time when files are copied from /etc/skel/ to user home.
From:
etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
To:
/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
File in home folder will be modified by Xfce.
Any other updates to files in /etc/skel/ by package, developer or user will be disregarded by Xfce even after reboot. That is because Xfce uses the files in the home folder only which won't notice any change in /etc/skel/.
Additionally xfconfd seems to cache the current state of settings. Modifications to /home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
while Xfce is running are disregarded and might even be overwritten when xfconfd is shutdown. Xfce does not reload settings from the home folder once it is running but might overwrite manual changes.
Prerequisite knowledge: Files in /etc/skel
Therefore, testing modified files in /etc/skel is cumbersome. Instructions:
1. Update /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
sudoedit /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
2. Use a virtual console!
Not a virtual terminal emulator such as xfce4-terminal. A virtual console is required because the following command is ineffective is run from inside a running Xfce.
3. Have a look at desktop-background-skel-test
.
/usr/libexec/helper-scripts/desktop-background-skel-test
[archive]
4. Run desktop-background-skel-test
.
/usr/libexec/helper-scripts/desktop-background-skel-test