summaryrefslogtreecommitdiffstats
path: root/xorg
diff options
context:
space:
mode:
Diffstat (limited to 'xorg')
-rw-r--r--xorg/xorg-17/post-install17
1 files changed, 17 insertions, 0 deletions
diff --git a/xorg/xorg-17/post-install b/xorg/xorg-17/post-install
new file mode 100644
index 000000000..361ba1072
--- /dev/null
+++ b/xorg/xorg-17/post-install
@@ -0,0 +1,17 @@
+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