12

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?

xenoterracide
  • 59,188
  • 74
  • 187
  • 252

2 Answers2

14

For Plasma 5 it's

~/.config/plasma-workspace/env/

davispuh
  • 371
8

Put them in a .sh file in ~/.kde/env/ (possibly ~/.kde4/env/ or similar; varies by distribution).

ephemient
  • 15,880