From: Rutherther <rutherther@ditigal.xyz>
To: gfp <gfp@posteo.at>
Cc: Steve George <steve@futurile.net>, help-guix@gnu.org
Subject: Re: how can I open files through packages installed in different profiles
Date: Sat, 07 Dec 2024 15:02:09 +0100 [thread overview]
Message-ID: <87ikrvr3q6.fsf@ditigal.xyz> (raw)
In-Reply-To: <0ba5e08c-5d95-4fe7-a688-4849ae0cad36@posteo.at>
Fcc: ditigal/sent -unread -inbox
Hi G. Preihs,
> 4.
> I realised now, that, when opening Dolphin (KDE) and want to open a
> file, right click (mouse) it ask me: "open with" , arrow down (right
> side) it doesn´t show up that package with which I want to open this
> file. But when writing e.g. libreoffice it opens the file with
> libreoffice. After doing it once, libreoffice is mentioned in future in
> this list. Interestingly it opens also with a package, which is located
> in an other profile and I haven´t open this profile beforehand.
> How that works, I don´t know.
for this, you can try putting the various profiles' share folder
to XDG_DATA_DIRS environment variable. I suppose you are already
sourcing the environment variables of all the profiles, but unfortunately
XDG_DATA_DIRS is not propagated. There is a longstanding issue that's still
open about stuff like this. Note that your desktop environment needs to have
this environment variable, so you need to export it in something like a .profile
file or otherwise ensure it's in your DE.
> 5.
> One question remains for me, if I update only one profile and it
> downloads all the necessary dependences, how that works for the other
> profiles which I didn´t update, also for the default profile, if I can
> call it this way.
Most packages shouldn't mind about this. Guix puts them to separate store paths,
and since the profiles for the most part do not interact, there shouldn't be many
problems. But there still can be some, like potentially with qt plugins, glibc locales,
and other stuff. Generally potentially anything that needs some environment variables in the profile,
where multiple profiles use the same ones. But that is not to say that every time they overlap there will
be problems. Take PATH, Guix packages are usually patched or wrapped to refer to runtime dependencies
in the store directly, not to take them from PATH.
Regards,
Rutherther
Date: Sat, 07 Dec 2024 15:01:43 +0100
Message-ID: <87ldwrr3qw.fsf@ditigal.xyz>
next prev parent reply other threads:[~2024-12-07 14:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-15 19:29 how can I open files through packages installed in different profiles gfp
2024-11-18 14:58 ` Steve George
2024-12-07 13:08 ` gfp
2024-12-07 14:02 ` Rutherther [this message]
2024-12-07 15:28 ` gfp
2024-12-07 20:09 ` Rutherther
2024-12-08 19:44 ` gfp
2024-12-08 21:19 ` Rutherther
2024-12-09 19:15 ` gfp
2024-12-09 17:15 ` Ian Eure
2024-12-09 19:25 ` gfp
2024-12-09 20:03 ` Ian Eure
2024-12-10 12:36 ` Andreas Enge
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=87ikrvr3q6.fsf@ditigal.xyz \
--to=rutherther@ditigal.xyz \
--cc=gfp@posteo.at \
--cc=help-guix@gnu.org \
--cc=steve@futurile.net \
/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.