gfp <g...@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