Chinaunix首页 | 论坛 | 博客
  • 博客访问: 931846
  • 博文数量: 192
  • 博客积分: 3070
  • 博客等级: 中校
  • 技术积分: 1861
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-27 23:44
个人简介

Start Linux Leave Linux a while Back to Linux

文章分类

全部博文(192)

文章存档

2023年(18)

2022年(11)

2021年(8)

2020年(14)

2019年(7)

2018年(13)

2017年(16)

2016年(4)

2012年(2)

2011年(13)

2010年(26)

2009年(13)

2008年(27)

2007年(20)

我的朋友

分类: 其他平台

2022-12-28 11:23:40

使用 xinput 时会提示:
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
这是因为 ubuntu 22 默认使用了 Wayland 模式,导致 /etc/X11/xorg.conf.d/40-libinput.conf 不起作用。

sudo vim/etc/gdm3/custom.conf

進去把WaylandEnable=true改成false, 保存重啟即可。

sudo vim /etc/X11/xorg.conf.d/40-libinput.conf

Section "InputClass"
    Identifier "libinput touchscreen catchall"
    Option "CalibrationMatrix" "-1 0 1 0 -1 1 0 0 1"
    MatchIsTouchscreen "on"
    MatchDevicePath "dev/input/event*"
    Driver "libinput"
EndSection
保存重啟即可。

阅读(2025) | 评论(0) | 转发(0) |
0

上一篇:ubuntu 22 设置

下一篇:ubuntu 22.04 设置

给主人留下些什么吧!~~