help-guix
[Top][All Lists]
Advanced

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

Re: how can I open files through packages installed in different profile


From: Rutherther
Subject: Re: how can I open files through packages installed in different profiles
Date: Sat, 07 Dec 2024 21:09:25 +0100

gfp <gfp@posteo.at> writes:

> How can I do this?
>
> I am using MATE desktop mainly (more shortcuts) and sometimes KDE (less 
> shortcuts for me at the moment).
> Please explain it more, I am on a lower level.

What is your shell? Let's say it's bash. Bash uses either
~/.bash_profile if it exists, or falls back to ~/.profile.
To export a environment variable from it means to
`export 
XDG_DATA_DIRS=$HOME/path/to/your/profile1:$HOME/path/to/your/profile2:$XDG_DATA_DIRS`,
and so on. If you are using other shell, check your shell's manual for
the profile it uses.

If you are using guix home, you can use
home-environment-variables-service-type, it will put it to the correct
place, where it will be sourced from the profile file. Examples
are in the manual.

Regards,
Rutherther



reply via email to

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