首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >固定libinput和libinput之间的冲突手势

固定libinput和libinput之间的冲突手势
EN

Ask Ubuntu用户
提问于 2022-07-30 03:26:27
回答 1查看 391关注 0票数 2

不确定这个问题是否曾经被问过,但是任何方向都会被感谢!

释放:

代码语言:javascript
复制
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.4 LTS
Release:        20.04
Codename:       focal

DE: KDE

显示管理器: X11

我目前遇到了与libinput和libinput手势发生冲突的情况,也就是说,我有libinput手势运行,但是使用一些手势会产生不想要的效果,这些效果与libinput手势是否运行无关。(例如,如果选择一个窗口,或者没有选择窗口,三个手指向右滑动,在运行libinput手势时,会产生向右切换屏幕的效果,但在切换屏幕的libinput手势启动之前,将窗口调整为窗口窗格的一半的效果并不理想。)问题是,如何自定义或禁用其他一些预先存在的libinput手势,以便使其与libinput手势保持良好关系?

这是libinput-gestures -d的输出

代码语言:javascript
复制
Hash: 5ed4f9aa29fda776dbbb6c36c619eb8d
Gestures configured in ~/.config/libinput-gestures.conf:
swipe right      3 _internal ws_up
swipe left       3 _internal ws_down
swipe up         4 xdotool key control+F8
swipe up         3 xdotool key control+F9
swipe down       3 xdotool key super+Page_Down
swipe left       2 xdotool key alt+Left
swipe right      2 xdotool key alt+Right
pinch out          xdotool key ctrl+plus
pinch in           xdotool key ctrl+minus
libinput-gestures: device /dev/input/by-path/pci-0000:00:15.1-platform-i2c_designware.1-event-mouse(event13): MSFT0001:01 04F3:309E Touchpad
libinput-gestures is already running for ad, terminating ..

libinput-gestures-setup status输出

代码语言:javascript
复制
libinput-gestures is installed.
libinput-gestures is set up as a desktop application.
libinput-gestures is currently running as a desktop application.
libinput-gestures is set to autostart as a desktop application.
libinput-gestures is using custom configuration file.

最后,对我的设备上预置的libinput配置进行了一些反思,即命令xinput list-props 11的输出。

代码语言:javascript
复制
Device 'MSFT0001:01 04F3:309E Mouse':
        Device Enabled (156):   1
        Coordinate Transformation Matrix (158): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Natural Scrolling Enabled (290):       0
        libinput Natural Scrolling Enabled Default (291):       0
        libinput Scroll Methods Available (294):        0, 0, 1
        libinput Scroll Method Enabled (295):   0, 0, 1
        libinput Scroll Method Enabled Default (296):   0, 0, 1
        libinput Button Scrolling Button (297): 3
        libinput Button Scrolling Button Default (298): 3
        libinput Accel Speed (299):     -0.600000
        libinput Accel Speed Default (300):     0.000000
        libinput Accel Profiles Available (301):        1, 1
        libinput Accel Profile Enabled (302):   1, 0
        libinput Accel Profile Enabled Default (303):   1, 0
        libinput Left Handed Enabled (304):     0
        libinput Left Handed Enabled Default (305):     0
        libinput Send Events Modes Available (275):     1, 0
        libinput Send Events Mode Enabled (276):        0, 0
        libinput Send Events Mode Enabled Default (277):        0, 0
        Device Node (278):      "/dev/input/event11"
        Device Product ID (279):        1267, 12446
        libinput Drag Lock Buttons (292):       <no items>
        libinput Horizontal Scroll Enabled (293):       1

再次感谢任何帮助,我将提供和更新这个问题的任何其他细节,可能需要,谢谢!

EN

回答 1

Ask Ubuntu用户

发布于 2022-07-30 04:10:35

AFAIK这是一个与KDE不支持编辑其xinput手势的问题,如果我错了,希望有人纠正我。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1421076

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档