タッチパッド垂直スクロールが機能しない

タッチパッド垂直スクロールが機能しない

私はUbuntu 18.04とlibinputをドライバとして使用しています。私のシステムではスクロールは機能しません。自然スクロールと2本指スクロールオプションのすべての組み合わせを変更してみましたが、まだ機能しません。このコマンドを実行しました。

xinput --list-props 12

12は私のシステムのタッチパッドデバイスIDです。上記コマンドの出力

 Device 'SynPS/2 Synaptics TouchPad':
    Device Enabled (171):   1
    Coordinate Transformation Matrix (173): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Tapping Enabled (324): 1
    libinput Tapping Enabled Default (325): 0
    libinput Tapping Drag Enabled (326):    1
    libinput Tapping Drag Enabled Default (327):    1
    libinput Tapping Drag Lock Enabled (328):   0
    libinput Tapping Drag Lock Enabled Default (329):   0
    libinput Tapping Button Mapping Enabled (330):  1, 0
    libinput Tapping Button Mapping Default (331):  1, 0
    libinput Natural Scrolling Enabled (306):   1
    libinput Natural Scrolling Enabled Default (307):   0
    libinput Disable While Typing Enabled (332):    1
    libinput Disable While Typing Enabled Default (333):    1
    libinput Scroll Methods Available (308):    1, 1, 0
    libinput Scroll Method Enabled (309):   1, 0, 0
    libinput Scroll Method Enabled Default (310):   1, 0, 0
    libinput Click Methods Available (334): 1, 1
    libinput Click Method Enabled (335):    0, 1
    libinput Click Method Enabled Default (336):    1, 0
    libinput Middle Emulation Enabled (313):    0
    libinput Middle Emulation Enabled Default (314):    0
    libinput Accel Speed (315): 0.151079
    libinput Accel Speed Default (316): 0.000000
    libinput Left Handed Enabled (320): 0
    libinput Left Handed Enabled Default (321): 0
    libinput Send Events Modes Available (291): 1, 1
    libinput Send Events Mode Enabled (292):    0, 0
    libinput Send Events Mode Enabled Default (293):    0, 0
    Device Node (294):  "/dev/input/event6"
    Device Product ID (295):    2, 7
    libinput Drag Lock Buttons (322):   <no items>
    libinput Horizontal Scroll Enabled (323):   1

私の理解は、このリストにlibinput垂直スクロールオプションがないため、次のことを試しました。

sudo xinput set-prop 12 "310" 1,1,0

上記のコマンドのさまざまな組み合わせをすべて試しましたが、毎回同じエラーが発生します。

X Error of failed request:  BadAccess (attempt to access private resource denied)
  Major opcode of failed request:  131 (XInputExtension)
  Minor opcode of failed request:  57 ()
  Serial number of failed request:  19
  Current serial number in output stream:  20

他のパッケージを使用して解決できる場合は、ソリューションまたは代替案を提案してください。

ベストアンサー1

読み取り専用プロパティ「libinputスクロール方法を有効にするデフォルト」を設定しようとしています。 "libinput Scroll Method Enabled"プロパティを309に設定することもできます(数値の代わりに文字列を使用することもできます)。

おすすめ記事