Hi,

On Tue, Jan 29, 2019 at 05:40:49AM +0100, Josh Triplett wrote:
The merge request at
https://salsa.debian.org/xorg-team/xorg/merge_requests/5 implements
support for options in /etc/X11/Xsession.options.d, allowing sysadmins
to drop configuration snippets there rather than editing
/etc/X11/Xsession.options.

This makes it easier to create local configuration packages.

I've also updated manpages to document this.

I don't think anyone ever tested this. The merge request adds

    if [ -d /etc/X11/Xsession.options.d ]; then
        run-parts --list --regex '\.conf$' /etc/X11/Xsession.options.d
    fi

to OPTIONS=$(…) in Xsession, so OPTIONS then contains all options from /etc/X11/Xsession.options and all _filenames_ from /etc/X11/Xsession.options.d/, which is not what is documented in the manual page. It needs an additional | xargs cat, or cat $(run-parts …) or something like that to work.

Shall I send a patch or can you folks fix this?

Thanks!

--
Tomáš Janoušek, a.k.a. Pivník, a.k.a. Liskni_si, https://work.lisk.in/

Reply via email to