|
|
||
|---|---|---|
| src | ||
| install | ||
| LICENSE | ||
| README.md | ||
| uninstall | ||
Comfortable Swipe (Ubuntu)
Comfortable, seamless, and fast 3-finger (and 4-finger) touchpad swipe gestures for Ubuntu 14.04 LTS and beyond. May work for other Linux distros that support libinput.
Installation
-
Install
libinput-toolsandlibxdo-devsudo apt-get install libinput-tools libxdo-dev -
Clone this repository
git clone https://github.com/Hikari9/comfortable-swipe-ubuntu.git cd comfortable-swipe-ubuntu -
Install
bash install -
You may delete the downloaded
comfortable-swipe-ubuntufolder after installation.
How to Run
-
Make sure
~/.local/bin/is added to your PATH. -
Run
comfortable-swipe start -
Optional: Automatically run on startup
comfortable-swipe-autostart
Permissions
Sometimes, you'll need some permissions to read touchpad input data.
-
Find out your permission group with
ls -l /dev/input/event*$ ls -l /dev/input/event* crw-rw---- 1 root input 13, 64 Oct 23 23:09 /dev/input/event0 crw-rw---- 1 root input 13, 65 Oct 23 23:09 /dev/input/event1 crw-rw---- 1 root input 13, 66 Oct 23 23:09 /dev/input/event2 crw-rw---- 1 root input 13, 67 Oct 23 23:09 /dev/input/event3 -
Check the fourth column (e.g.
input) then runsudo gpasswd -a $USER input -
Important: Log out / Log back in
Configurations
The configuration file is located at ~/.config/comfortable-swipe.conf.
Make sure to run comfortable-swipe restart after making changes.
| Property | Description | Default Value | Default Behavior |
|---|---|---|---|
| left3 | 3-finger swipe left | ctrl+shift+Right | switch to right workspace |
| right3 | 3-finger swipe right | ctrl+shift+Left | switch to left workspace |
| up3 | 3-finger swipe up | super+w | window spread |
| down3 | 3-finger swipe down | super+w | window spread |
| left4 | 4-finger swipe left | ctrl+alt+shift+Right | move window to right workspace |
| right4 | 4-finger swipe right | ctrl+alt+shift+Left | move window to left workspace |
| up4 | 4-finger swipe up | super+d | show desktop |
| down4 | 4-finger swipe down | super+d | show desktop |
| threshold | mouse pixels to activate swipe; higher = less sensitive; integers only | 20 |
Uninstall
Download the uninstall script then run bash uninstall
Bug Reports
Create an issue here to report a bug.