Last active
May 29, 2019 14:55
-
-
Save StenHigh/681ebde33f50e9e00ec9fa88069b7d92 to your computer and use it in GitHub Desktop.
libinput-gestures for kde touch pad
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo gpasswd -a $USER input && | |
sudo apt install xdotool wmctrl -y && | |
sudo apt install libinput-tools -y && | |
git clone https://github.com/bulletmark/libinput-gestures.git && | |
cd libinput-gestures && | |
sudo make install && | |
libinput-gestures-setup autostart | |
cat > ~/.config/libinput-gestures.conf <<EOL | |
gesture swipe up _internal ws_up | |
gesture swipe up xdotool key super+Page_Up | |
gesture swipe down xdotool key ctrl+F9 | |
gesture swipe left xdotool key ctrl+alt+Tab | |
gesture swipe right xdotool key alt+Tab | |
gesture pinch in xdotool key super+Page_Up | |
EOL | |
cat > ~/.config/autostart/libinput-gestures.desktop <<EOL | |
[Desktop Entry] | |
Type=Application | |
Terminal=false | |
Name=Libinput Gestures | |
Exec=/usr/bin/libinput-gestures | |
Icon=libinput-gestures | |
Comment=Background application to intercept and action libinput gestures from touchpad. | |
Categories=GNOME;GTK;System; | |
EOL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment