From 47e105daf59b40b944c39e9d37b4e6f3210e03cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tanguy=20G=C3=A9r=C3=B4me?= Date: Mon, 30 Nov 2020 20:01:55 +0100 Subject: [PATCH] added libinput & Compose Key confs --- etc/X11/xorg.conf.d/40-libinput.conf | 56 ++++++++++++++++++++++++++++ etc/X11/xorg.conf.d/keyboard.conf | 6 +++ 2 files changed, 62 insertions(+) create mode 100644 etc/X11/xorg.conf.d/40-libinput.conf create mode 100644 etc/X11/xorg.conf.d/keyboard.conf diff --git a/etc/X11/xorg.conf.d/40-libinput.conf b/etc/X11/xorg.conf.d/40-libinput.conf new file mode 100644 index 0000000..f93c308 --- /dev/null +++ b/etc/X11/xorg.conf.d/40-libinput.conf @@ -0,0 +1,56 @@ +# Match on all types of devices but joysticks +# +# If you want to configure your devices, do not copy this file. +# Instead, use a config snippet that contains something like this: +# +# Section "InputClass" +# Identifier "something or other" +# MatchDriver "libinput" +# +# MatchIsTouchpad "on" +# ... other Match directives ... +# Option "someoption" "value" +# EndSection +# +# This applies the option any libinput device also matched by the other +# directives. See the xorg.conf(5) man page for more info on +# matching devices. + +Section "InputClass" + Identifier "libinput pointer catchall" + MatchIsPointer "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection + +Section "InputClass" + Identifier "libinput keyboard catchall" + MatchIsKeyboard "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection + + +Section "InputClass" + Identifier "libinput touchpad catchall" + MatchIsTouchpad "on" + MatchDevicePath "/dev/input/event*" + Option "Tapping" "True" + Option "TappingDrag" "True" + Driver "libinput" +EndSection + + +Section "InputClass" + Identifier "libinput touchscreen catchall" + MatchIsTouchscreen "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection + +Section "InputClass" + Identifier "libinput tablet catchall" + MatchIsTablet "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection diff --git a/etc/X11/xorg.conf.d/keyboard.conf b/etc/X11/xorg.conf.d/keyboard.conf new file mode 100644 index 0000000..0845a10 --- /dev/null +++ b/etc/X11/xorg.conf.d/keyboard.conf @@ -0,0 +1,6 @@ +Section "InputClass" + Identifier "Keyboard0" + MatchIsKeyboard "on" + Option "XkbLayout" "us" + Option "XkbOptions" "grp:alt_shift_toggle,compose:ralt" +EndSection