Update README
This commit is contained in:
parent
9c2d1532c7
commit
bb275a1c94
29
README.md
29
README.md
@ -1,6 +1,27 @@
|
||||
# Ubuntu-Comfortable-3-Finger-Swipe
|
||||
Comfortable 3-finger and 4-finger swipe gesture using Xdotool in native C++, for Ubuntu 16.04LTS and beyond.
|
||||
Author: Rico Tiongson
|
||||
|
||||
## Installation Instructions
|
||||
1. `sudo apt install libxdo-dev`
|
||||
2. `
|
||||
Comfortable 3-finger and 4-finger swipe gestures. Uses Xdotool in native C++. For Ubuntu 14.04 LTS and beyond.
|
||||
|
||||
## Installation
|
||||
1. `sudo apt install libinput-tools libinput-dev libxdo-dev`
|
||||
2. `git clone https://github.com/Hikari9/Ubuntu-Comfortable-3-Finger-Swipe.git`
|
||||
3. `cd Ubuntu-Comfortable-3-Finger-Swipe`
|
||||
4. Tweak `src/comfortable-swipe.cpp` to fit keyboard shortcuts of your gestures
|
||||
5. `bash install`
|
||||
|
||||
## How to Run
|
||||
1. `comfortable-swipe-serve`
|
||||
2. Flick away!
|
||||
|
||||
### Input Permissions
|
||||
Sometimes, you'll need some permissions to read touchpad input data. Perform these steps to solve the permission issue:
|
||||
|
||||
1. `sudo gpasswd -a input $USER`
|
||||
2. Log out / log back in
|
||||
|
||||
## Optional: Add to Startup Applications
|
||||
1. `gnome-session-properties`
|
||||
2. Click `Add`, then enter `comfortable-swipe-serve`
|
||||
|
||||

|
||||
BIN
img/sample.png
Normal file
BIN
img/sample.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
1
install
1
install
@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
DIR=$(dirname $0)
|
||||
echo "Compiling..."
|
||||
mkdir -p ~/.local/bin
|
||||
g++ -std=c++11 -O2 $DIR/src/comfortable-swipe.cpp -lxdo -o ~/.local/bin/comfortable-swipe || exec echo "Installation aborted"
|
||||
cat $DIR/src/comfortable-swipe-serve > ~/.local/bin/comfortable-swipe-serve
|
||||
chmod +x ~/.local/bin/comfortable-swipe-serve
|
||||
|
||||
Loading…
Reference in New Issue
Block a user