Kubuntu 触控板多指手势支持

Mar*_*tyn 7 kde multi-touch trackpad kubuntu

我想知道是否有办法在 Kubuntu 12.10 中启用多指手势支持。我特别希望能够快速更改桌面或最小化应用程序。其他功能也很棒——我想我喜欢 OSX 的做法。

小智 1

抱歉,Kubuntu 12.10 不支持多指手势。至少以你描述的方式。

但以防万一有人来这里寻求配置桌面环境的帮助,有几个选项可以更改桌面或使用键盘最小化应用程序。

在系统偏好设置应用程序中“K->应用程序->系统偏好设置”:转到快捷方式和手势。在左侧转到全局键盘快捷键。在名为“KDE 组件”的顶部菜单中选择 KWin。您现在可以编辑桌面环境的所有快捷方式。

温馨提示:您可以使用 KDE 每个组件的所有您喜爱的快捷方式保存和加载配置文件。

在较新的 KDE 版本中,有一个名为“鼠标手势”的新工具,它提供了一些与您的问题中描述的功能类似的功能。

有更多相关信息: 系统设置/快捷方式和手势


小智 1

en_US:尝试使用libinput

\n\n

细节

\n\n

您必须使用 APT 安装软件包:

\n\n
sudo apt install xdotool wmctrl libinput-tools\n
Run Code Online (Sandbox Code Playgroud)\n\n

并将您的用户放入input组中:

\n\n
sudo gpasswd -a $USER input\n
Run Code Online (Sandbox Code Playgroud)\n\n

重新启动...并libinput-gestures使用 GIT 安装:

\n\n
git clone http://github.com/bulletmark/libinput-gestures\ncd libinput-gestures\nsudo ./libinput-gestures-setup instal\n
Run Code Online (Sandbox Code Playgroud)\n\n

创建文件~/.config/libinput-gestures.conf并使用您的配置进行扩充。例子:

\n\n
# Toggle Present Windows (Current desktop)\ngesture swipe left 3 xdotool key alt+Tab\ngesture swipe right 3 xdotool key shift+alt+Tab\n\n# Terminal (I create the shortkeys in Kubuntu and apply it here)\ngesture swipe down 3 xdotool key super+z\ngesture swipe up 3 xdotool key super+z\n\n# Show Desktop Grid\ngesture swipe down 4 xdotool key control+F10\n\n# Show Desktop                                                                                                                                        \ngesture swipe up 4 xdotool key super+d                                                                                                                \n\n# Show next desktop                                                                                                                                   \ngesture swipe right 4 xdotool key control+alt+Left                                                                                                    \n\n# Show previous desktop                                                                                                                               \ngesture swipe left 4 xdotool key control+alt+Right\n\n# Zoom (I create the shortkeys in Kubuntu and apply it here)\ngesture pinch out xdotool key super+o\ngesture pinch in xdotool key super+i\n
Run Code Online (Sandbox Code Playgroud)\n\n

要设置为自动启动,请在终端中调用以下命令:

\n\n
libinput-gestures-setup autostart\n
Run Code Online (Sandbox Code Playgroud)\n\n

重新启动并享受:)

\n\n
\n\n

pt_BR : 常使用 alibinput

\n\n

详细信息

\n\n

安装 os pacotes abaixo com 或 APT:

\n\n
sudo apt install xdotool wmctrl libinput-tools\n
Run Code Online (Sandbox Code Playgroud)\n\n

Agora,可以使用\xc3\xa1rio 组input

\n\n
sudo gpasswd -a $USER input\n
Run Code Online (Sandbox Code Playgroud)\n\n

Reinicie...E instale o libinput-gesturescom o GIT:

\n\n
git clone http://github.com/bulletmark/libinput-gestures\ncd libinput-gestures\nsudo ./libinput-gestures-setup instal\n
Run Code Online (Sandbox Code Playgroud)\n\n

~/.config/libinput-gestures.conf输入配置\xc3\xa7\xc3\xb5es 的信息。示例:

\n\n
# Trocar as janelas (\xc3\x81rea de trabalho atual)\ngesture swipe left 3 xdotool key alt+Tab\ngesture swipe right 3 xdotool key shift+alt+Tab\n\n# Terminal (Eu criei os atalhos no Kubuntu e usei aqui)\ngesture swipe down 3 xdotool key super+z\ngesture swipe up 3 xdotool key super+z\n\n# Mostrar a grid de janelas\ngesture swipe down 4 xdotool key control+F10\n\n# Mostrar a \xc3\xa1rea de trabalho                                                                                                                                   \ngesture swipe up 4 xdotool key super+d                                                                                                                \n\n# Trocar a \xc3\xa1rea de trabalho com a esquerda                                                                                                                                   \ngesture swipe right 4 xdotool key control+alt+Left                                                                                                    \n\n# Trocar a \xc3\xa1rea de trabalho com a direita                                                                                                                          \ngesture swipe left 4 xdotool key control+alt+Right\n\n# Zoom (Eu criei os atalhos no Kubuntu e usei aqui)\ngesture pinch out xdotool key super+o\ngesture pinch in xdotool key super+i\n
Run Code Online (Sandbox Code Playgroud)\n\n

启动自动配置,不执行终端:

\n\n
libinput-gestures-setup autostart\n
Run Code Online (Sandbox Code Playgroud)\n\n

Reinicie e aproveite :)

\n