You are not logged in.
Hi,
I want to recreate my trackball's xorg configuration under Wayland but can't really find anything. Most forums talk about how you have to use xinput but that doesn't seem to work for me, it doesn't even show the device, and the Wiki only says how to activate scrolling, not how to remap the buttons.
Basically I need this "translated" to some configuration or commands but can't figure out how.
Section "InputClass"
Identifier "Marble Mouse"
MatchProduct "Logitech USB Trackball"
Driver "libinput"
Option "ScrollMethod" "button"
Option "ScrollButton" "9"
Option "MiddleEmulation" "true"
Option "HorizontalScrolling" "false"
Option "ButtonMapping" "1 8 3 4 5 6 7 2 3"
EndSection
This is what I get from xinput. Somewhere I read that xwayland-pointer showing up means it's impossible to use it to configure stuff, but no alternative was given.
xinput --list
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ xwayland-pointer:10 id=6 [slave pointer (2)]
⎜ ↳ xwayland-relative-pointer:10 id=7 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ xwayland-keyboard:10 id=8 [slave keyboard (3)]
Any ideas? Something with qdbus maybe?
Offline
So, I managed to figure out that qdbusviewer lets me see available methods but apart from scrollOnButtonDown nothing else seem to work, can't set middle button emulation and can't set the scroll button, it just ignores it.
Offline
So, I managed to figure out that qdbusviewer lets me see available methods but apart from scrollOnButtonDown nothing else seem to work, can't set middle button emulation and can't set the scroll button, it just ignores it.
Edit: and just as I wrote this I noticed that you can double click on the method and it tells you the value. It said 275... that's not 8, so I decided to try and just set 276 there and now I have my left small button as the scroll button.
Edit2: I'm not sure how I managed to duplicate this message..
Last edited by KorvinSilver (2021-08-08 23:00:08)
Offline