On Sun, Mar 22, 2026 at 2:40 PM Vincent Lefevre <[email protected]> wrote: > IMHO, such instructions should be in a README or README.Debian file > under the /usr/share/doc/<package_name> directory.
Ok. We could do that. > So, for a non-root user, there would be no way to override settings > via this mechanism. Check the SYNOPSIS section again. My ~/.config/ instruction works. You might need to restart your computer after making changes. In my testing, it seemed like some environments didn't fully clear things they should have when logging out. > But environment.d could be used for Wayland and /etc/X11/Xsession.d > for X11. So this would work everywhere. environment.d is very simple and its simplicity is a big reason I like the approach I used so far. It only provides an environment variable so there is no mechanism for it to only work for Wayland sessions. Debian's gtk3-nocsd packaging provided complex scripts in /etc/X11/Xsession.d/ . If you add a script, your script needs to make sure that libgtk-nocsd.so.0 isn't already in LD_PRELOAD before adding it. Those /etc/ files are conffiles and it's nice to have overridable system defaults that are not set in conffiles in Debian packages. Thank you, Jeremy Bícha

