Hi,

On  So 22 Mär 2026 15:22:00 CET, Jeremy Bicha wrote:

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

I agree with Jeremy that individual desktop shells should be prepped for gtk-nocsd usage via the desktop envs' maintainers.

For X11 desktops, a wonderful place to enable gtk-nocsd probably is /etc/X11/Xsession.d/, isn't it? (Not sure about Wayland, though, what they use nowadays).

Mike
--

mike gabriel aka sunweaver (Debian Developer)
mobile: +49 (1520) 1976 148
landline: +49 (4351) 486 14 27

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: [email protected], http://sunweavers.net

Attachment: pgpY2NUJT0arL.pgp
Description: Digitale PGP-Signatur

Reply via email to