Some environments do not load /etc/profile, so environment.variables do not work. In particular, this is the case for Plasma Wayland. Use environment.sessionVariables for setting that variable instead, which is handled by PAM and hence more reliable.
792 B
792 B