fix xorg-server startup variable
Xsession is something specific to e.g. GDM or lightdm, which in turn
sources all shell scripts in /etc/X11/xinit/xinitrc.d
Meanwhile the standard xorg-xinit provided xinitrc also sources the
scripts in /etc/X11/xinit/xinitrc.d
/etc/X11/Xsession.d works absolutely nowhere other than Debian, and
Debian will eventually load the standard /etc/X11/xinit/xinitrc.d
directory via sourcing .xinitrc anyway; hence moving this file to the
standard location will result in this working as intended everywhere.
Eli Schwartz authored 3 years ago
Michael Webster committed 3 years ago
0 | # This file is sourced by Xsession(5), not executed. | |
1 | ||
2 | if [ -z "$GTK_MODULES" ] ; then | |
3 | GTK_MODULES="xapp-gtk3-module" | |
4 | else | |
5 | GTK_MODULES="$GTK_MODULES:xapp-gtk3-module" | |
6 | fi | |
7 | ||
8 | export GTK_MODULES |