/mouse-swipe

Swipe gestures support for mouse buttons

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

mouse-swipe

Swipe gestures support for mouse buttons through systemd service that intercepts and emulates input device events. Only up, down, left and right swipes are supported. You can also configure buttons to emulate vertical and horizontal scroll while they're pressed.

Since it operates at evdev level, it works on X11 and Wayland.

The default configuration works fine on Gnome desktop, activating the overview and switching workspaces through right mouse button swipes. For integration with other desktops edit the config file (/etc/mouse-swipe.conf) and restart the service (systemctl restart mouse-swipe.service).

Dependencies

Installation

git clone https://github.com/tcorreabr/mouse-swipe.git
sudo mouse-swipe/install

To uninstall:

sudo mouse-swipe/uninstall

If you have edited the /etc/mouse-swipe.conf file, you might want to make a backup of it before uninstalling.