Xorg.conf オプションは保持されません。

Xorg.conf オプションは保持されません。

トラックパッドでデフォルトでクリック機能を有効にしようとしています。デバイス名は「bcm5974」です。xinput --set-prop "bcm5974" "libinput Tapping Enabled" "1"魅力的に動作しますが、このように変更された属性は、再起動後も持続しません。

/usr/share/X11/xorg.conf.d/40-libinput.confここの他の答えに基づいて最初に実行し、デバイスxinput listがポインタとして表示され、関連部分が次のように修正され40-libinput.confました。

Section "InputClass"
    Identifier "libinput pointer catchall"
    MatchIsPointer "on"
    MatchDevicePath "/dev/input/event*"
    Driver "libinput"
    Option "Tapping" "on"
EndSection

これがダメで確認してみると/var/log/Xorg.0.log実際にはタッチパッドで認識になるようでした。代わりにTouchpadInputClassに40-libinput.conf追加しました。Option "Tapping" "on"

再起動後もクリックツークリックはまだ有効になっていませんが、Xorg.0.log設定中のオプションが表示され、デバイスが削除された後に読み取られずに読み取られたようです40-libinput.conf

[    73.350] (II) config/udev: Adding input device bcm5974 (/dev/input/event6)
[    73.350] (**) bcm5974: Applying InputClass "libinput touchpad catchall"
[    73.350] (II) Using input driver 'libinput' for 'bcm5974'
[    73.350] (**) bcm5974: always reports core events
[    73.350] (**) Option "Device" "/dev/input/event6"
[    73.350] (**) Option "_source" "server/udev"
[    73.357] (II) event6  - bcm5974: is tagged by udev as: Touchpad
[    73.358] (II) event6  - bcm5974: device is a touchpad
[    73.358] (II) event6  - bcm5974: device removed
[    73.394] (**) Option "Tapping" "on"
[    73.394] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:04.0/usb3/3-6/3-6:1.2/input/input6/event6"
[    73.394] (II) XINPUT: Adding extended input device "bcm5974" (type: TOUCHPAD, id 11)
[    73.395] (**) Option "AccelerationScheme" "none"
[    73.395] (**) bcm5974: (accel) selected scheme none/0
[    73.395] (**) bcm5974: (accel) acceleration factor: 2.000
[    73.395] (**) bcm5974: (accel) acceleration threshold: 4
[    73.402] (II) event6  - bcm5974: is tagged by udev as: Touchpad
[    73.403] (II) event6  - bcm5974: device is a touchpad
[    73.404] (II) config/udev: Adding input device bcm5974 (/dev/input/mouse0)
[    73.404] (II) No input driver specified, ignoring this device.
[    73.404] (II) This device may have been added with another device file.

私はここで知識レベルを超えました。 udevは私のデバイスに独自の設定を適用しますか?それでは、設定ファイルはどこにあり、どのように変更できますか?それとも別のものを見逃していますか?

私は2008年末にMacbookでLubuntu 20.04.5を実行しています。トラックパッドはラップトップに元々組み込まれたトラックパッドです。どんな方法でも助けてくれてありがとう!

ベストアンサー1

おすすめ記事