store references in ~/.config/xfce4

  • Done
  • quality assurance status badge
Details
3 participants
  • Efraim Flashner
  • Thomas Danckaert
  • zimoun
Owner
unassigned
Submitted by
Thomas Danckaert
Severity
normal
T
T
Thomas Danckaert wrote on 9 Feb 2017 11:25
(address . bug-guix@gnu.org)
4a7c81f84a64a2a110bffa80dde17d17@thomasdanckaert.be
Hi,

when setting up a xfce4 desktop, the ${HOME}/.config/xfce4 directory
contains direct references to the store, which can later be garbage
collected:

~$ grep -r "/gnu/store" .config
.config/xfce4/panel/launcher-9/14865882321.desktop:Exec=/gnu/store/84x54ph8x8z2m77sln39nh5dkkjmj64g-exo-0.10.3/bin/exo-open
--launch TerminalEmulator
.config/xfce4/panel/launcher-11/14865882323.desktop:Exec=/gnu/store/84x54ph8x8z2m77sln39nh5dkkjmj64g-exo-0.10.3/bin/exo-open
--launch WebBrowser %u
.config/xfce4/panel/launcher-10/14865882322.desktop:Exec=/gnu/store/84x54ph8x8z2m77sln39nh5dkkjmj64g-exo-0.10.3/bin/exo-open
--launch FileManager %u
.config/xfce4/panel/launcher-12/14865882324.desktop:Exec=/gnu/store/0cgfqzxsx0mimkwqmdn9z52zk0c387kw-xfce4-appfinder-4.12.0/bin/xfce4-appfinder
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml:
<property name="last-image" type="string"
value="/gnu/store/f7gfrrbwcl2xvdqmg35fnb78bkp8gjhh-xfdesktop-4.12.0/share/backgrounds/xfce/xfce-teal.jpg"/>
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml:
<property name="last-image" type="string"
value="/gnu/store/f7gfrrbwcl2xvdqmg35fnb78bkp8gjhh-xfdesktop-4.12.0/share/backgrounds/xfce/xfce-teal.jpg"/>
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml:
<property name="last-image" type="string"
value="/gnu/store/f7gfrrbwcl2xvdqmg35fnb78bkp8gjhh-xfdesktop-4.12.0/share/backgrounds/xfce/xfce-teal.jpg"/>
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml:
<property name="last-image" type="string"
value="/gnu/store/f7gfrrbwcl2xvdqmg35fnb78bkp8gjhh-xfdesktop-4.12.0/share/backgrounds/xfce/xfce-teal.jpg"/>
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml:
<property name="last-image" type="string"
value="/gnu/store/f7gfrrbwcl2xvdqmg35fnb78bkp8gjhh-xfdesktop-4.12.0/share/backgrounds/xfce/xfce-teal.jpg"/>
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml:
<property name="last-image" type="string"
value="/gnu/store/f7gfrrbwcl2xvdqmg35fnb78bkp8gjhh-xfdesktop-4.12.0/share/backgrounds/xfce/xfce-teal.jpg"/>
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml:
<property name="last-image" type="string"
value="/gnu/store/f7gfrrbwcl2xvdqmg35fnb78bkp8gjhh-xfdesktop-4.12.0/share/backgrounds/xfce/xfce-teal.jpg"/>
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml:
<property name="last-image" type="string"
value="/gnu/store/f7gfrrbwcl2xvdqmg35fnb78bkp8gjhh-xfdesktop-4.12.0/share/backgrounds/xfce/xfce-teal.jpg"/>

I think the launcher items can be replaced by the just the executables,
without a path. The desktop images can probably be replaced by
/run/current-system/profile/share/backgrounds/xfce/...?

Thomas
Z
Z
zimoun wrote on 3 May 2020 18:32
Bug#25667 Status? store refs in ~/.config/xfce4
CAJ3okZ3V55UqtPTCQj-rOzUyuU48W6WpNnniAW0F=AsNZ3Z7=A@mail.gmail.com
Dear Thomas,

What is the status of this bug [1]? Because Xfce4 has been updated
since more than 3 years.

Any progress?
If it is solved and/or not an issue for you anymore, then does it make
sense to close it?


Best regards,
simon

