Subject: Re: bug#53842: XFCE sets wallpapers to gc'd store paths.

From: Maxime Devos <[email-masked]>
Date: Mon, 07 Feb 2022 12:48:50 +0100

Brendan Tildesley schreef op ma 07-02-2022 om 10:49 [+0100]:
> Backgrounds in XFCE get set to their store path that over time get gc'd killing the background. Perhaps somehow making them point to /run/current-system/profile/share/backgrounds/xfce somehow would be better.

That assumes XFCE is in the system profile,
which is not necessarily the case when XFCE and X are started manually
with startx or xinit.

Instead, what do you think of introducing a $BACKGROUNDS_PATH
search path, teaching XFCE to look there, and adjusting XFCE
to serialize things a little differently, e.g. like

<property name="last-image" type="string"
value="$BACKGROUNDS_PATH/xfce/xfce-verticals.png">

?

Other desktop environments might be affected as well.

Greetings,
Maxime.