On Sun, Mar 22, 2026 at 6:39 AM Vincent Lefevre <[email protected]> wrote: > The purpose of /usr/lib/environment.d is not clear.
It appears to work for every desktop available in Debian Testing's installer except that gtk-nocsd is intentionally disabled in both GNOME and Phosh, but not for GNOME Flashback. > /etc/environment remains more general (it is mentioned in various files > under /etc/pam.d, but the other directories from the environment.d(5) > man page aren't). Yes, but gtk-nocsd isn't the owner of /etc/environment so it's not practical for the package to manipulate that file. I encourage asking your window manager maintainers to support environment.d because it allows for different components to easily adjust environment variables. I provided the environment.d config for convenience, but I don't think it can be expected to work for every way people use Debian. If /etc/environment works for you, you can do that yourself. The upstream README suggests that using ~/.bash_profile may work for people. Thank you, Jeremy Bícha

