diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2019-01-07 16:26:47 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2019-01-07 16:29:51 +1000 |
commit | b63f7994dc4359900dbb2a29612e0112b6ae5b79 (patch) | |
tree | 034576e9823b73b0910e6192d46dc1dc4a873767 | |
parent | 04f42d6e0f99d771cbbab25c896f287fd6697f37 (diff) |
conf: add an example snippet for how to assign options
Users still like to copy the whole file, potentially messing things up.
Let's put a warning into the file directly that this is less than ideal.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | conf/40-libinput.conf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/conf/40-libinput.conf b/conf/40-libinput.conf index e7433ad..eb33ad0 100644 --- a/conf/40-libinput.conf +++ b/conf/40-libinput.conf @@ -1,4 +1,21 @@ # 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" |