E
E
Efraim Flashner wrote on 4 May 2020 11:16
Re: bug#25667: Status? store refs in ~/.config/xfce4
(name . zimoun)(address . zimon.toutoune@gmail.com)
20200504091615.GC1920@E5400
On Sun, May 03, 2020 at 06:32:47PM +0200, zimoun wrote:
Toggle quote (15 lines)
> Dear Thomas,
>
> What is the status of this bug [1]? Because Xfce4 has been updated
> since more than 3 years.
>
> Any progress?
> If it is solved and/or not an issue for you anymore, then does it make
> sense to close it?
>
>
> Best regards,
> simon
>
> [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25667

My kids use XFCE and it looks like it's still there
kids@E2140 ~$ grep gnu\/store .config/xfce4/ -R
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml: <property name="last-image" type="string" value="/gnu/store/nnvq0yrc0qr9rmzsd0wxl9y5q5a3f4rx-xfdesktop-4.12.0/share/backgrounds/xfce/xfce-teal.jpg"/>
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml: <property name="last-image" type="string" value="/gnu/store/nnvq0yrc0qr9rmzsd0wxl9y5q5a3f4rx-xfdesktop-4.12.0/share/backgrounds/xfce/xfce-teal.jpg"/>
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml: <property name="last-image" type="string" value="/gnu/store/nnvq0yrc0qr9rmzsd0wxl9y5q5a3f4rx-xfdesktop-4.12.0/share/backgrounds/xfce/xfce-teal.jpg"/>
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml: <property name="last-image" type="string" value="/gnu/store/nnvq0yrc0qr9rmzsd0wxl9y5q5a3f4rx-xfdesktop-4.12.0/share/backgrounds/xfce/xfce-teal.jpg"/>
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml: <property name="last-image" type="string" value="/gnu/store/gqqd580y4g5586vaa17xwnn5jp9vzn5d-xfdesktop-4.14.1/share/backgrounds/xfce/xfce-stripes.png"/>
.config/xfce4/panel/launcher-9/15095463181.desktop:Exec=/gnu/store/v9qj9hxm7jj296xq3j6jkaf5z9p8m7j5-icecat-52.3.0-gnu1/bin/icecat -new-window
.config/xfce4/panel/launcher-9/15095463181.desktop:Exec=/gnu/store/v9qj9hxm7jj296xq3j6jkaf5z9p8m7j5-icecat-52.3.0-gnu1/bin/icecat -private-window
.config/xfce4/panel/launcher-11/15197161411.desktop:Exec=/gnu/store/zj34shyvw1sx1vlh1z0f9way7qq6b2kp-kodi-18.0_alpha-8.ec16dbc/bin/kodi -fs
.config/xfce4/panel/launcher-11/15197161411.desktop:Exec=/gnu/store/zj34shyvw1sx1vlh1z0f9way7qq6b2kp-kodi-18.0_alpha-8.ec16dbc/bin/kodi --standalone

I fixed the desktop files manually, but I'm not sure about the
backgrounds.

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl6v3VsACgkQQarn3Mo9
g1H6wQ//WSKRd8uSl4t8HNmrs2kKKNB0PsF7UCbPmq9QFn8F1pg0eP9kt/0wIMaI
rMgob/44Hdsy03qigmuc4X4H+66/iazXiKSGOmxgG1qc/8F2Fa32fdFxIwIw3MzH
3bDt47dG4y/+vmf3yPfpXSNH/YNhGdVnEjoErRXXCASkyDFrFNqpMhK8qIYO0BLV
AonR7IazA1GWmhdCJSlVgS6FUHZD6Z2EwU4UUkwDuf16qNEirVDN1nPbx6EfikZx
6QvHMmzZSs0PPk0mR4l1gbZtE5ow/4wPohJ0zkfzBbA7cDOgHhtsQ79SWbuEf9lF
fOqs4+wctRVt9DHXCO+8GwiVEApdo8p2WY+jOVdeUd7At1crvjtaC2Bsri1DZ7ex
ThkgUdHugCZ786nLmg6qp7YWTksHwTAElXOUb4YMsGgm+nVuMYyovs7bxEBxNND9
jiR7oux/qmGZjC1ZAryPyGjSi3NeDZuNSpG5zIIvOh1Mi1U4R6VK2JaSmBebJGso
/AnAvnBCvS9hSkwjeSNgZXBXP1co/vCcLhaajPC4318RL8P6u+uZeHUMRvlgyvZm
vfo3Os7XM8bYnPjBBfrCJ5maTYfSIIf8LfUnD4rUCFH+bSfOTsdS6paUEvo2rYpk
t/RzPafouinFQwEyrmVuK6iyLESGnCRmL+hqDB4IyBwHgY4fGFs=
=JA6y
-----END PGP SIGNATURE-----


T
T
Thomas Danckaert wrote on 4 May 2020 22:30
(name . Efraim Flashner)(address . efraim@flashner.co.il)
f2e3048474737f3b3a5d9063fbc37a27@thomasdanckaert.be
I switched to gnome shortly after that, but I see Efraim has already
answered and the issue is still there.

cheers,

Thomas
E
E
Efraim Flashner wrote on 5 May 2020 08:10
(name . Thomas Danckaert)(address . post@thomasdanckaert.be)
20200505061006.GI1920@E5400
On Mon, May 04, 2020 at 10:30:11PM +0200, Thomas Danckaert wrote:
Toggle quote (3 lines)
> I switched to gnome shortly after that, but I see Efraim has already
> answered and the issue is still there.

Looking at the list again, I think what happened was special care needs
to be taken adding programs to the quick launch bar at the bottom of the
screen. As for the background images, I'm guessing that each time xfce
launches, if the references to the previous images are gone then it adds
a new one. If that's the case then the background images are fixing
themselves and the shortcuts face the same 'buyer beware' as any other
shortcut created.

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl6xAzsACgkQQarn3Mo9
g1EG7A//eRbB57qx5TSesU5mez/Ba7VUoWarLY/pKog0lRfqzBR5HqgDIRDWfGhn
tPFOYjrnt7qxxQZOwspxold35pScHfzi7VxfxIXjuCb54Cl1LcLeFwYFRRhD0UfN
Dxga84Hlgnt8PHrCCmoWPO42XJfW2gnl437sN0jJa9WCzVBBe34auQQNa7MuZLCd
087m6mdIunRYXbGkaW4wAoEVoqyiroAPEYNDBe89JwkX2YXwlCVEhvb1QUcyeT5J
j3ul4xFBKhHhsFyOrE6RSnqLorC5/2OMoY3R4I8Jz+7jWChc6HrHJEj2a7NJxjF/
QrS4hLs6hCimyJdtyYXNScUzkfVgAFlh/IHqiBFrrfZeRQ8IqEjJTCFvZWZJHBMA
iTfmkLkaLwJ1npqQelcMKHZhBbsP3COWvF/BzfxBFkZQExyW25ngBI3SGdUOVH/h
fl8vrKI0PsYMbBqwSSoj+eC/qki8SUeDvXhABZJaDNcNsNl6CDPn4xoQlMSSVevu
hLhuthw6R06qB0W689GeM0/jP/G5fMj7Pc/bzwlH35RbnwHYY+wmfRycHC+hGnRo
uLOUw7NKzc25Si6pXL8Dp1btoWryx4ctvXh5VRfVqO84NC9R99AAbLqaXHB743Eb
2wD1+AtFRbqcc6iQkmXrAqPtC0IMN/b4LJgRmBPoSzJxNa7xUFE=
=NvjM
-----END PGP SIGNATURE-----


Z
Z
zimoun wrote on 14 Sep 2021 13:37
(name . Efraim Flashner)(address . efraim@flashner.co.il)
86tuintml5.fsf@gmail.com
Hi Efraim,

On Tue, 05 May 2020 at 09:10, Efraim Flashner <efraim@flashner.co.il> wrote:
Toggle quote (12 lines)
> On Mon, May 04, 2020 at 10:30:11PM +0200, Thomas Danckaert wrote:
>> I switched to gnome shortly after that, but I see Efraim has already
>> answered and the issue is still there.
>
> Looking at the list again, I think what happened was special care needs
> to be taken adding programs to the quick launch bar at the bottom of the
> screen. As for the background images, I'm guessing that each time xfce
> launches, if the references to the previous images are gone then it adds
> a new one. If that's the case then the background images are fixing
> themselves and the shortcuts face the same 'buyer beware' as any other
> shortcut created.

Thanks for the explanations. I miss what is the next action to fix the
issue. What could it be done?

Cheers,
simon
E
E
Efraim Flashner wrote on 14 Sep 2021 16:24
(name . zimoun)(address . zimon.toutoune@gmail.com)
AB9FD233-F019-4F6D-9B8B-58A215498CEC@flashner.co.il
On September 14, 2021 11:37:10 AM UTC, zimoun <zimon.toutoune@gmail.com> wrote:
Toggle quote (21 lines)
>Hi Efraim,
>
>On Tue, 05 May 2020 at 09:10, Efraim Flashner <efraim@flashner.co.il> wrote:
>> On Mon, May 04, 2020 at 10:30:11PM +0200, Thomas Danckaert wrote:
>>> I switched to gnome shortly after that, but I see Efraim has already
>>> answered and the issue is still there.
>>
>> Looking at the list again, I think what happened was special care needs
>> to be taken adding programs to the quick launch bar at the bottom of the
>> screen. As for the background images, I'm guessing that each time xfce
>> launches, if the references to the previous images are gone then it adds
>> a new one. If that's the case then the background images are fixing
>> themselves and the shortcuts face the same 'buyer beware' as any other
>> shortcut created.
>
>Thanks for the explanations. I miss what is the next action to fix the
>issue. What could it be done?
>
>Cheers,
>simon

I forgot all about this issue. Given that I haven't really seen it pop up on IRC I think I'd close it as "won't fix". I can't see good things coming from reaching into people's home directories. Maybe if there's some default applications those could be patched in the xfce package to make sure it doesn't bite those who don't have that folder yet.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Z
Z
zimoun wrote on 14 Sep 2021 14:32
control message for bug #25667
(address . control@debbugs.gnu.org)
86ee9rtk1r.fsf@gmail.com
tags 25667 + moreinfo
quit
Z
Z
zimoun wrote on 26 Nov 2021 02:09
Re: bug#25667: Status? store refs in ~/.config/xfce4
(name . Efraim Flashner)(address . efraim@flashner.co.il)
86ilwfsox2.fsf@gmail.com
Hi,

On Tue, 14 Sep 2021 at 14:24, Efraim Flashner <efraim@flashner.co.il> wrote:

Toggle quote (6 lines)
> I forgot all about this issue. Given that I haven't really seen it pop up on
> IRC I think I'd close it as "won't fix". I can't see good things coming from
> reaching into people's home directories. Maybe if there's some default
> applications those could be patched in the xfce package to make sure it
> doesn't bite those who don't have that folder yet.

Therefore, I am closing.

Cheers,
simon
Closed
?