all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kei Kebreau <kkebreau@posteo.net>
To: Michael Rohleder <mike@rohleder.de>
Cc: 44916@debbugs.gnu.org
Subject: 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	[thread overview]
Message-ID: <87zh2uoo1g.fsf@posteo.net> (raw)
In-Reply-To: <87zh31o619.fsf@rohleder.de> (Michael Rohleder's message of "Sat,  28 Nov 2020 16:27:46 +0100")

[-- Attachment #1: Type: text/plain, Size: 2372 bytes --]

Hello all!

Michael Rohleder <mike@rohleder.de> writes:

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

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2020-12-03 16:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-28  5:05 bug#44916: No option to add whisker menu to xfce panel after installing package xfce4-whiskermenu-plugin potentialuser54
2020-11-28 15:27 ` Michael Rohleder
2020-12-03 16:24   ` Kei Kebreau [this message]
2020-12-06  5:11   ` Kei Kebreau
2020-12-06  5:29     ` potentialuser54
2023-08-25 10:20       ` 宋文武 via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zh2uoo1g.fsf@posteo.net \
    --to=kkebreau@posteo.net \
    --cc=44916@debbugs.gnu.org \
    --cc=mike@rohleder.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.