summaryrefslogtreecommitdiff
path: root/etc/X11/xorg.conf.d
diff options
context:
space:
mode:
Diffstat (limited to 'etc/X11/xorg.conf.d')
-rw-r--r--etc/X11/xorg.conf.d/00-keyboard.conf8
-rw-r--r--etc/X11/xorg.conf.d/50-mouse-acceleration.conf14
2 files changed, 22 insertions, 0 deletions
diff --git a/etc/X11/xorg.conf.d/00-keyboard.conf b/etc/X11/xorg.conf.d/00-keyboard.conf
new file mode 100644
index 0000000..a44ff3c
--- /dev/null
+++ b/etc/X11/xorg.conf.d/00-keyboard.conf
@@ -0,0 +1,8 @@
+# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
+# probably wise not to edit this file manually. Use localectl(1) to
+# instruct systemd-localed to update it.
+Section "InputClass"
+ Identifier "system-keyboard"
+ MatchIsKeyboard "on"
+ Option "XkbLayout" "latam"
+EndSection
diff --git a/etc/X11/xorg.conf.d/50-mouse-acceleration.conf b/etc/X11/xorg.conf.d/50-mouse-acceleration.conf
new file mode 100644
index 0000000..38498b1
--- /dev/null
+++ b/etc/X11/xorg.conf.d/50-mouse-acceleration.conf
@@ -0,0 +1,14 @@
+# Disable mouse acceleration systemwide.
+# InputClass applies on all (in this case) 'pointers' as explained in
+# https://fedoraproject.org/wiki/Input_device_configuration#InputClasses.
+# Actual configuration retrieved from
+# https://fedoraproject.org/wiki/Input_device_configuration#InputClasses.
+
+Section "InputClass"
+ Identifier "system-mouse"
+ Driver "libinput"
+ MatchIsPointer "yes"
+ Option "AccelProfile" "flat"
+ Option "AccelSpeed" "0"
+ Option "Sensitivity" "2.0"
+EndSection