使“xwacom set”更改永久生效

使“xwacom set”更改永久生效

在我的 Thinkpad X220 平板电脑上,触控手指工作正常,但手写笔校准严重错误。系统设置 -> Wacom 平板电脑中的校准工具不起作用。相反,每当我想使用手写笔时,我首先需要

sudo xsetwacom set 'Wacom ISDv4 E6 Pen stylus' Area 0 0 27760 15690

这些更改不会永久保留。也就是说,每次重启后它们都会消失。我怎样才能使更改永久保留 - 我不是在寻找启动脚本,而是想一次性设置正确的区域。有什么想法吗?

答案1

.conf您的/etc/X11/xorg.conf.d/

Section "InputClass"
    Identifier "Wacom Area configurations"
    # Match all Wacom input tools that have "BambooFun 6x8" in the "device name".
    MatchProduct "Wacom ISDv4 E6 Pen stylus"
    MatchDevicePath "/dev/input/event*"

    # Apply a custom configuration options. Any option will also apply to
    # all dependent devices, if applicable. So e.g. the pressure curve will
    # be available on the stylus and the eraser (but not on the pad).
    Option "Area" "0 0 27760 15690"
EndSection

Xorg 和 xsetwacom 的选项部分不一样,所以需要您检查一下。

来源http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Xorg.conf.d

相关内容