Last active
July 7, 2026 16:55
-
-
Save rustyx/47727c7f6e19ec24d7a9cbd06cc255ec to your computer and use it in GitHub Desktop.
Example InputActions config with common mouse gestures for Ubuntu / GNOME
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| device_rules: | |
| - conditions: $mouse | |
| grab: true | |
| ignore: false | |
| motion_timeout: 500 | |
| motion_threshold: 30 | |
| # Never leak a right-click while a gesture is being captured. | |
| unblock_buttons_on_timeout: false | |
| mouse: | |
| gestures: | |
| - type: stroke | |
| strokes: 'AAEAGGRiZAA=' # right-down | |
| mouse_buttons: [ right ] | |
| actions: | |
| - on: end | |
| input: | |
| - keyboard: [ leftctrl+t ] # new tab | |
| - type: stroke | |
| strokes: 'V2QAugwAZAA=' # left-up | |
| mouse_buttons: [ right ] | |
| actions: | |
| - on: end | |
| input: | |
| - keyboard: [ leftctrl+w ] # close tab | |
| - type: stroke | |
| strokes: 'ZCgAXgA7ZAA=' # left | |
| mouse_buttons: [ right ] | |
| actions: | |
| - on: end | |
| input: | |
| - keyboard: [ leftalt+left ] # back | |
| - type: stroke | |
| strokes: 'ADcA/WQsZAA=' # right | |
| mouse_buttons: [ right ] | |
| actions: | |
| - on: end | |
| input: | |
| - keyboard: [ leftalt+right ] # forward | |
| - type: stroke | |
| strokes: 'BGQA5l8AZAA=' # right-up | |
| mouse_buttons: [ right ] | |
| actions: | |
| - on: end | |
| input: | |
| - keyboard: [ leftmeta+up ] # maximize | |
| - type: stroke | |
| strokes: 'YQAASgJkZAA=' # left-down | |
| mouse_buttons: [ right ] | |
| actions: | |
| - on: end | |
| input: | |
| - keyboard: [ leftmeta+h ] # minimize | |
| - type: stroke | |
| strokes: 'L1QAzzEALTE0ZGQA' # up-down | |
| mouse_buttons: [ right ] | |
| actions: | |
| - on: end | |
| input: | |
| - keyboard: [ leftctrl+r ] # reload | |
| - type: stroke | |
| strokes: 'AFAA4jEILyBkW2QA' # right-up-right-down | |
| mouse_buttons: [ right ] | |
| actions: | |
| - on: end | |
| input: | |
| - keyboard: [ leftctrl+tab ] # next tab | |
| - type: stroke | |
| strokes: 'ZEwAwD8BKUQAYmQA' # left-up-left-down | |
| mouse_buttons: [ right ] | |
| actions: | |
| - on: end | |
| input: | |
| - keyboard: [ leftctrl+leftshift+tab ] # previous tab | |
| - type: stroke | |
| strokes: 'XAcAYxAIHz4AMDEjDEo8ESJXRwNZXF7oZFNkAA==' # C | |
| mouse_buttons: [ right ] | |
| actions: | |
| - on: end | |
| input: | |
| - keyboard: [ leftalt+f4 ] # close window | |
| - type: stroke | |
| strokes: 'YRgAUDE6GVwNQiqrADww1QIuNv0XLD8MZEtkAA==' # fish left: left-down-left-left-up-up-right-up-right-right-down | |
| mouse_buttons: [ right ] | |
| actions: | |
| - on: end | |
| command: gnome-calculator |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment