No option to add whisker menu to xfce panel after installing package xfce4-whiskermenu-plugin.

  • Done
  • quality assurance status badge
Details
4 participants
  • ???
  • Kei Kebreau
  • Michael Rohleder
  • potentialuser54
Owner
unassigned
Submitted by
potentialuser54
Severity
normal
P
P
potentialuser54 wrote on 28 Nov 2020 06:05
No option to add whisker menu to xfce panel after installing p ackage xfce4-whiskermenu-plugin.
(address . bug-guix@gnu.org)
6db0a2cd-d46e-4152-99e4-1b871f987c0f@www.fastmail.com
After doing a fresh install of Guix system using the graphics install menu and picking the xfce option, I decided to substitute xfce's "Applications" menu with the "Whisker" menu.

Thus, I used command "guix install xfce4-whiskermenu-plugin" to install the package. After a system reboot, I opened the menu for adding items to the xfce panel. However, the option "Whisker Menu" isn't there.

I asked this problem on irc and irc user "mroh" told me that this plugin looks broken and they will try to fix it. They also asked me to make a bug report:
Toggle quote (2 lines)
> mroh | PotentailUser-53: that plugin does indeed looks broken: ~/.guix-profile/bin/xfce4-popup-whiskermenu: line 47: /gnu/store/clmv25gbfjrajvh8bsnhfj3w86kry004-xfce4-whiskermenu-plugin-2.4.6/bin/xfce4-panel: No such file or directory

Regards.
Attachment: file
M
M
Michael Rohleder wrote on 28 Nov 2020 16:27
Re: bug#44916: No option to add whisker menu to xfce panel after installing package xfce4-whiskermenu-plugin.
(address . 44916@debbugs.gnu.org)
87zh31o619.fsf@rohleder.de
Thank you for reporting!

potentialuser54@postpro.net writes:
Toggle quote (13 lines)
> After doing a fresh install of Guix system using the graphics install menu and picking the xfce option, I decided to substitute xfce's "Applications" menu with the "Whisker" menu.
>
> Thus, I used command "guix install xfce4-whiskermenu-plugin" to
> install the package. After a system reboot, I opened the menu for
> adding items to the xfce panel. However, the option "Whisker Menu"
> isn't there.
>
> I asked this problem on irc and irc user "mroh" told me that this plugin looks broken and they will try to fix it. They also asked me to make a bug report:
>> mroh | PotentailUser-53: that plugin does indeed looks broken:
> ~/.guix-profile/bin/xfce4-popup-whiskermenu: line 47:
> /gnu/store/clmv25gbfjrajvh8bsnhfj3w86kry004-xfce4-whiskermenu-plugin-2.4.6/bin/xfce4-panel:
> No such file or directory

Here is a first try to fix this:
Toggle quote (1 lines)
>From c0157162c35dea28fd4f65c0b8bc87425358e7db Mon Sep 17 00:00:00 2001
From: Michael Rohleder <mike@rohleder.de>
Date: Sat, 28 Nov 2020 16:10:15 +0100
Subject: [PATCH] gnu: xfce4-whiskermenu-plugin: Fix installed shell script.

