Xfce4 Launcher Shortcuts not working after updates

  • Open
  • quality assurance status badge
Details
3 participants
  • Ludovic Courtès
  • Tomás Ortín
  • znavko
Owner
unassigned
Submitted by
znavko
Severity
normal
Z
Z
znavko wrote on 25 Nov 2020 05:45
(name . bug-guix)(address . bug-guix@gnu.org)
2d797101013fc1ef42714db3ec2bf76d@disroot.org
Hello! I use Xfce4 under Guix OS. I have several Shortcuts in Launchers on Xfce4 Panel:
IceCat, Gimp, Ungoogled-Chrom, PcmanFM.
Every time I update software, delete old generations and run garbage collector
this removes packages from the /gnu/store
and this makes Shortcuts unworkable.

I think it is a bug, cause Xfce4 Shortcuts must link to the current profile and relating software.
Instead of this the creation of Shortcuts make a hard link directly to software - not through the profile.

Error window is in the attachment.
Attachment: file
L
L
Ludovic Courtès wrote on 26 Nov 2020 21:20
(address . znavko@disroot.org)(address . 44862@debbugs.gnu.org)
87im9r27m1.fsf@gnu.org
Hi znavko,

znavko@disroot.org skribis:

Toggle quote (6 lines)
> Hello! I use Xfce4 under Guix OS. I have several Shortcuts in Launchers on Xfce4 Panel:
> IceCat, Gimp, Ungoogled-Chrom, PcmanFM.
> Every time I update software, delete old generations and run garbage collector
> this removes packages from the /gnu/store
> and this makes Shortcuts unworkable.

Is this a new bug or one you’ve been experiencing from some time?

Are those shortcuts in the Xfce bar added manually (through drag and
drop or similar), or are they added automatically as you install
applications?

Thanks,
Ludo’.
T
T
Tomás Ortín wrote on 27 Nov 2020 08:24
(address . 44862@debbugs.gnu.org)
DA8F794B-98A3-4D22-910B-50CD1EE4E6DE@mailbox.org
I've been experiencing the same since I started using Guix some months ago. In my experience, this happens only with manually added shortcuts, it seems XFCE links directly to the store in that case. It can be fixed manually, although I agree it would be nice if it wasn't necessary.

In case znavko finds it helpful here's a manual workaround: to fix the shortcut for 'foo', run 'which foo' and copy the path (it should be to the profile instead of to the store). Then right click on the shortcut for 'foo'', click on "edit" and replace the old path to the store with the path to the profile.

Hope it helps!

Tomás
Attachment: file
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 44862@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 44862
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch