AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1251133
Accepted
skinnypete
skinnypete
Asked: 2020-06-18 00:19:03 +0800 CST2020-06-18 00:19:03 +0800 CST 2020-06-18 00:19:03 +0800 CST

gui 和 dconf 编辑中没有自然滚动或两指右键单击选项不起作用 - 带有 Unity 桌面的 Ubuntu 20.04

  • 772

正如标题所示,我无法启用自然(澳大利亚/反向)滚动。我检查了通常的位置(系统设置 -> 鼠标和触摸板),但这是一个最小菜单,没有提及滚动。然后我使用 dconf 编辑器 GUI 编辑了 dconf 数据库,我将所有自然滚动布尔值设置为 true,但这也不起作用。最后我尝试使用 xinput 但我什至看不到 xinput 中的触摸板名称(虚拟核心输入或其他东西,但不是真正的硬件设备)。我正在使用华为 matebook D 14。我还想启用两指右键单击,因为此选项在设置中也没有。鼠标和触摸板设置看起来非常小,以至于我想知道我是否缺少配置文件或其他东西,在 ubuntu 中肯定有超过 2 个与鼠标或触摸板相关的设置。

提前感谢您的任何建议,如果没有简单的解决方案,请告诉我,因为我会简单地回到正常的 gnome 桌面。

谢谢阅读在此处输入图像描述在此处输入图像描述

编辑: xinput 的输出如下所示在此处输入图像描述

编辑 2: xinput list-props 11 的输出:

Device 'ELAN2204:00 04F3:3109 Touchpad':
Device Enabled (149):   1
Coordinate Transformation Matrix (151): 1.000000, 0.000000, 0.000000, 
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Tapping Enabled (302): 0
libinput Tapping Enabled Default (303): 0
libinput Tapping Drag Enabled (304):    1
libinput Tapping Drag Enabled Default (305):    1
libinput Tapping Drag Lock Enabled (306):   0
libinput Tapping Drag Lock Enabled Default (307):   0
libinput Tapping Button Mapping Enabled (308):  1, 0
libinput Tapping Button Mapping Default (309):  1, 0
libinput Natural Scrolling Enabled (286):   0
libinput Natural Scrolling Enabled Default (287):   0
libinput Disable While Typing Enabled (310):    1
libinput Disable While Typing Enabled Default (311):    1
libinput Scroll Methods Available (288):    1, 1, 0
libinput Scroll Method Enabled (289):   1, 0, 0
libinput Scroll Method Enabled Default (290):   1, 0, 0
libinput Click Methods Available (312): 1, 1
libinput Click Method Enabled (313):    1, 0
libinput Click Method Enabled Default (314):    1, 0
libinput Middle Emulation Enabled (315):    0
libinput Middle Emulation Enabled Default (316):    0
libinput Accel Speed (293): 0.000000
libinput Accel Speed Default (294): 0.000000
libinput Left Handed Enabled (298): 0
libinput Left Handed Enabled Default (299): 0
libinput Send Events Modes Available (271): 1, 1
libinput Send Events Mode Enabled (272):    0, 0
libinput Send Events Mode Enabled Default (273):    0, 0
Device Node (274):  "/dev/input/event8"
Device Product ID (275):    1267, 12553
libinput Drag Lock Buttons (300):   <no items>
libinput Horizontal Scroll Enabled (301):   1

编辑 3:

感谢 Pilot6 的有用建议,我发现了一个可以实现自然滚动的命令:

xinput set-prop "ELAN2204:00 04F3:3109 Touchpad" 286 1

286 是指自然滚动的属性数。我现在唯一的问题是如何确保它在启动时运行。如果我找到一个,我会调查并发布我的答案。

unity touchpad dconf huawei scrolling
  • 1 1 个回答
  • 1250 Views

1 个回答

  • Voted
  1. Best Answer
    Pilot6
    2020-06-18T05:49:21+08:002020-06-18T05:49:21+08:00

    在libinput添加中启用自然滚动

    Option "NaturalScrolling" "true"
    

    到/usr/share/X11/xorg.conf.d/40-libinput.conf.

    它应该EndSection在触摸板部分之前添加。

    Unity 桌面 GUI 应用程序无法使用libinput选项。

    您可以通过以下方式切换到突触

    sudo apt remove xserver-xorg-input-libinput
    sudo apt install xserver-xorg-input-all
    
    • 2

相关问题

  • 如何将 Web 应用程序放入 Unity Launcher?

  • Ubuntu 上网本 10.10 中没有 Alt+F2?

  • Unity 中的 gnome-do 样式键盘快捷键

  • 在哪里提交 Unity 的错误/愿望清单?

  • Unity 启动器——它可以作为单独的包提供吗?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve