Fusuma v2 is released! π
iberianpig / fusuma
Multitouch gestures with libinput driver on Linux
Fusuma
Fusuma is multitouch gesture recognizer This gem makes your linux able to recognize swipes or pinchs and assign commands to them.
θ₯(Fusuma) means sliding door used to partition off rooms in a Japanese house.
Features
- Easy installation with RubyGems
- Define gestures and actions in YAML format
- Sensitivity settings (threshold, interval) for gesture recognition
- Automatic addition of external touchpads
- Feature extension via a plugin system
Installation
Grant permission to read the touchpad device
IMPORTANT: You MUST be a member of the INPUT group to read touchpad by Fusuma.
sudo gpasswd -a $USER input
Then, You apply the change with no logout or reboot.
newgrp input
IMPORTANT: This makes /dev/input/
readable, so if that's an issue for you for some reason (like for privacy- or securityconcerns etc. or if it causes other parts of your OS to misbehave), consider this your heads-up.
For Debian Based Distros (Ubuntu, Debian, Mint,
There are a lot of updates in Fusuma v2.
- Performance improvements with multiprocessing and IO multiplexing.
- Real-time continuation gestures
- Contextual switching of gesture settings and other enhancements!
Update Fusuma
You can update Fusuma with the gem command.
No need to use sudo
if you haven't installed it using system-wide Ruby.
$ sudo gem update fusuma
If you have any installed Fusuma plugins, update them all.
List fusuma plugins
$ sudo gem list fusuma-plugin-
fusuma-plugin-keypress (0.4.1)
fusuma-plugin-sendkey (0.6.2)
fusuma-plugin-wmctrl (0.4.3)
Update fusuma plugins
$ sudo gem update fusuma-plugin-sendkey fusuma-plugin-wmctrl fusuma-plugin-keypress
More powerful tweaks with Fusuma v2!π¦Ύ
Some useful features have been available using the v2 API.
- App-specific gesture settings (iberianpig/fusuma-plugin-appmatcher)
- Mac OS style three-finger drag
- Windows-style 3-finger swipe to switch windows
- Swipe/rotate to adjust volume and change brightness.
I will write a series of articles about these configuration details.
β BTW, I realized that three-finger drag was really useful after I implemented it.
Watch Fusuma Wikiπ€
Some configs have already been added to the fusuma Wiki.
Anyone can edit this Fusuma Wiki.
It also contains settings for various distributions or WM(Ubuntu, Linux Mint, Pop!_OS, KDE, i3...). If you find any valuable configurations, please share them on Fusuma Wiki. I look forward to seeing new tips.
Top comments (0)