From: gfp <gfp@posteo.at>
To: Rutherther <rutherther@ditigal.xyz>
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, 7 Dec 2024 15:28:31 +0000 [thread overview]
Message-ID: <565d7a8e-199e-43bc-9796-897bc1f897fe@posteo.at> (raw)
In-Reply-To: <87ikrvr3q6.fsf@ditigal.xyz>
[-- Attachment #1.1.1: Type: text/plain, Size: 2707 bytes --]
Hi,
thanks for your explanation.
> for this, you can try putting the various profiles' share folder
>> to XDG_DATA_DIRS environment variable.
How can I do this?
I am using MATE desktop mainly (more shortcuts) and sometimes KDE (less
shortcuts for me at the moment).
> 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.
Please explain it more, I am on a lower level.
thanks
Gottfried
Am 07.12.24 um 15:02 schrieb Rutherther:
>
> 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>
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2451 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 665 bytes --]
next prev parent reply other threads:[~2024-12-07 15:29 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
2024-12-07 15:28 ` gfp [this message]
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=565d7a8e-199e-43bc-9796-897bc1f897fe@posteo.at \
--to=gfp@posteo.at \
--cc=help-guix@gnu.org \
--cc=rutherther@ditigal.xyz \
--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.