Created
February 6, 2019 09:21
-
-
Save ddrager/43f41a77573c520129672faf246c1aa3 to your computer and use it in GitHub Desktop.
Deepin Linux Touchpad Config - Including 3 tap for middle button click. /usr/share/dde-daemon/gesture.json
This file contains 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
[ | |
{ | |
"Name": "tap", | |
"Direction": "none", | |
"Fingers": 3, | |
"Action": { | |
"Type": "commandline", | |
"Action": "xdotool click 2" | |
} | |
}, | |
{ | |
"Name": "swipe", | |
"Direction": "up", | |
"Fingers": 3, | |
"Action": { | |
"Type": "built-in", | |
"Action": "ToggleMaximize" | |
} | |
}, | |
{ | |
"Name": "swipe", | |
"Direction": "down", | |
"Fingers": 3, | |
"Action": { | |
"Type": "built-in", | |
"Action": "ToggleMaximize" | |
} | |
}, | |
{ | |
"Name": "swipe", | |
"Direction": "left", | |
"Fingers": 3, | |
"Action": { | |
"Type": "built-in", | |
"Action": "SplitWindowLeft" | |
} | |
}, | |
{ | |
"Name": "swipe", | |
"Direction": "right", | |
"Fingers": 3, | |
"Action": { | |
"Type": "built-in", | |
"Action": "SplitWindowRight" | |
} | |
}, | |
{ | |
"Name": "pinch", | |
"Direction": "in", | |
"Fingers": 3, | |
"Action": { | |
"Type": "built-in", | |
"Action": "ShowWindow" | |
} | |
}, | |
{ | |
"Name": "pinch", | |
"Direction": "out", | |
"Fingers": 3, | |
"Action": { | |
"Type": "built-in", | |
"Action": "ShowWindow" | |
} | |
}, | |
{ | |
"Name": "swipe", | |
"Direction": "up", | |
"Fingers": 4, | |
"Action": { | |
"Type": "built-in", | |
"Action": "ShowWorkspace" | |
} | |
}, | |
{ | |
"Name": "swipe", | |
"Direction": "down", | |
"Fingers": 4, | |
"Action": { | |
"Type": "built-in", | |
"Action": "ShowWorkspace" | |
} | |
}, | |
{ | |
"Name": "swipe", | |
"Direction": "left", | |
"Fingers": 4, | |
"Action": { | |
"Type": "built-in", | |
"Action": "ReverseSwitchWorkspace" | |
} | |
}, | |
{ | |
"Name": "swipe", | |
"Direction": "right", | |
"Fingers": 4, | |
"Action": { | |
"Type": "built-in", | |
"Action": "SwitchWorkspace" | |
} | |
}, | |
{ | |
"Name": "pinch", | |
"Direction": "in", | |
"Fingers": 4, | |
"Action": { | |
"Type": "commandline", | |
"Action": "qdbus --literal com.deepin.dde.Launcher /com/deepin/dde/Launcher com.deepin.dde.Launcher.Toggle" | |
} | |
}, | |
{ | |
"Name": "pinch", | |
"Direction": "out", | |
"Fingers": 4, | |
"Action": { | |
"Type": "commandline", | |
"Action": "/usr/lib/deepin-daemon/desktop-toggle" | |
} | |
}, | |
{ | |
"Name": "swipe", | |
"Direction": "up", | |
"Fingers": 5, | |
"Action": { | |
"Type": "built-in", | |
"Action": "ShowWorkspace" | |
} | |
}, | |
{ | |
"Name": "swipe", | |
"Direction": "down", | |
"Fingers": 5, | |
"Action": { | |
"Type": "built-in", | |
"Action": "ShowWorkspace" | |
} | |
}, | |
{ | |
"Name": "swipe", | |
"Direction": "left", | |
"Fingers": 5, | |
"Action": { | |
"Type": "built-in", | |
"Action": "ReverseSwitchWorkspace" | |
} | |
}, | |
{ | |
"Name": "swipe", | |
"Direction": "right", | |
"Fingers": 5, | |
"Action": { | |
"Type": "built-in", | |
"Action": "SwitchWorkspace" | |
} | |
}, | |
{ | |
"Name": "pinch", | |
"Direction": "in", | |
"Fingers": 5, | |
"Action": { | |
"Type": "commandline", | |
"Action": "qdbus --literal com.deepin.dde.Launcher /com/deepin/dde/Launcher com.deepin.dde.Launcher.Toggle" | |
} | |
}, | |
{ | |
"Name": "pinch", | |
"Direction": "out", | |
"Fingers": 5, | |
"Action": { | |
"Type": "commandline", | |
"Action": "/usr/lib/deepin-daemon/desktop-toggle" | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use an external mouse