help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Integrate Guix GUI programs into foreign distro's desktop?


From: Bonface M. K.
Subject: Re: Integrate Guix GUI programs into foreign distro's desktop?
Date: Mon, 07 Dec 2020 14:32:29 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hartmut Goebel <h.goebel@crazy-compilers.com>
writes:

> Hi,
>> What I do is to ensure that I have the path to the
>> Guix binaries configured properly:
>>
>> --8<---------------cut here---------------start------------->8---
>> export PATH="$HOME/.config/guix/current/bin:$HOME/.local/bin:$PATH"
>
> Thanks, anyhow this does not lock like what I'
> seeking. I want to add GUI programm, which are
> isntalled in a profile, while your example only
> adds guix itself - not any profile.
>

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.

> And what about not GUIC_LOC_PATH,  XDG_*_DIRS, 
> and all the other env-vars. How to avoid conflicts
> with QTDIRS5, QT_PLUGIN_PATH?

See above.

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). I can see that GTK
is somewhat set:

--8<---------------cut here---------------start------------->8--
-
➜  ~ less ~/.guix-profile/etc/profile | grep GTK
export
GUIX_GTK3_PATH="${GUIX_PROFILE:-/gnu/store/36cyb6ndkdd2r9v2fhra68yzdnc89sk3-profile}/lib/gtk-3.0${GUIX_GTK3_PATH:+:}$GUIX_GTK3_PATH"

--8<---------------cut here---------------end--------------->8---

The variables defined in the
<my-profile>/etc/profile set the correct paths wrt
your actual profile...

I'm not sure if I was helpful... perhaps someone
else who uses QT applications could chime in and
provide some hints.

-- 
Bonface M. K. <https://www.bonfacemunyoki.com>
Humble GNU Emacs User / Bearer of scheme-y parens
Curator: <https://upbookclub.com> / Twitter: @BonfaceKilz
GPG Key: D4F09EB110177E03C28E2FE1F5BBAE1E0392253F

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]