(01-18-2020, 11:12 AM)appdev46 Wrote:updated original post(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
Code:sudo pacman -S xdotool
Enable AUR and download libinput-gestures
make your users config settings file based off the defaultCode:sudo pacman -S libinput-gestures
Start it up!Code:cp /etc/libinput-gestures.conf ~/.config/
if you want to have it start on every boot.Code:libinput-gestures-setup start
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.Code:libinput-gestures-setup autostart
EDIT:
If you would also like the ability to switch between workspaces (desktops) with a four finger swipe,
insert this edit starting line 75:
Code:# 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.
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Instructions for Installing VS Code on Manjaro | clover | 6 | 14,195 |
06-04-2020, 09:37 PM Last Post: pfeerick |
Users browsing this thread: 2 Guest(s)