You are not logged in.

#1 2022-02-14 16:46:24

avi9526
Member
Registered: 2015-05-15
Posts: 116

KDE Plasma forgets about left handed mouse mode after mouse reconnect

My mouse is connected through usb hub in display. I have swapped mouse left-right buttons in plasma settings (left handed mode). When I turn display off mouse disconnects. When I turn display back on left handed mode check box is still on, but mouse returns to right handed mode.

Using "xinput list-props" command I found that after reconnect mouse have "libinput Left Handed Enabled (307)"  set to 0 instead of 1

This started to happen week ago. What could be cause of this bug?

Offline

#2 2022-02-21 01:41:27

Rogurzz
Member
Registered: 2022-02-21
Posts: 2

Re: KDE Plasma forgets about left handed mouse mode after mouse reconnect

I had this issue myself and it seems to be a bug with KDE. I fixed it by manually creating /etc/X11/xorg.conf.d/10-libinput.conf and configured it to explicitly be set to left handed mode.

Section "InputClass"
    Identifier      "Logitech G Pro Left Handed Mapping"
    MatchProduct    "Logitech G Pro"
    Driver          "libinput"
    Option          "LeftHanded" "1"
EndSection

Get the MatchProduct with

xinput list

and append both the Identifier and MatchProduct line to yours. It should work after restarting the X server.

Last edited by Rogurzz (2022-06-23 16:48:29)

Offline

#3 2022-02-25 15:26:56

jeroenvlek
Member
From: The Hague
Registered: 2014-09-16
Posts: 16
Website

Re: KDE Plasma forgets about left handed mouse mode after mouse reconnect

Same issue over here. Probably a KDE bug. After every resume (sleep/hibernate/boot) I need to go to settings, disable Left Handed Mode, apply and enable Left Handed Mode again.

I tried the xorg conf, but it doesn't work:

[jvlek@rick-sanchez ~]$ cat /etc/X11/xorg.conf.d/10-libinput
Section "InputClass"
    Identifier      "MX Anywhere 3 Mouse Left Handed Mapping"
    MatchProduct    "MX Anywhere 3 Mouse"
    Driver          "libinput"
    Option          "LeftHanded" "1"
EndSection

My system info:

Operating System: Arch Linux
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.10-arch1-1 (64-bit)
Graphics Platform: X11

I can file a bug at KDE later this weekend.

Offline

#4 2022-06-23 16:47:41

Rogurzz
Member
Registered: 2022-02-21
Posts: 2

Re: KDE Plasma forgets about left handed mouse mode after mouse reconnect

jeroenvlek wrote:

Same issue over here. Probably a KDE bug. After every resume (sleep/hibernate/boot) I need to go to settings, disable Left Handed Mode, apply and enable Left Handed Mode again.

I tried the xorg conf, but it doesn't work:

[jvlek@rick-sanchez ~]$ cat /etc/X11/xorg.conf.d/10-libinput
Section "InputClass"
    Identifier      "MX Anywhere 3 Mouse Left Handed Mapping"
    MatchProduct    "MX Anywhere 3 Mouse"
    Driver          "libinput"
    Option          "LeftHanded" "1"
EndSection

My system info:

Operating System: Arch Linux
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.10-arch1-1 (64-bit)
Graphics Platform: X11

I can file a bug at KDE later this weekend.

Sorry for the late reply, did you add .conf to the end of the file, otherwise it won't work. So it should be /etc/X11/xorg.conf.d/10-libinput.conf instead of /etc/X11/xorg.conf.d/10-libinput.

Offline

#5 2022-11-04 13:11:00

risto3
Member
Registered: 2016-09-27
Posts: 36

Re: KDE Plasma forgets about left handed mouse mode after mouse reconnect

Same issue here, anybody report the issue upstream (as it is indeed quite frustrating!)?

Offline

Board footer

Powered by FluxBB