how to install gestures for ubuntu code example
Example: gestures in ubuntu
sudo gpasswd -a $USER input
sudo apt install libinput-tools xdotool
nano .config/libinput-gestures.conf
gesture swipe left 3 xdotool key alt+Right
gesture swipe right 3 xdotool key alt+Left
gesture swipe right 4 xdotool key ctrl+alt+Left
gesture swipe left 4 xdotool key ctrl+alt+Right
gesture swipe up 3 xdotool key super
gesture swipe down 3 xdotool key super+d
libinput-gestures-setup start
libinput-gestures-setup autostart