From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: Giovanni Biscuolo <g@xelera.eu>,
Maxim Cournoyer <maxim.cournoyer@gmail.com>,
bo0od <bo0od@riseup.net>
Cc: 48796@debbugs.gnu.org
Subject: bug#48796: Guix on Debian 11 - Cant run or find applications from Guix in Desktop Menus
Date: Fri, 29 Apr 2022 21:18:20 +0200 [thread overview]
Message-ID: <59eff3512f8726c4ac0ee4071d878536b197d31f.camel@gmail.com> (raw)
In-Reply-To: <87pml1gpw8.fsf@xelera.eu>
Hi Giovanni,
Am Donnerstag, dem 28.04.2022 um 17:59 +0200 schrieb Giovanni Biscuolo:
> [...]
> > # set XDG_DATA_DIRS to include Guix installations
> > export XDG_DATA_DIRS="$GUIX_PROFILE/share:${XDG_DATA_DIRS:-
> > /usr/local/share/:/usr/share/}"
> > --8<---------------cut here---------------end--------------->8---
> >
> > It even set XDG_DATA_DIRS, which should allow integration with the
> > GNOME Shell and other graphical dashboards.
>
> No: this does not work, for three reasons:
>
> 1. AFAIU "/etc/profile.d/guix.sh" or "~/.profile" are not
> sourced/executed in a graphical session (graphical shell?), we need
> to ~/.xsessionrc to configure that environment: am I wrong?
Depends on your setup. Some systemd setups don't source it, but note
that you can work around that by editing the offending file. More
importantly...
> 2. XDG_DATA_DIRS gets someway hard reset by "something" to this
> value:
>
> XDG_DATA_DIRS=/usr/local/share:/usr/share:/usr/share/gdm:/var/lib/men
> u-xdg:/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-
> xdg/
I would investigate what actually "resets" this. If it survives
XDG_DATA_DIRS=blah $SHELL, then it's in the stuff your shell sources.
If it doesn't, then you probably just experience (1).
> (I found workaround, see below)
>
> 3. desktop menus (I tested LXDE and Mate, not Gnome Shell) are not
> updated
We hacked our Gnome Shell package to do this on Guix – naturally this
won't work for foreign systems or other packages.
> [...]
> The main point of this workaround is that I configure XDG_DATA_HOME,
> described in the specifications:
And that is evil.
> [...]
> Anyway to make the new installed *.desktop files appear in the menu,
> I have to logout and login again: I've still not found a command (or
> configuration) to update the menu, "xdg-desktop-menu forceupdate"
> does not work.
Should it? It might only honor XDG_DATA_DIRS and ignore XDG_DATA_HOME
by accident. Other than that, restarting your shell (if running on X)
might be a more lightweight way of refreshing the menu.
Cheers
next prev parent reply other threads:[~2022-04-29 19:19 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-02 18:56 bug#48796: Guix on Debian 11 - Cant run or find applications from Guix bo0od
2021-06-03 21:26 ` Maxime Devos
2021-06-03 23:18 ` bo0od
2021-06-05 9:47 ` Maxime Devos
2021-06-05 11:25 ` bo0od
2021-06-05 17:49 ` Mark H Weaver
2021-06-17 14:56 ` Giovanni Biscuolo
2021-07-15 14:05 ` bo0od
2021-08-23 10:20 ` zimoun
2021-07-02 16:31 ` zimoun
2021-07-15 13:09 ` bo0od
2021-08-23 10:42 ` zimoun
2021-08-23 0:58 ` bug#48796: Just a newb, srsly this saved me Luke Burgess
2021-09-23 11:56 ` bug#48796: Guix on Debian 11 - Cant run or find applications from Guix Maxim Cournoyer
2021-09-23 12:10 ` Maxim Cournoyer
2021-09-24 20:46 ` bo0od
2021-09-26 5:50 ` Maxim Cournoyer
2022-01-04 23:16 ` zimoun
2022-04-28 14:14 ` Giovanni Biscuolo
2022-04-28 15:59 ` bug#48796: Guix on Debian 11 - Cant run or find applications from Guix in Desktop Menus Giovanni Biscuolo
2022-04-29 19:18 ` Liliana Marie Prikler [this message]
2022-05-02 12:49 ` Giovanni Biscuolo
2022-05-04 8:31 ` Giovanni Biscuolo
2022-05-04 19:14 ` Liliana Marie Prikler
2022-05-05 17:16 ` Giovanni Biscuolo
2022-05-07 9:25 ` bug#48796: Guix on Debian 11 - Cant run or find applications from Guix Giovanni Biscuolo
2022-05-07 10:59 ` Giovanni Biscuolo
2022-06-23 8:20 ` zimoun
2022-10-08 14:37 ` zimoun
[not found] ` <handler.48796.D48796.166524222215541.notifdone@debbugs.gnu.org>
2022-10-14 17:35 ` bug#48796: closed (Re: bug#48796: Guix on Debian 11 - Cant run or find applications from Guix) bo0od via Bug reports for GNU Guix
2022-10-17 1:30 ` bug#48796: Guix on Debian 11 - Cant run or find applications from Guix Maxim Cournoyer
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=59eff3512f8726c4ac0ee4071d878536b197d31f.camel@gmail.com \
--to=liliana.prikler@gmail.com \
--cc=48796@debbugs.gnu.org \
--cc=bo0od@riseup.net \
--cc=g@xelera.eu \
--cc=maxim.cournoyer@gmail.com \
/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.