fusuma 触控板支持多指触控及手势
# fusuma 触控板支持多指触控及手势
使用及配置
- fusuma github (opens new window)
- 为了实现多指点击(tap)功能,需要按装相应的插件 (opens new window)
- 对于 tap 功能,对应的插件为 fusuma-plugin-tap (opens new window)
- Ubuntu 20.04,配置文件在
~/.config/fusuma/config.yml
中示例配置文件
tap: 3: command: "xdotool key super" 4: command: "xdotool key super+a" swipe: 3: left: command: "xdotool key super+Left" right: command: "xdotool key super+Right" up: command: "xdotool key super+Up"a down: command: "xdotool key super+Down" 4: left: command: "xdotool key super+shift+Prior" right: command: "xdotool key super+shift+Next" # command: "xdotool key super" up: command: "xdotool key ctrl+alt+Down" down: command: "xdotool key ctrl+alt+Up" pinch: in: command: "xdotool keydown ctrl click 4 keyup ctrl" # Zoom in out: command: "xdotool keydown ctrl click 5 keyup ctrl" # Zoom out threshold: swipe: 0.3 pinch: 0.1 interval: swipe: 1 pinch: 1 plugin: inputs: libinput_command_input: enable-tap: true verbose: true
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
设为开机启动
- 将
where fusuma
输出的路径添加到启动项(Startup Applications Preferences)中,以便开机启动
编辑 (opens new window)
上次更新: 2022/02/19, 13:02:00