使用中鍵模擬進行貼上不起作用

使用中鍵模擬進行貼上不起作用

在嘗試 wayland 並切換回 Xorg 後,中間按鈕模擬突然停止工作。

下面是我的系統資訊:

 OS: Fedora 25 TwentyFive
 Kernel: x86_64 Linux 4.10.8-200.fc25.x86_64
 Shell: bash
 DE: KDE 5.33.0 / Plasma 5.8.6
 WM: KWin
 WM Theme: Aurorae

libinput 顯示了有關觸控板的信息,如下所示:

裝置:SynPS/2 Synaptics TouchPad 核心:/dev/input/event6 群組:7 座位:seat0,預設尺寸:98.04x48.03mm 功能:指標 點擊點擊:停用 點擊並拖曳:啟用 點擊拖曳鎖定:停用左手:停用Nat.scrolling:停用中間模擬:不適用校準:不適用滾動方法:*兩指邊緣點選方式:無停用w 打字:啟用加速設定檔:無旋轉:不適用

xinput 說:

xinput list-props 12
Device 'SynPS/2 Synaptics TouchPad':
        Device Enabled (115):   1
        Coordinate Transformation Matrix (117): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Tapping Enabled (252): 0
        libinput Tapping Enabled Default (253): 0
        libinput Tapping Drag Enabled (254):    1
        libinput Tapping Drag Enabled Default (255):    1
        libinput Tapping Drag Lock Enabled (256):       0
        libinput Tapping Drag Lock Enabled Default (257):       0
        libinput Tapping Button Mapping Enabled (258):  1, 0
        libinput Tapping Button Mapping Default (259):  1, 0
        libinput Accel Speed (260):     0.000000
        libinput Accel Speed Default (261):     0.000000
        libinput Natural Scrolling Enabled (262):       0
        libinput Natural Scrolling Enabled Default (263):       0
        libinput Send Events Modes Available (237):     1, 1
        libinput Send Events Mode Enabled (238):        0, 0
        libinput Send Events Mode Enabled Default (239):        0, 0
        libinput Left Handed Enabled (264):     0
        libinput Left Handed Enabled Default (265):     0
        libinput Scroll Methods Available (266):        1, 1, 0
        libinput Scroll Method Enabled (267):   1, 0, 0
        libinput Scroll Method Enabled Default (268):   1, 0, 0
        libinput Disable While Typing Enabled (269):    1
        libinput Disable While Typing Enabled Default (270):    1
        Device Node (240):      "/dev/input/event6"
        Device Product ID (241):        2, 7
        libinput Drag Lock Buttons (271):       <no items>
        libinput Horizontal Scroll Enabled (272):       1

我無法手動設定:

xinput set-prop  '12' 'libinput Middle Emulation Enabled' 1
property 'libinput Middle Emulation Enabled' doesn't exist, you need to specify its type and format

Wayland 和 Xorg 之間有衝突嗎?如何重置滑鼠墊的中鍵模擬?

更新

我發現 libinput-debug-events 輸出:

-event6   POINTER_BUTTON    +2.50s      BTN_MIDDLE (274) pressed, seat count: 1
 event6   POINTER_BUTTON    +2.72s      BTN_MIDDLE (274) released, seat count: 0

所以這是貼上問題(事實上,文字是在 klipper 中複製的),有什麼想法嗎?

答案1

我已經找到原因了我已經Mouse Gesture Action在 Plasma 系統設定中建立了一個,如果我選擇按鈕 2,則使用模擬中間按鈕進行貼上將無法運作。

將按鈕變更為 3 可解決該問題。

相關內容