Gnome30下gesture配置记录

Ubuntu 18.10/Debian buster Gnome

Xorg下配置的多指操控的配置文件,需要在github安装libinput gesture 后使用
安装指导参考 :https://github.com/bulletmark/libinput-gestures
1.sudo gpasswd -a $USER input
2.# apt install xdotool wmctrl libinput-tools git
3.git clone https://github.com/bulletmark/libinput-gestures.git
cd libinput-gestures
.# make install
4.# libinput-gestures-setup autostart
5. cp /etc/libinput-gestures.conf /home/xxxx/.config/
6.在.config/libinput-gestures.conf 文件中写入:

gesture pinch in 2 xdotool key ctrl+minus
gesture pinch out 2 xdotool key ctrl+plus

gesture swipe up 3 xdotool key Alt+F10
gesture swipe down 3 xdotool key Alt+F10
gesture swipe left 3 xdotool key Super+Left
gesture swipe right 3 xdotool key Super+Right

gesture swipe up 4 gesture pinch in 2 xdotool key ctrl+minus
gesture pinch out 2 xdotool key ctrl+plus

gesture swipe up 3 xdotool key Alt+F10
gesture swipe down 3 xdotool key Alt+F10
gesture swipe left 3 xdotool key Super+Left
gesture swipe right 3 xdotool key Super+Right

gesture swipe up 4 xdotool key Super+PageUp
gesture swipe down 4 xdotool key Super+PageDown
gesture swipe left 4 xdotool key Alt+Tab
gesture swipe right 4 xdotool key Alt+Shift+Tab xdotool key Super+PageUp
gesture swipe down 4 xdotool key Super+PageDown
gesture swipe left 4 xdotool key Alt+Tab
gesture swipe right 4 xdotool key Alt+Shift+Tab

放大或缩小当前窗口
左移动当前窗口
上一个虚拟桌面
ps:放大缩小不灵敏,//均为备注使用时全部删除.

Gnome wayland 下多指:
apt install tweaks
然后去Gnome扩展商店搜:
Gesture extended 并设置手势,wayland下打开pdf的时候可以使用触摸板放大功能

你可能感兴趣的:(Gnome30下gesture配置记录)