14 ms·
Environment variables are defined in multiple files. most desktop environments launch in a systemd user session, so one option is to use that[0]. Then are .xses
by the8472 5y ago
Environment variables are defined in multiple files. most desktop environments launch in a systemd user session, so one option is to use that[0]. Then are .xsession, scripts specific to the DE, /etc/environment and a bunch of other stuff I am forgetting.
[0] https://wiki.archlinux.org/title/systemd/User#Environment_variables https://wiki.archlinux.org/title/systemd/User#Environment_va...