Linux supports multi-touch. Do you want to have various gestures like Mac OS? I’ve never used a Mac, well I haven’t used /qiong either. Come DIY with me. Fusuma is an open source project hanging on github. Fusuma originates from Japanese and originally refers to this kind of door (see picture). Okay, not much to say,
1. First, list the touchpad gestures that come with Linux
No more talking about single-finger click
Two fingers to scroll up and down
Swipe left and right with two fingers to scroll
Two-finger click is equivalent to the right mouse button
Double-click with three fingers (click has no effect) to switch windows
Four-finger click is equivalent to super
2, ctrl Alt TOpen the terminal and enter sudo apt-get install libinput-tools. I have already installed it, so your results may be different from mine. If an error occurs, try sudo apt update, and then re-enter to run
3. Enter sudo apt-get install xdotool
4. Enter sudo su root. Enter the password, and it will look like this. Then enter gem install fusuma. If nothing else happens, the installation will be completed!
2. Custom gestures
1. Open the resource manager and find the .config directory under home
2. If you cannot find it, please find edit->preferences in the menu bar (the last one under edit), and check Show hidden files
3. Create a new fusuma directory under .config and open it. Create a new file named config.yml (Sorry, I typed it wrong in the picture)
4. Double-click to open the file and paste the following paragraph
swipe: 3: left: shortcut: 'alt Left' right: shortcut: 'alt Right' up: shortcut: 'ctrl t' down: shortcut: 'ctrl w' 4: left: shortcut: 'ctrl super Down' right: shortcut: 'alt F4' up: shortcut: 'ctrl super Up' down: shortcut: 'alt m'pinch: in: shortcut: 'ctrl plus' out: shortcut: 'ctrl minus'threshold: swipe: 1 pinch: 1
save.
5, 3 refers to three fingers, and 4 refers to something you know. Explain the first one under 3, left slide left, shortcut shortcut key, that is to say, sliding left with three fingers is equivalent to the shortcut key behind shortcut. If you are smart, you must understand what I mean. Add fusuma to startup to ensure that gestures are enabled. For detailed methods, refer to the link below (fill in fusuma in the command box). OK, you can slide around. . .
Precautions:
Please read this for beginners: When entering the password, it will not be echoed.
related suggestion:
How to set up Ubuntu 16.04 system after installation?
What should I do if the ubuntu system cannot install wps? What to do if the ubuntu system fails to install wps
How to change the custom theme in ubuntu16.04? Two ways to set the theme of ubuntu16.04
The above is the detailed content of How to customize touchpad gestures in Ubuntu 16.04 system?. For more information, please follow other related articles on the PHP Chinese website!