Adding Gestures

Add yourself to the input group

PLAINTEXT
sudo gpasswd -a $USER input 

Install dependencies sudo apt-get install xdotool wmctrl libinput-tools and Clone and install

PLAINTEXT
git clone http://github.com/bulletmark/libinput-gestures 
cd libinput-gestures 
sudo ./libinput-gestures-setup install

Create a custom configuration file

PLAINTEXT
vim ~/.config/libinput-gestures.conf
PLAINTEXT
gesture swipe up 4 xdotool key super+Up
gesture swipe down 4 xdotool key super+Down
gesture swipe left 4 xdotool key super+Right
gesture swipe right 4 xdotool key super+Left

gesture swipe left 3 xdotool key alt+Left
gesture swipe right 3 xdotool key alt+Right
gesture swipe up 3 xdotool key ctrl+Page_Down
gesture swipe down 3 xdotool key ctrl+Page_Up

라이선스

작성자: Jaehun Ryu

링크: https://jaehun.me/posts/elementryos-mouch-pad-using-it-like-a-mac-touch-gestures-lokijuno/

라이선스: CC BY 4.0

이 저작물은 크리에이티브 커먼즈 저작자표시 4.0 국제 라이선스에 따라 이용할 수 있습니다. 출처를 밝히면 상업적 목적을 포함해 자유롭게 이용 가능합니다.

댓글