From b63f7994dc4359900dbb2a29612e0112b6ae5b79 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 7 Jan 2019 16:26:47 +1000 Subject: [PATCH] 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 --- conf/40-libinput.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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"