GNU bug report logs - #44916
No option to add whisker menu to xfce panel after installing package xfce4-whiskermenu-plugin.

Previous Next

Package: guix;

Reported by: potentialuser54 <at> postpro.net

Date: Sat, 28 Nov 2020 05:07:02 UTC

Severity: normal

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44916 in the body.
You can then email your comments to 44916 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#44916; Package guix. (Sat, 28 Nov 2020 05:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to potentialuser54 <at> postpro.net:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 28 Nov 2020 05:07:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: potentialuser54 <at> postpro.net
To: bug-guix <at> gnu.org
Subject: No option to add whisker menu to xfce panel after installing package xfce4-whiskermenu-plugin.
Date: Sat, 28 Nov 2020 00:05:48 -0500
[Message part 1 (text/plain, inline)]
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

Regards.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44916; Package guix. (Sat, 28 Nov 2020 15:28:02 GMT) Full text and rfc822 format available.

Message #8 received at 44916 <at> debbugs.gnu.org (full text, mbox):

From: Michael Rohleder <mike <at> rohleder.de>
To: 44916 <at> debbugs.gnu.org
Subject: Re: bug#44916: No option to add whisker menu to xfce panel after
 installing package xfce4-whiskermenu-plugin.
Date: Sat, 28 Nov 2020 16:27:46 +0100
[Message part 1 (text/plain, inline)]
Thank you for reporting!

potentialuser54 <at> 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:

[0001-gnu-xfce4-whiskermenu-plugin-Fix-installed-shell-scr.patch (text/x-patch, inline)]
>From c0157162c35dea28fd4f65c0b8bc87425358e7db Mon Sep 17 00:00:00 2001
From: Michael Rohleder <mike <at> 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(-)

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

[Message part 3 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44916; Package guix. (Thu, 03 Dec 2020 16:26:02 GMT) Full text and rfc822 format available.

Message #11 received at 44916 <at> debbugs.gnu.org (full text, mbox):

From: Kei Kebreau <kkebreau <at> posteo.net>
To: Michael Rohleder <mike <at> rohleder.de>
Cc: 44916 <at> debbugs.gnu.org
Subject: Re: bug#44916: No option to add whisker menu to xfce panel after
 installing package xfce4-whiskermenu-plugin.
Date: Thu, 03 Dec 2020 11:24:43 -0500
[Message part 1 (text/plain, inline)]
Hello all!

Michael Rohleder <mike <at> rohleder.de> writes:

> Thank you for reporting!
>
> potentialuser54 <at> 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 <at> 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 --

>
> 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.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44916; Package guix. (Sun, 06 Dec 2020 05:12:02 GMT) Full text and rfc822 format available.

Message #14 received at 44916 <at> debbugs.gnu.org (full text, mbox):

From: Kei Kebreau <kkebreau <at> posteo.net>
To: Michael Rohleder <mike <at> rohleder.de>
Cc: potentialuser54 <at> postpro.net, 44916 <at> debbugs.gnu.org
Subject: Re: bug#44916: No option to add whisker menu to xfce panel after
 installing package xfce4-whiskermenu-plugin.
Date: Sun, 06 Dec 2020 00:11:34 -0500
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44916; Package guix. (Sun, 06 Dec 2020 06:08:02 GMT) Full text and rfc822 format available.

Message #17 received at 44916 <at> debbugs.gnu.org (full text, mbox):

From: potentialuser54 <at> postpro.net
To: "Kei Kebreau" <kkebreau <at> posteo.net>, "Michael Rohleder" <mike <at> rohleder.de>
Cc: 44916 <at> debbugs.gnu.org
Subject: Re: bug#44916: No option to add whisker menu to xfce panel after installing package xfce4-whiskermenu-plugin.
Date: Sun, 06 Dec 2020 00:29:01 -0500
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




Reply sent to 宋文武 <iyzsong <at> envs.net>:
You have taken responsibility. (Fri, 25 Aug 2023 10:21:01 GMT) Full text and rfc822 format available.

Notification sent to potentialuser54 <at> postpro.net:
bug acknowledged by developer. (Fri, 25 Aug 2023 10:21:02 GMT) Full text and rfc822 format available.

Message #22 received at 44916-done <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: potentialuser54 <at> postpro.net
Cc: Kei Kebreau <kkebreau <at> posteo.net>, 44916-done <at> debbugs.gnu.org,
 Michael Rohleder <mike <at> rohleder.de>
Subject: Re: bug#44916: No option to add whisker menu to xfce panel after
 installing package xfce4-whiskermenu-plugin.
Date: Fri, 25 Aug 2023 18:20:35 +0800
potentialuser54 <at> postpro.net writes:

> 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!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 22 Sep 2023 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 215 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.