From 369ff7f6b69129fd8e4fcaa3d456cd1726f3ca47 Mon Sep 17 00:00:00 2001 From: Pig Monkey Date: Sun, 15 Jan 2017 13:20:12 -0800 Subject: [PATCH] enable two/three finger touchpad click https://wayland.freedesktop.org/libinput/doc/latest/clickpad_softbuttons.html#clickfinger --- roles/laptop/files/30-touchpad.conf | 7 +++++++ roles/laptop/tasks/main.yml | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 roles/laptop/files/30-touchpad.conf diff --git a/roles/laptop/files/30-touchpad.conf b/roles/laptop/files/30-touchpad.conf new file mode 100644 index 0000000..0e938f5 --- /dev/null +++ b/roles/laptop/files/30-touchpad.conf @@ -0,0 +1,7 @@ +Section "InputClass" + Identifier "libinput touchpad catchall" + MatchIsTouchpad "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" + Option "ClickMethod" "clickfinger" +EndSection diff --git a/roles/laptop/tasks/main.yml b/roles/laptop/tasks/main.yml index 735a6ae..dbe9c96 100644 --- a/roles/laptop/tasks/main.yml +++ b/roles/laptop/tasks/main.yml @@ -2,6 +2,9 @@ - include: tlp.yml - include: light-git.yml +- name: Copy touchpad configuration file + copy: src=30-touchpad.conf dest=/etc/X11/xorg.conf.d/30-touchpad.conf + - name: Copy logind configuration file copy: src=logind.conf dest=/etc/systemd/logind.conf