Ubuntu – Where is the /etc/X11/Xsession upstream source

source codexorg

I tried searching Xorg gitlab but can't find it for now. I would like to suggest this patch to give option of avoiding .xsession-errors completely.

Best Answer

Let's analyze the file origin locally

$ dpkg -S  /etc/X11/Xsession
x11-common: /etc/X11/Xsession

$ apt-cache show x11-common | grep Source | sort -u
Source: xorg

or using packages.ubuntu.com - it says that source package is xorg(see this page).

Semi-appstream is on Debian Salsa - https://salsa.debian.org/xorg-team/xorg/blob/ubuntu/debian/local/Xsession . You can try to send pull request here.

But I can't find this file on Freedesktop Gitlab.

About the premise - I think that your patch will never be included upstream, because of great possibilities of .xsession-errors. Developers and users use this file to determine what is wrong. If you want to change this - change it on your own machine.