* gnu/packages/xfce.scm (xfce4-whiskermenu-plugin): Fix installed shell script.
[arguments]: Add phase fix-shell-script to substitute path to xfce4-panel.
---
gnu/packages/xfce.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index fbe06a1c76..1e5ece0489 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -535,7 +535,15 @@ keys for controlling the audio volume.")
("gtk+" ,gtk+)
("libxfce4ui" ,libxfce4ui)))
(arguments
- `(#:tests? #f)) ; no tests
+ `(#:tests? #f ; no tests
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-shell-script
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* (string-append "panel-plugin/xfce4-popup-whiskermenu.in")
+ (("@CMAKE_INSTALL_FULL_BINDIR@")
+ (string-append (assoc-ref inputs "xfce4-panel") "/bin")))
+ #t)))))
(home-page "https://goodies.xfce.org/projects/panel-plugins/xfce4-whiskermenu-plugin")
(synopsis "Application menu panel plugin for Xfce")
(description
--
2.29.2
Now, the shell script (path to xfce4-panel in the last line) looks fine,
but it still doesn't popup/display anything ;(

--
apples have meant trouble since eden
-----BEGIN PGP SIGNATURE-----

iQFFBAEBCAAvFiEEdV4t5dDVhcUueCgwfHr/vv7yyyUFAl/CbHMRHG1pa2VAcm9o
bGVkZXIuZGUACgkQfHr/vv7yyyUyWQgAtpWEVIuMRNAIVio6gKGoiazewWh8r3UV
T+sto2vD6QvXUuBxtZvWYpeoJ+PUwREh2Y3ue8sD9u7aFeC7w1gzw+Kue4tZRTuq
WZ+YB5UcCMZSxv4/RsJP5bpoLDZYAm2gptVNBUutUHQxkvgU24JNrVBA6x1VyyAl
LlKShpOhgiI/3B+mRrHL0b1rFb9mCtE/ibG/fkOq8l0s57+1quNxaDel0/KhAnez
O92kr8byqFQC7dV7EA8jHoyV7kKF3+AP94rhR2yanyaVipaCE+Ojto2ZuKZjbHjI
2Nfdn6fItlQtYSOy4wQJ54f5TJDuq3ba8uLdc0ANlKSa1qSikQSM8Q==
=CnlM
-----END PGP SIGNATURE-----

K
K
Kei Kebreau wrote on 3 Dec 2020 17:24
(name . Michael Rohleder)(address . mike@rohleder.de)(address . 44916@debbugs.gnu.org)
87zh2uoo1g.fsf@posteo.net
Hello all!

Michael Rohleder <mike@rohleder.de> writes:

Toggle quote (31 lines)
> Thank you for reporting!
>
> potentialuser54@postpro.net writes:
>> After doing a fresh install of Guix system using the graphics
>> install menu and picking the xfce option, I decided to substitute
>> xfce's "Applications" menu with the "Whisker" menu.
>>
>> Thus, I used command "guix install xfce4-whiskermenu-plugin" to
>> install the package. After a system reboot, I opened the menu for
>> adding items to the xfce panel. However, the option "Whisker Menu"
>> isn't there.
>>
>> I asked this problem on irc and irc user "mroh" told me that this
>> plugin looks broken and they will try to fix it. They also asked me
>> to make a bug report:
>>> mroh | PotentailUser-53: that plugin does indeed looks broken:
>> ~/.guix-profile/bin/xfce4-popup-whiskermenu: line 47:
>> /gnu/store/clmv25gbfjrajvh8bsnhfj3w86kry004-xfce4-whiskermenu-plugin-2.4.6/bin/xfce4-panel:
>> No such file or directory
>
> Here is a first try to fix this:
>
>>>From c0157162c35dea28fd4f65c0b8bc87425358e7db Mon Sep 17 00:00:00 2001
> From: Michael Rohleder <mike@rohleder.de>
> Date: Sat, 28 Nov 2020 16:10:15 +0100
> Subject: [PATCH] gnu: xfce4-whiskermenu-plugin: Fix installed shell script.
>
> * gnu/packages/xfce.scm (xfce4-whiskermenu-plugin): Fix installed shell script.
> [arguments]: Add phase fix-shell-script to substitute path to xfce4-panel.
>

-- cut --

Toggle quote (4 lines)
>
> Now, the shell script (path to xfce4-panel in the last line) looks fine,
> but it still doesn't popup/display anything ;(

The above patch partially fixes the script. The path to the gettext binary
must be patched as well since gettext is used for printing the help
menu.

Aside from that, it seems like Xfce, when installed as a system-wide
desktop environment, does not look in the user's Guix profile for
plugins. Panel modules are located by Xfce in the directories listed in
the X_XFCE4_LIB_DIRS environment variable. For my Xfce configuration,
X_XFCE4_LIB_DIRS contains only /run/current-system/profile/lib/xfce4.

To work around this issue on your own machine for the time being, you
can add the desired Xfce plugins to the list of packages in your Guix
operating system configuration. In the long-term, it will be worth
determining the best way to add the proper directories from the user's
Guix profile to the list of directories in X_XFCE4_LIB_DIRS.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAl/JEUsACgkQ5qXuPBlG
eg1SqQ//Sm90MmNy/1tEktRKC5SxRHvVi1oou2Fp7PxNXnFO2lIw9AKQPbgmf5A2
yANdEgQO3PhC613ClhPH3AgdwgHy+EFhAD95p6j3YdE33XNRARXcmXMNrH9nualQ
fIDaYfnjGGnDZ4CqCN6D8ksmJm04esdS/sPpxqfqPiaoa90zQsY7fKFAz1WRudd4
phcOPna0ubgZsCrwxIGHy/P5+tySs5sk1b52w85urbhyrLweuy5u1DMv92yiju+0
3bzuyvVIrgidwwj8Q7DlOzjyA4scQ0fv52wL1y+BKvPaWYG+8f3ANamWiyUtMfOs
PY3MOoX93lmg41lBIrED9TsXcCiEsK9xxIiU/qxl+aeAp4tu75KWyOe45nGvjba7
mqvdm1EeDqg6k4aYKmMXVHpn02xcHp5s1TJ8UrW/2m5jVzPjPpyP81dYIYLHKrjd
CLtTPBsPujkLZ3iFmSGsV7Eevti82VoAyQfUL1pcqsp9ownv4V2IeqxvrciBAqKt
GqlcdLKx0YTe3nWsqu9rAkgRJ6umOS6XVpa9hQdAAu40LxLEafGaKtXjclkhA6gP
/w7K9uj0fB9XoBYqLLszrUjciC9vxIxD5F8JKHtjEuzVu5zaS9WGVtlAQk05mSiA
gnkc+0ICb0gloGSW/daQCMMuGvLNICNPkxN3RkgYV3aUdIngEEQ=
=Nhuq
-----END PGP SIGNATURE-----

K
K
Kei Kebreau wrote on 6 Dec 2020 06:11
(name . Michael Rohleder)(address . mike@rohleder.de)
874kkzmsc9.fsf@posteo.net
Hello again!

If you are able, please take a look at patch #45062 linked below. I've
slightly modified Michael's patch and added one of my own to take a shot
at solving this issue. If it passes review (or no one says anything for
a while), these changes will be applied to Guix proper.


Thanks,
Kei
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAl/MaAYACgkQ5qXuPBlG
eg1kCQ/+Job4QaHLGKNBmFQh3fAw21itSs1k9ZG5D7wTDxHUbJlN1CLECAX7YEEn
1p0tGgGXisli37+goJiwpYEJkTrkyUMBwFJsYYKF0z6gXZH67kkkA7rZdCJLzWCW
If7LnLkZaRfXCQDTpWRBGSRHdH4NZgGHbZQ7NYkdmfdVNvAyAim94J23bPHDeHCi
S0e1YszdfbLBtCzMFmS9amE02jW2iI5qqmBBsxQv5aBmQwuPilPL/JHbrXC3s6gW
SvuNTLC13roOJFb5gPVml1WOUPdeeQopsU98GGMe2Bt6BSn1qhVw6Bre8qyzU7P7
HLxHGdHVah11LB7cmnpGnXpLpYUAYM+PdSnHVvhuCAP8JNdkiSeUPzGdcs0B7A7e
rS7u+GchTBPNY5jekAO+z+qZ8+8TSaDWqxOpKDI3otXgDMhRnoIebpyE69PE5SHK
JroIUiTVhvw5eTDk5whrT0/Aws94Q6XkuHTBQfKxr93/HJOFMLQL86L/5RmqaGM8
u+8j+qJoxWeVkZlX6as6lRq6uQjvpEjXvUt0Il7pKHmQZhUcX0KD8eXopAYzMij5
xmVz7od56QIXrw2MD0S7cKsCV4aLvDVRVb6kP2vV2dRFlJSVqvpDbo/3+f/4Tq8D
/rJ2kJZ3G0MeBGE+rWKdx9jEV3H9W2M0HE3/4Pd8ED/nRMFkP7I=
=xGgd
-----END PGP SIGNATURE-----

P
P
potentialuser54 wrote on 6 Dec 2020 06:29
Re: bug#44916: No option to add whisker menu to xfce panel aft er installing package xfce4-whiskermenu-plugin.
(address . 44916@debbugs.gnu.org)
c17ef989-cbe1-4b77-b70d-5872f66c0a9e@www.fastmail.com
Hello Kei and Michael,

Thank you for your work. I'm sorry that I lack technical expertise to comment on the patch, nor am I able to test it. I'm also not sure about if I should send this email or not because I could not provide any insights into this issue. Please inform me if you find this email annoying.
Again, thank you for your work!

Regards.

On Sun, Dec 6, 2020, at 00:11, Kei Kebreau wrote:
Toggle quote (14 lines)
> Hello again!
>
> If you are able, please take a look at patch #45062 linked below. I've
> slightly modified Michael's patch and added one of my own to take a shot
> at solving this issue. If it passes review (or no one says anything for
> a while), these changes will be applied to Guix proper.
>
> The patch is here: https://issues.guix.gnu.org/45062
>
> Thanks,
> Kei
>
> Attachments:
> * signature.asc
?
Re: bug#44916: No option to add whisker menu to xfce panel after installing package xfce4-whiskermenu-plugin.
(address . potentialuser54@postpro.net)
87edjr2zkc.fsf@envs.net
potentialuser54@postpro.net writes:

Toggle quote (28 lines)
> Hello Kei and Michael,
>
> Thank you for your work. I'm sorry that I lack technical expertise to
> comment on the patch, nor am I able to test it. I'm also not sure
> about if I should send this email or not because I could not provide
> any insights into this issue. Please inform me if you find this email
> annoying.
> Again, thank you for your work!
>
> Regards.
>
> On Sun, Dec 6, 2020, at 00:11, Kei Kebreau wrote:
>> Hello again!
>>
>> If you are able, please take a look at patch #45062 linked below. I've
>> slightly modified Michael's patch and added one of my own to take a shot
>> at solving this issue. If it passes review (or no one says anything for
>> a while), these changes will be applied to Guix proper.
>>
>> The patch is here: https://issues.guix.gnu.org/45062
>>
>> Thanks,
>> Kei
>>
>> Attachments:
>> * signature.asc


Hello, I believe this issue had been fixed (since #45062), closing.

If not feel free to contact me, thanks!
Closed
?