Xfce Panel shortcuts after updates might not work

  • Open
  • quality assurance status badge
Details
4 participants
  • Bengt Richter
  • Oleg Pyhalov
  • ???
  • znavko
Owner
unassigned
Submitted by
znavko
Severity
normal
Z
Z
znavko wrote on 6 Aug 2019 09:42
(name . bug-guix)(address . bug-guix@gnu.org)
10d5b7fae299933b2e22d98b8b45b7de@disroot.org
Hello! Sometimes, when Icecat or Pcmanfm-qt update, I am not able to run them from shortcuts I've add to panel as Items (right mouse click - Panel - Add new Item).
This is because applications addresses were changed after update (because guix adds hash to application folder).
This makes me need to delete shortcut and add again.
Xfce is not in account in this. Xfce does not use /home/user/.giux-profile/bin folder for those shortcuts. Xfce uses /gnu/store/hashhashahsh-icecat-60.1/bin/icecat instead. And this is my trouble.

Do you think we can solve this?
Attachment: file
O
O
Oleg Pyhalov wrote on 18 Aug 2019 12:12
(address . znavko@disroot.org)(address . 36944@debbugs.gnu.org)
87wofapysz.fsf@majordomo.ru
Hello,

znavko@disroot.org writes:

Toggle quote (13 lines)
> Hello! Sometimes, when Icecat or Pcmanfm-qt update, I am not able to
> run them from shortcuts I've add to panel as Items (right mouse click
> - Panel - Add new Item).
> This is because applications addresses were changed after update
> (because guix adds hash to application folder).
> This makes me need to delete shortcut and add again.
> Xfce is not in account in this. Xfce does not use
> /home/user/.giux-profile/bin folder for those shortcuts. Xfce uses
> /gnu/store/hashhashahsh-icecat-60.1/bin/icecat instead. And this is my
> trouble.
>
> Do you think we can solve this?

What do you mean by “Xfce does not use /home/user/.giux-profile/bin
folder for those shortcuts”? If you create a shortcut manually then you
could specify your Guix profile's directory, don't you?

I cannot reproduce the issue (I didn't update packages because of
virtual machine though). Could you attach a screenshot with a window
where you specify Icecat or Pcmanfm-qt binary location, please?

Regards,
Oleg.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAl1ZJIwACgkQFn+OpQAa
+py/DBAAu3f/nB/mchBsllmgw7uhimmtRZ3V8eiMDIk4EoBCucQ1dS2B9/FciVHZ
2Yh8xPrzHlJ3zxshn3ByuW/FmL2bUn7luj6kofyiEU7GTJLKnMBz7/tivjBTH3bv
2QM1IZH8LTrdzd03s8OAwrb6qKFRx+isidFy7K1XMxlCJGguB3f66G5nR8/iF7jL
FIMSvg0x7TWxfEJDWpNUe2Hkk+w37iolqZXXTFFRBOXQIpIbN6PlPlO9zjKugGNw
iFGG4IYI/zieA5yvBOGcHg8w1Xi0dKQX3OY1anZcQoz83XZoQVRHEvasdCmOgDvW
GPe9mPfvtH+0IkkASipolCTpo5T10IACooLGynmfMuVmFCm8n9cWifxPEwwyM9Au
0+gAWkxZ1vhE+1aCacNvHwHkrB4RBwyumMhE/0Fb6/AK4Cfc8bKg24RBABvJua1q
upUkqq58oV8YC6CbhwBzeA4bBIsYA3YZyUS6hakEY45eihcrKVuNs8vNhUaRSXAm
uGZ6nPCu3Kx5nflJUM/+EGeaocaFYKrQgoqvUMuCuYBBFmtOBGan8o4fVSWB859u
z8EqdJPONgzyEs5PPQLrErwsWzgBSkkNVdyTV+x6UXvCJQwMnsGYhRSi9S6Rzxhh
t++OxvNpgJd4SVkoHX6JwMvvnyJZTilHbHW8jP+H13MEz5M+dlQ=
=4YYp
-----END PGP SIGNATURE-----

B
B
Bengt Richter wrote on 18 Aug 2019 17:26
(name . Oleg Pyhalov)(address . go.wigust@gmail.com)
20190818152611.GA8565@PhantoNv4ArchGx.localdomain
On +2019-08-18 13:12:28 +0300, Oleg Pyhalov wrote:
Toggle quote (12 lines)
> Hello,
>
> znavko@disroot.org writes:
>
> > Hello! Sometimes, when Icecat or Pcmanfm-qt update, I am not able to
> > run them from shortcuts I've add to panel as Items (right mouse click
> > - Panel - Add new Item).
> > This is because applications addresses were changed after update
> > (because guix adds hash to application folder).
> > This makes me need to delete shortcut and add again.
> > Xfce is not in account in this. Xfce does not use
> > /home/user/.giux-profile/bin folder for those shortcuts. Xfce uses
.giux ??

Toggle quote (6 lines)
> > /gnu/store/hashhashahsh-icecat-60.1/bin/icecat instead. And this is my
> > trouble.
> >
> > Do you think we can solve this?
>
> What do you mean by “Xfce does not use /home/user/.giux-profile/bin
.giux ??

Toggle quote (9 lines)
> folder for those shortcuts”? If you create a shortcut manually then you
> could specify your Guix profile's directory, don't you?
>
> I cannot reproduce the issue (I didn't update packages because of
> virtual machine though). Could you attach a screenshot with a window
> where you specify Icecat or Pcmanfm-qt binary location, please?
>
> Regards,
> Oleg.
Regards,
Bengt Richter
?
(address . znavko@disroot.org)(address . 36944@debbugs.gnu.org)
87bkev2z8e.fsf@envs.net
znavko@disroot.org writes:

Toggle quote (10 lines)
> Hello! Sometimes, when Icecat or Pcmanfm-qt update, I am not able to run them from shortcuts I've add to
> panel as Items (right mouse click - Panel - Add new Item).
> This is because applications addresses were changed after update (because guix adds hash to application
> folder).
> This makes me need to delete shortcut and add again.
> Xfce is not in account in this. Xfce does not use /home/user/.giux-profile/bin folder for those shortcuts. Xfce
> uses /gnu/store/hashhashahsh-icecat-60.1/bin/icecat instead. And this is my trouble.
>
> Do you think we can solve this?

No solution yet, but i confirm this issue does exists..

After add a launcher for chroium in xfce4-panel, i got:

$ cat panel/launcher-9/16929589731.desktop

Toggle snippet (24 lines)
[Desktop Entry]
Version=1.0
Name=Chromium
GenericName=Web Browser
Comment=Access the Internet
Exec=/gnu/store/0bm0k38601acm56pv5jkl6wgvm0rj5xc-ungoogled-chromium-112.0.5615.165-1/bin/chromium %U
StartupNotify=true
Terminal=false
Icon=chromium
Type=Application
Categories=Network;WebBrowser;
MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https;
Actions=new-window;new-private-window;
X-XFCE-Source=file:///home/iyzsong/.guix-home/profile/share/applications/chromium.desktop

[Desktop Action new-window]
Name=New Window
Exec=/gnu/store/0bm0k38601acm56pv5jkl6wgvm0rj5xc-ungoogled-chromium-112.0.5615.165-1/bin/chromium

[Desktop Action new-private-window]
Name=New Incognito Window
Exec=/gnu/store/0bm0k38601acm56pv5jkl6wgvm0rj5xc-ungoogled-chromium-112.0.5615.165-1/bin/chromium --incognito

So it hardcode store paths in 'Exec'.
?
Your comment

Commenting via the web interface is currently disabled.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 36944
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