我想知道在Kubuntu 12.10中是否有一种方法可以启用多指手势支持。我特别希望能够快速地切换桌面或最小化应用程序。其他功能也很好-我猜我喜欢OSX的方式。
我想知道在Kubuntu 12.10中是否有一种方法可以启用多指手势支持。我特别希望能够快速地切换桌面或最小化应用程序。其他功能也很好-我猜我喜欢OSX的方式。
sudo apt install xdotool wmctrl libinput-tools
sudo gpasswd -a $USER input
libinput-gestures
:git clone http://github.com/bulletmark/libinput-gestures
cd libinput-gestures
sudo ./libinput-gestures-setup instal
~/.config/libinput-gestures.conf
并填充您的配置。示例:# Toggle Present Windows (Current desktop)
gesture swipe left 3 xdotool key alt+Tab
gesture swipe right 3 xdotool key shift+alt+Tab
# Terminal (I create the shortkeys in Kubuntu and apply it here)
gesture swipe down 3 xdotool key super+z
gesture swipe up 3 xdotool key super+z
# Show Desktop Grid
gesture swipe down 4 xdotool key control+F10
# Show Desktop
gesture swipe up 4 xdotool key super+d
# Show next desktop
gesture swipe right 4 xdotool key control+alt+Left
# Show previous desktop
gesture swipe left 4 xdotool key control+alt+Right
# Zoom (I create the shortkeys in Kubuntu and apply it here)
gesture pinch out xdotool key super+o
gesture pinch in xdotool key super+i
libinput-gestures-setup autostart
sudo apt install xdotool wmctrl libinput-tools
input
组中:sudo gpasswd -a $USER input
libinput-gestures
:git clone http://github.com/bulletmark/libinput-gestures
cd libinput-gestures
sudo ./libinput-gestures-setup instal
创建文件~/.config/libinput-gestures.conf
并在其中编写您的配置。示例:
# Trocar as janelas (Área de trabalho atual)
gesture swipe left 3 xdotool key alt+Tab
gesture swipe right 3 xdotool key shift+alt+Tab
# Terminal (Eu criei os atalhos no Kubuntu e usei aqui)
gesture swipe down 3 xdotool key super+z
gesture swipe up 3 xdotool key super+z
# Mostrar a grid de janelas
gesture swipe down 4 xdotool key control+F10
# Mostrar a área de trabalho
gesture swipe up 4 xdotool key super+d
# Trocar a área de trabalho com a esquerda
gesture swipe right 4 xdotool key control+alt+Left
# Trocar a área de trabalho com a direita
gesture swipe left 4 xdotool key control+alt+Right
# Zoom (Eu criei os atalhos no Kubuntu e usei aqui)
gesture pinch out xdotool key super+o
gesture pinch in xdotool key super+i
libinput-gestures-setup autostart