harshadgavali / gnome-gesture-improvements

Touchpad gesture improvements for GNOME on Wayland/X11
https://extensions.gnome.org/extension/4245/gesture-improvements/
GNU General Public License v3.0
322 stars 40 forks source link
gestures gnome-shell-extension touchpad typescript wayland x11

Touchpad Gesture Improvements

This extension modifies and extends existing touchpad gestures on GNOME.

Installation

From GNOME Extensions Website

Get it on EGO

Manually

  1. Install extension
    git clone https://github.com/harshadgavali/gnome-gesture-improvements.git/
    cd gnome-gesture-improvements
    npm install
    npm run update
  2. Log out and log in or just restart session (X11)
  3. Enable extension via extensions app or via command line
    gnome-extensions enable gestureImprovements@gestures

Additional app X11

On X11, you also need to install gnome-x11-gesture-daemon

Gestures (including built-in ones)

Swipe Gesture Modes Fingers Direction
Switch windows Desktop 3 Horizontal
Switch workspaces Overview 2/3 Horizontal
Switch app pages AppGrid 2/3 Horizontal
Switch workspaces * 4 Horizontal
Desktop/Overview/AppGrid navigation * 4 Vertical
Unmaximize/maximize/fullscreen a window Desktop 3 Vertical
Minimize a window Desktop 3 Vertical
Snap/half-tile a window Desktop 3 Explained below
Pinch Gesture Modes Fingers
Show Desktop Desktop 3/4
Application Gestures (Configurable)
Go back or forward in browser tab
Switch to next or previous image in image viewer
Switch to next or previous audio
Change tabs

For activating tiling gesture (inverted T gesture)

  1. Do a 3-finger vertical downward gesture on a unmaximized window
  2. Wait a few milliseconds
  3. Do a 3-finger horizontal gesture to tile a window to either side

Notes

Customization

Contributors

@jacksongoode @kyteinsky

Thanks

@ewlsh for Typescript definitions for GLib, GObject, ...