Actions

Dev/Xfce

From Whonix

< Dev

desktop background files in the git repository:

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

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent.