触摸全球手势呈灰色,并说“ Gnome”使用。

发布于 2025-02-13 03:14:15 字数 1535 浏览 1 评论 0原文

我刚刚在笔记本电脑上安装了Manjaro 21.3.1(带有Gnome 42),而3和4手指手势不起作用。

我尝试从Aur和Touché重新安装Touchegg(UI) app)。
我还尝试了TouchEGG reposority

$ sudo systemctl enable touchegg.service
$ sudo systemctl start touchegg

且服务是活动且运行:

● touchegg.service - Touchégg Daemon
     Loaded: loaded (/usr/lib/systemd/system/touchegg.service; enabled; vendor preset: disabled)
     Active: active (running) since Sun 2022-07-03 12:42:52 CEST; 6min ago
       Docs: https://github.com/JoseExposito/touchegg/tree/master/installation#readme
   Main PID: 508 (touchegg)
      Tasks: 4 (limit: 9176)
     Memory: 13.8M
        CPU: 2.763s
     CGroup: /system.slice/touchegg.service
             └─508 /usr/bin/touchegg --daemon

i I =“ nofollow noreferrer”> i: i还验证了我的轨道垫子是否可以处理手势。

Device:           MSFT0001:02 06CB:7F8F Touchpad
Kernel:           /dev/input/event7
Group:            6
Seat:             seat0, default
Size:             102x67mm
Capabilities:     pointer gesture

最后,我尝试安装 x11手势。

有什么方法可以解决这个问题吗?
(我希望不使用Wayland,因为它会破坏像团队这样的某些应用程序。)

I just installed Manjaro 21.3.1 (with gnome 42) on my laptop and 3 and 4 finger gestures don't work.

Touché UI grayed out

I tried reinstalling Touchegg from AUR as well as Touché (the UI app).
I also tried those command lines from the Touchegg repository :

$ sudo systemctl enable touchegg.service
$ sudo systemctl start touchegg

And the service is active and running :

● touchegg.service - Touchégg Daemon
     Loaded: loaded (/usr/lib/systemd/system/touchegg.service; enabled; vendor preset: disabled)
     Active: active (running) since Sun 2022-07-03 12:42:52 CEST; 6min ago
       Docs: https://github.com/JoseExposito/touchegg/tree/master/installation#readme
   Main PID: 508 (touchegg)
      Tasks: 4 (limit: 9176)
     Memory: 13.8M
        CPU: 2.763s
     CGroup: /system.slice/touchegg.service
             └─508 /usr/bin/touchegg --daemon

I also verified if my track-pad could handle gestures.

Device:           MSFT0001:02 06CB:7F8F Touchpad
Kernel:           /dev/input/event7
Group:            6
Seat:             seat0, default
Size:             102x67mm
Capabilities:     pointer gesture

Finally, I tried to install x11 gestures from gnome extensions but still nothing.

Is there any way to solve this issue?
(I would prefer not using Wayland as it breaks some apps like Teams.)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

昨迟人 2025-02-20 03:14:15

我设法找到了“解开”设置的解决方案。

我去了/home/.config/touchegg.conf
然后替换了所有,

<action type="GNOME_SHELL"></action>

然后

<action type="SHOW_DESKTOP">
        <animate>true</animate>
</action>

我在TouchéGui中手动更改了我想要的。

I managed to find a solution to "ungray" the settings.

I went to /home/.config/touchegg.conf
and replaced all the

<action type="GNOME_SHELL"></action>

by

<action type="SHOW_DESKTOP">
        <animate>true</animate>
</action>

And then I changed manually in the Touché GUI what I wanted.

折戟 2025-02-20 03:14:15

我正在使用手势改进的GNOME扩展来配置3和4个手指滑动。但是在升级到Ubuntu 23.10(Gnome版本45)之后,我不再能够使用它。

我环顾四周,发现X11手势扩展程序需要触摸。我将其配置为问题中提到的,但是发现它具有3和4手指滑动“灰色”的所有选项,无法使用。我发现Sanicos的上述答案很有用。想写这个答案并在此基础上纠正/建立。

要修改的文件是在/home/username/.config/touchegg/〜/.config/touchegg/

您可以直接在gedit(text Editor)中直接打开它。应用。在终端中键入以下内容:

gedit ~/.config/touchegg/touchegg.conf

在此处查找包含的行:

<action type="GNOME_SHELL"></action>

在我的情况下,我将Swipe Action 的手指设置为 4 )。因此,现在我希望在touchegg gui touché中使用3个手指更改滑动动作。

因此,这些是我需要更改的touchegg.conf文件中的行:

<gesture type="SWIPE" fingers="3" direction="UP">
  <action type="GNOME_SHELL"></action>
</gesture>

<gesture type="SWIPE" fingers="3" direction="DOWN">
  <action type="GNOME_SHELL"></action>
</gesture>

<gesture type="SWIPE" fingers="3" direction="LEFT">
  <action type="GNOME_SHELL"></action>
</gesture>

<gesture type="SWIPE" fingers="3" direction="RIGHT">
  <action type="GNOME_SHELL"></action>
</gesture>

确保type ='Swipe'fringers =“ 3” ,每个方向。我们现在要做的就是配置操作。

<gesture type="SWIPE" fingers="3" direction="UP">
  <action type="MAXIMIZE_RESTORE_WINDOW"></action>
</gesture>

<gesture type="SWIPE" fingers="3" direction="DOWN">
  <action type="MAXIMIZE_RESTORE_WINDOW"></action>
</gesture>

<gesture type="SWIPE" fingers="3" direction="LEFT">
  <action type="SEND_KEYS">
    <modifiers>Alt_L</modifiers>
    <keys>Shift_L+Tab</keys>
    <repeat>true</repeat>
    <animation>NONE</animation>
    <decreaseKeys>Alt_L+Tab</decreaseKeys>
  </action>
</gesture>

<gesture type="SWIPE" fingers="3" direction="RIGHT">
  <action type="SEND_KEYS">
    <modifiers>Alt_L</modifiers>
    <keys>Tab</keys>
    <repeat>true</repeat>
    <animation>NONE</animation>
    <decreaseKeys>Alt_L+Shift_L+Tab</decreaseKeys>
  </action>
</gesture>

因此,这就是我所做的:

  • 向上滑动→最大化 /还原窗口
  • 向下滑动→最大化 /还原窗口
  • 右刷→切换到下一个窗口(使用Alt+Tab键连续使用,还启用了反向)
  • 范围→切换到上一个窗口(使用Alt+Shift+Tab键组合,还可以启用反向),

这有助于我快速最大化和还原窗口,我可以使用简单的上下处理3手指滑动。 3手指的左右滑动,让我在工作区中的窗户之间无缝切换。

当然,您现在可以转到touché GUI应用程序并将其配置为您的喜好。

I was using the Gesture Improvements gnome extension to configure 3 and 4 finger swipes. But after upgrading to Ubuntu 23.10 (gnome version 45), I was no longer able to use that.

I looked around and found X11 Gestures extension which requires Touchegg. I configured it as mentioned in the question, however found that it had all the options for 3 and 4 finger swipes 'grayed-out' and not able to use. I found the above answer by Sanicos useful. Thought of writing this answer and correct/build on that.

The file to be modified is at /home/USERNAME/.config/touchegg/ or ~/.config/touchegg/

You can directly open it in gedit (text editor) application. Type the below in the terminal:

gedit ~/.config/touchegg/touchegg.conf

Here, look for lines containing:

<action type="GNOME_SHELL"></action>

In my case I have set the Number of Fingers for Swipe Action to 4 in the X11 Gestures (extension settings). So, now I'm looking to change the swipe actions with 3 fingers in the Touchegg GUI Touché.

So these are the lines in the touchegg.conf file that I need to change:

<gesture type="SWIPE" fingers="3" direction="UP">
  <action type="GNOME_SHELL"></action>
</gesture>

<gesture type="SWIPE" fingers="3" direction="DOWN">
  <action type="GNOME_SHELL"></action>
</gesture>

<gesture type="SWIPE" fingers="3" direction="LEFT">
  <action type="GNOME_SHELL"></action>
</gesture>

<gesture type="SWIPE" fingers="3" direction="RIGHT">
  <action type="GNOME_SHELL"></action>
</gesture>

Ensure type='SWIPE', fingers="3", and directions in each one. All we need to do now is to configure the action.

<gesture type="SWIPE" fingers="3" direction="UP">
  <action type="MAXIMIZE_RESTORE_WINDOW"></action>
</gesture>

<gesture type="SWIPE" fingers="3" direction="DOWN">
  <action type="MAXIMIZE_RESTORE_WINDOW"></action>
</gesture>

<gesture type="SWIPE" fingers="3" direction="LEFT">
  <action type="SEND_KEYS">
    <modifiers>Alt_L</modifiers>
    <keys>Shift_L+Tab</keys>
    <repeat>true</repeat>
    <animation>NONE</animation>
    <decreaseKeys>Alt_L+Tab</decreaseKeys>
  </action>
</gesture>

<gesture type="SWIPE" fingers="3" direction="RIGHT">
  <action type="SEND_KEYS">
    <modifiers>Alt_L</modifiers>
    <keys>Tab</keys>
    <repeat>true</repeat>
    <animation>NONE</animation>
    <decreaseKeys>Alt_L+Shift_L+Tab</decreaseKeys>
  </action>
</gesture>

So here's what I've done:

  • Swipe Up → Maximise / Restore the Window
  • Swipe Down → Maximise / Restore the Window
  • Swipe Right → Switch to the Next Window (Using Alt+Tab key combinations continuously, and also enabled the reverse)
  • Swipe Left → Switch to the Previous Window (Using Alt+Shift+Tab key combinations continuously, and also enabled the reverse)

This helps me quickly maximize and restore windows I work on with simple Up and DOWN 3 finger swipes. And 3 finger LEFT and RIGHT swipes let me seamlessly switch between windows in the workspace.

You can of course now head to the Touché GUI app and configure the SWIPES to your liking.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文