From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: "Bonface M. K." <bonfacemunyoki@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Integrate Guix GUI programs into foreign distro's desktop?
Date: Thu, 24 Dec 2020 15:25:31 +0100 [thread overview]
Message-ID: <0dea9b3e-91ca-2456-b4e3-2540e7844e73@crazy-compilers.com> (raw)
In-Reply-To: <86v9ddetrm.fsf@gmail.com>
Am 07.12.20 um 12:32 schrieb Bonface M. K.:
> In that case, you'd just modify the path to point
> to your profile's bin. Another way would be to
> source the <your-profile>/etc/profile which
> basically set's all these paths for you.
This is what I would expect, but this is not the case. E.g. when
installing "dino", a GTK application providing .desktop file,
XDG_DATA_DIRS is not defined in $GUIX_ENVIRONMENT/etc/profile (same for
a profile)
$ guix environment --ad-hoc dino
# Proof dino "somehow" has a search-path definition
$ grep -E 'XDG|GTK' $(which dino)
export XDG_DATA_DIRS=…
export GTK_PATH=…
# Proof environment has a "share" directory and there are .desktop files
$ ls -F $GUIX_ENVIRONMENT
bin@ etc/ include@ lib/ manifest share/
$ ls -F $GUIX_ENVIRONMENT/share/applications/
im.dino.Dino.desktop@ mimeinfo.cache@
# Proof XDG_DATA_DIR is not set for the environment
$ grep -E 'XDG|GTK' $GUIX_ENVIRONMENT/etc/profile
$ # no results
> Wrt QT, I'm not exactly sure how to help with
> that. I barely use applications that use QT(most
> of the things I run use GTK).
As shown above, this does not always hold even for GTK applications.
> The variables defined in the
> <my-profile>/etc/profile set the correct paths wrt
> your actual profile...
Have you installed gtk+ in your profile? This package is the one
defining search-path GUIX_GTK3_PATH.
(When installing gtk+ in my environment/profile, I also get
GUIX_GTK3_PATH defined. gtk+ propagates atk, which propagates glib,
which defines search-path XDG_DATA_DIR - which is why XDG_DATA_DIR is
also defined in the etc/profile.)
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
next prev parent reply other threads:[~2020-12-24 14:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-06 18:46 Integrate Guix GUI programs into foreign distro's desktop? Hartmut Goebel
2020-12-06 19:41 ` Jérémy Korwin-Zmijowski
2020-12-06 23:27 ` Bonface M. K.
2020-12-07 7:58 ` Hartmut Goebel
2020-12-07 11:32 ` Bonface M. K.
2020-12-24 14:25 ` Hartmut Goebel [this message]
2020-12-24 17:43 ` Bonface M. K.
2020-12-07 14:13 ` John Soo
2020-12-25 17:05 ` Hartmut Goebel
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0dea9b3e-91ca-2456-b4e3-2540e7844e73@crazy-compilers.com \
--to=h.goebel@crazy-compilers.com \
--cc=bonfacemunyoki@gmail.com \
--cc=help-guix@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).