I need to set some environment variables such as the XDG spec ones, before KDE starts in such a way that kwin and any apps run from KDE will inherit them. Where could I do this, and how?
Asked
Active
Viewed 1.1k times
12
-
Check out: https://userbase.kde.org/Session_Environment_Variables – FilBot3 Jun 30 '20 at 20:19
2 Answers
8
Put them in a .sh
file in ~/.kde/env/
(possibly ~/.kde4/env/
or similar; varies by distribution).

ephemient
- 15,880
-
I've been trying that, but my XDG configs are still showing up in
~/.config
such as~/.config/akonadi
, here's the scriptthat I copied to that directory. I actually gave this answer first, but deleted it when I realized it wasn't working – xenoterracide Jan 28 '11 at 23:20 -
1
-
-
tested, and renaming to use
.sh
works, mind adding that as part of the answer? – xenoterracide Jan 28 '11 at 23:43