Bug 402740 - Cannot configure wheel emulation on Wayland
Summary: Cannot configure wheel emulation on Wayland
Status: RESOLVED DUPLICATE of bug 383379
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_mouse (show other bugs)
Version: 5.14.3
Platform: Debian testing Linux
: NOR major
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-01 01:27 UTC by Javier Ortega Conde (Malkavian)
Modified: 2022-09-15 19:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Ortega Conde (Malkavian) 2019-01-01 01:27:25 UTC
I have a 3M Ergonomic Mouse which should emulate the wheel when middle button is pressed and mouse moved. It is configurable in xorg.conf but for Wayland I didn't find a way to do it manually with libinput commands or config files. I read that for Wayland, Plasma should give you the configure options to configure libinput so I am asking for it so I would be able to use Plasma over Wayland instead of xorg.

SOFTWARE/OS VERSIONS
Debian testing + unstable
Linux Kernel 4.19.0-1-rt-amd64
KDE Plasma 5.14.3
Qt version 5.11.2
Comment 1 Patrick Silva 2019-03-26 21:14:45 UTC

*** This bug has been marked as a duplicate of bug 383379 ***
Comment 2 Javier Ortega Conde (Malkavian) 2022-09-15 19:42:47 UTC
Solution found at https://www.reddit.com/r/kde/comments/cihn8b/is_there_a_way_to_enable_scroll_emulation_for_the/

You must run krunner (the Plasma command box that you can run with Alt+F2) from Wayland, write KWin and it will show "Open kwin debug console" as first option probably. Run that, there go to "Input devices tab", probably enlarge first column by click and move in the small bar between columns so you can see complete names, search there your mouse, mine is called "PixArt USB Optical Mouse" and inside it in the first options there is "sysName", for me its value is "event20". Exit kwin debug console and in linux commandline run this command (Where XX is the mouse device event value, for me 20):

qdbus org.kde.KWin /org/kde/KWin/InputDevice/eventXX org.kde.KWin.InputDevice.scrollOnButtonDown true


It should work after reboot too.