创建配置文件
fusuma 遵循 XDG Base Directory 规范,他的配置文件位于 ~/.config/fusuma 目录下,因此执行下面命令创建配置文件:mkdir -p ~/.config/fusuma # create config directory
touch ~/.config/fusuma/config.yml # edit config file.
配置 fusuma
通过 left、right、up、down 进行配置
点击 — pinch支持 2、3、4 指
通过 in、out 进行配置
旋转 — rotate支持 2、3、4 指
通过 clockwise、counterclockwise 进行配置
配置示例
swipe:
3:
left:
command: “xdotool key alt+Right” # History forward
right:
command: “xdotool key alt+Left” # History back
up:
command: “xdotool key super” # Activity
down:
command: “xdotool key super” # Activity
4:
left:
command: “xdotool key ctrl+alt+Down” # Switch to next workspace
right:
command: “xdotool key ctrl+alt+Up” # Switch to previous workspace
up:
command: “xdotool key ctrl+alt+Down” # Switch to next workspace
down:
command: “xdotool key ctrl+alt+Up” # Switch to previous workspace
pinch:
in:
command: “xdotool keydown ctrl click 4 keyup ctrl” # Zoom in
out:
command: “xdotool keydown ctrl click 5 keyup ctrl” # Zoom out
文章知识点与官方知识档案匹配,可进一步学习相关知识CS入门技能树Linux入门初识Linux24723 人正在系统学习中 相关资源:触摸屏测试软件v2.0免费绿色版_电脑触摸屏测试软件-其它代码类…
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!