Kubuntu触摸板多指手势支持

我想知道在Kubuntu 12.10中是否有一种方法可以启用多指手势支持。我特别希望能够快速地切换桌面或最小化应用程序。其他功能也很好-我猜我喜欢OSX的方式。

2个回答

尝试使用libinput。
详情:
您需要使用APT安装软件包:
sudo apt install xdotool wmctrl libinput-tools

将您的用户放入组中:
sudo gpasswd -a $USER input

重启... 并使用GIT安装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

重启并享受 :)
尝试使用`libinput`。
详情:
使用APT安装以下软件包:
sudo apt install xdotool wmctrl libinput-tools

现在,将您的用户添加到input组中:
sudo gpasswd -a $USER input

重新启动... 并使用GIT安装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

重新启动并享受吧 :)

是的,我会编辑的... - Sósthenes Neto

抱歉,在Kubuntu 12.10中没有多指手势支持,至少不是你所描述的那种方式。
但是以防有人来这里寻求帮助配置他们的桌面环境,有几个选项可以使用键盘切换桌面或最小化应用程序。
在系统首选项应用程序“K->应用程序->系统首选项”中: 进入快捷键和手势。 在左侧进入全局键盘快捷键。 在名为“KDE组件”的顶部菜单中选择KWin。 现在您可以编辑桌面环境的所有快捷键。
好提示:您可以保存和加载包含每个KDE组件的所有喜爱快捷键的配置文件。
在较新的KDE版本中,有一个名为鼠标手势的新工具,提供了与您问题中描述的类似功能。
更多相关信息请参考: 系统设置/快捷键和手势