On peut trouver libinput-gestures sur github.
Il faut être dans le groupe “input” pour que cela fonctionne :
$ sudo gpasswd -a $USER input Adding user simon to group input
Il faut fermer sa session et la ré-ouvrir pour que l'ajout dans le groupe soit pris en compte.
$ sudo apt install xdotool wmctrl libinput-tools $ cd github/ $ git clone http://github.com/bulletmark/libinput-gestures Clonage dans 'libinput-gestures'... warning: redirection vers https://github.com/bulletmark/libinput-gestures/ remote: Counting objects: 522, done. remote: Compressing objects: 100% (33/33), done. remote: Total 522 (delta 21), reused 30 (delta 9), pack-reused 474 Réception d'objets: 100% (522/522), 157.51 KiB | 786.00 KiB/s, fait. Résolution des deltas: 100% (330/330), fait. $ cd libinput-gestures/ $ sudo ./libinput-gestures-setup install 'libinput-gestures-setup' -> '/usr/bin/libinput-gestures-setup' 'libinput-gestures' -> '/usr/bin/libinput-gestures' 'libinput-gestures.desktop' -> '/usr/share/applications/libinput-gestures.desktop' 'libinput-gestures.png' -> '/usr/share/icons/hicolor/128x128/apps/libinput-gestures.png' 'libinput-gestures.conf' -> '/etc/libinput-gestures.conf' install: création du répertoire '/usr/share/doc/libinput-gestures' 'README.md' -> '/usr/share/doc/libinput-gestures/README.md' gtk-update-icon-cache: Cache file created successfully. $ libinput-gestures-setup start libinput-gestures started. Failed to open /dev/input/event7 (Permission denied) Failed to open /dev/input/event11 (Permission denied) Failed to open /dev/input/event5 (Permission denied) Failed to open /dev/input/event6 (Permission denied) Failed to open /dev/input/event1 (Permission denied) Failed to open /dev/input/event2 (Permission denied) Failed to open /dev/input/event8 (Permission denied) Failed to open /dev/input/event12 (Permission denied) Failed to open /dev/input/event13 (Permission denied) Failed to open /dev/input/event14 (Permission denied) Failed to open /dev/input/event15 (Permission denied) Failed to open /dev/input/event16 (Permission denied) Failed to open /dev/input/event17 (Permission denied) Failed to open /dev/input/event18 (Permission denied) Failed to open /dev/input/event19 (Permission denied) Failed to open /dev/input/event0 (Permission denied) Failed to open /dev/input/event3 (Permission denied) Failed to open /dev/input/event4 (Permission denied) Failed to open /dev/input/event9 (Permission denied) Failed to open /dev/input/event10 (Permission denied) Can not see any devices, did you add yourself to the input group and log out/in? Could not determine touchpad device.
$ libinput-gestures-setup start libinput-gestures started. Failed to open /dev/input/event7 (Permission denied) Failed to open /dev/input/event11 (Permission denied) Failed to open /dev/input/event5 (Permission denied) Failed to open /dev/input/event6 (Permission denied) Failed to open /dev/input/event1 (Permission denied) Failed to open /dev/input/event2 (Permission denied) Failed to open /dev/input/event8 (Permission denied) Failed to open /dev/input/event12 (Permission denied) Failed to open /dev/input/event13 (Permission denied) Failed to open /dev/input/event14 (Permission denied) Failed to open /dev/input/event15 (Permission denied) Failed to open /dev/input/event16 (Permission denied) Failed to open /dev/input/event17 (Permission denied) Failed to open /dev/input/event18 (Permission denied) Failed to open /dev/input/event19 (Permission denied) Failed to open /dev/input/event0 (Permission denied) Failed to open /dev/input/event3 (Permission denied) Failed to open /dev/input/event4 (Permission denied) Failed to open /dev/input/event9 (Permission denied) Failed to open /dev/input/event10 (Permission denied) Can not see any devices, did you add yourself to the input group and log out/in? Could not determine touchpad device.
Solution:
input
:
<code bash> $ sudo gpasswd -a $USER input Adding user simon to group input