summaryrefslogtreecommitdiffstats
path: root/xorg/xorg-17/post-install
blob: a3045a7ba0b783527e52d1ea06b057f47437ffcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
if ! [ -f /etc/X11/xorg.conf ]; then
	cat > /etc/X11/xorg.conf << "EOF"
Section "ServerFlags"
	Option "AllowEmptyInput" "off"
EndSection
Section "InputDevice"
	Identifier "K"
	Driver	"kbd"
	Option	"Xkbrules" "xorg"
	Option	"XkbLayout"  "fr"
	Option	"XkbOptions" "grp:alt_shift_toggle"
EndSection
Section "InputDevice"
	Identifier "M"
	Driver "mouse"
EndSection
EOF
fi