XFCE sets wallpapers to gc'd store paths.

  • Open
  • quality assurance status badge
Details
2 participants
  • Brendan Tildesley
  • Maxime Devos
Owner
unassigned
Submitted by
Brendan Tildesley
Severity
normal
B
B
Brendan Tildesley wrote on 7 Feb 2022 10:49
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
1313501253.5005.1644227345774@office.mailbox.org
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.

/home/b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
22: <property name="last-image" type="string" value="/gnu/store/fmds2rcqqxmiq1ipk6wqbf8x68ks93pp-xfdesktop-4.16.0/share/backgrounds/xfce/xfce-verticals.png"/>
27: <property name="last-image" type="string" value="/gnu/store/sc0lz41k6l41yyyrgh8k3x9cyvxwn418-xfdesktop-4.16.0/share/backgrounds/xfce/xfce-verticals.png"/>
32: <property name="last-image" type="string" value="/gnu/store/gym3674d636cxlk1jxgwqn3qv55hm99d-xfdesktop-4.16.0/share/backgrounds/xfce/xfce-verticals.png"/>
37: <property name="last-image" type="string" value="/gnu/store/gym3674d636cxlk1jxgwqn3qv55hm99d-xfdesktop-4.16.0/share/backgrounds/xfce/xfce-verticals.png"/>
60: <property name="last-image" type="string" value="/gnu/store/fmds2rcqqxmiq1ipk6wqbf8x68ks93pp-xfdesktop-4.16.0/share/backgrounds/xfce/xfce-verticals.png"/>
65: <property name="last-image" type="string" value="/gnu/store/sc0lz41k6l41yyyrgh8k3x9cyvxwn418-xfdesktop-4.16.0/share/backgrounds/xfce/xfce-verticals.png"/>
70: <property name="last-image" type="string" value="/gnu/store/gym3674d636cxlk1jxgwqn3qv55hm99d-xfdesktop-4.16.0/share/backgrounds/xfce/xfce-verticals.png"/>
75: <property name="last-image" type="string" value="/gnu/store/gym3674d636cxlk1jxgwqn3qv55hm99d-xfdesktop-4.16.0/share/backgrounds/xfce/xfce-verticals.png"/>
80: <property name="last-image" type="string" value="/gnu/store/l8psafxs8fhniyi0y6qycjv25bxm7pq6-xfdesktop-4.16.0/share/backgrounds/xfce/xfce-verticals.png"/>
M
M
Maxime Devos wrote on 7 Feb 2022 12:48
1b567d532cfe61343178290658e19a45bffb3cdc.camel@telenet.be
Brendan Tildesley schreef op ma 07-02-2022 om 10:49 [+0100]:
Toggle quote (2 lines)
> 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.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYgEHIhccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7ijHAP9utz6Yyi3wKX8YajsORHoI9AnY
tJ2p06E7qEU4nxHpnwD9EUvp2IVVH2XI2c6LGUjWlb9Xms/dQTeJlkIDngT3/wo=
=xF+M
-----END PGP SIGNATURE-----


?