/touchpad-window-switcher-gnome-ext

Gnome extension that allows to swtich windows like Windows with the touchpad

Primary LanguageJavaScript

Touchpad Window Switcher (Gnome extension)

Gnome extension that allows to switch windows like Windows with a touchpad gesture (3 fingers right-left).

Capabilities:

  • Swipe with 3 fingers right-left to switch windows
  • Swipe with 3 fingers up-down to show desktop/overview
  • Swipe with 4 fingers to change worksapce
  • Swipe down to show desktop (see instructions below)
  • Swipe up to open the overview
    • Once in overview you can change windows there by swiping right/left and selecting with down

Works on Wayland out of the box. To make it work on Xorg:

  1. Download the dbus_service folder. And place it whereever you want (/opt?)
  2. Install the dependencies:
sudo apt install libinput-dev python3-pip
pip3 install python-libinput==0.1.0
  1. Add the user to the input group with sudo gpasswd -a $USER input
  2. Run the service with python3 main.py

Optional: of you want the show desktop to work set up the Super+D keybinding with gsettings set org.gnome.desktop.wm.keybindings show-desktop '<Super>d'.

Make sure the extension runs after the service, try disabling and enabling it on the extensions app if necesary.

Demo