Instructions for extra touchpad gestures
(01-18-2020, 11:12 AM)appdev46 Wrote:
(12-27-2019, 11:48 PM)clover Wrote: If you would like to have page back and page forward gestures (swipe left and right with THREE fingers) on your Pinebook Pro, look no further! This is how I got mine set up.

BTW I am using Manjaro KDE, if you are using something else, YMMV.

Download xdotool
sudo pacman -S xdotool

Enable AUR and download libinput-gestures

sudo pacman -S libinput-gestures
make your users config settings file based off the default

cp /etc/libinput-gestures.conf ~/.config/
Start it up!

libinput-gestures-setup start
if you want to have it start on every boot.

libinput-gestures-setup autostart
Enjoy your new fancy three finger swipes to move back and forth between webpages. The config file is very customizable so feel free to get creative. 

If you would also like the ability to switch between workspaces (desktops) with a four finger swipe,
insert this edit starting line 75:

# 3 finger Browser go forward (works only for Xorg, and Xwayland clients)
gesture swipe left      3 xdotool key alt+Right
# 4 finger workspace/desktop switch
gesture swipe left      4 xdotool key ctrl+F2
# 3 finger Browser go back (works only for Xorg, and Xwayland clients)
gesture swipe right     3 xdotool key alt+Left
# 4 finger workspace/desktop switch
gesture swipe right     4 xdotool key ctrl+F1

NOTE: the Manjaro ARM KDE image does not have virtual desktops set up by default, you will have to add a second one yourself:
Virtual Desktops -> Add -> edit your new desktop to say 'Desktop 2'. you should now see Desktop 1 and 2 in the list.

Would you have any idea how to get this working on the default Debian image?  I don't know what repo I would need to get libinput installed.
updated original post

Messages In This Thread
RE: Instructions for browser touchpad gestures - by clover - 01-20-2020, 09:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Instructions for Installing VS Code on Manjaro clover 6 10,384 06-04-2020, 09:37 PM
Last Post: pfeerick

Forum Jump:

Users browsing this thread: 1 Guest(s)