This README explains the configuration file for Fusuma, a multitouch gesture recognizer for Linux. The configuration defines various gestures and their associated actions for controlling system functions like brightness, media playback, volume, and window management.
The configuration supports two main types of gestures:
- Rotate
- Swipe
-
Clockwise: Increases screen brightness
- Default: Increases by 500 units
- With CTRL (left or right): Increases by 250 units
- With LEFT SHIFT: Increases by 2500 units
-
Counterclockwise: Decreases screen brightness
- Default: Decreases by 500 units
- With CTRL (left or right): Decreases by 250 units
- With LEFT SHIFT: Decreases by 2500 units
- Both clockwise and counterclockwise: Toggles media play/pause
-
Left: Activates alt-tab (window switching)
- Subsequent left swipes: Move to the next window
- Subsequent right swipes: Move to the previous window
- Up/Down swipes: Navigate through windows
-
Right: Performs alt-tab and releases alt key
-
End of swipe: Releases the alt key
-
Down: Decreases volume
- With LEFT SHIFT: Faster decrease
- With LEFT CTRL: Slower decrease
-
Up: Increases volume
- With LEFT SHIFT: Faster increase
- With LEFT CTRL: Slower increase
-
Right: Toggles mute
-
Left: Toggles microphone mute
This configuration relies on the following:
- KDE Plasma desktop environment
qdbus
for interacting with KDE's D-Bus interface- ydotool: ydotool should be installed and running, to emulate keypresses
- The configuration uses KDE's power management and global shortcuts for brightness and volume control.
- Window switching functionality creates a temporary file to track state.
- Adjust the paths and commands if your system setup differs.
You can modify the gesture actions, key combinations, and command intervals to suit your preferences. Be cautious when changing system commands to ensure they're compatible with your setup.