Easy mouse settings changing from right- to left-handed

Tobias Leupold tl at stonemx.de
Sat Feb 18 12:09:22 GMT 2023


Hi all!

My little son starts to use a computer for school, so I currently share my 
notebook with him. He's left-handed (and I'm right-handed), so I searched for 
a convenient way to switch the mouse settings from right-handed to left-handed 
and vice versa, like with a small systray icon and just one click to do.

The only thing I found was "mouseswap-kf5" ( https://www.pling.com/p/998954/ ) 
which seems to do this exact thing. But it seems to be outdated and 
unmaintained -- I could not build it.

I then looked into the sources and thought it could not be that hard to re-
write or update the thing, but after messing a bit with it, I have to admit 
that I have no idea how to do it properly ;-) I could not even connect to some 
DBUS signal telling me that any systemsettings setting has been changed (I 
never worked with this before) ...

So: Is there anything comparable we have in "official" KDE? And if not, can 
anybody point me to docs about how to do it, so that I can try to implement 
this myself?

This would imo be a nice addition to the default mouse system settings, like 
"show a systray icon to switch between left- and right-handed" or such. I 
think this would be a nice extra for a lot of people sharing their computer 
with others.

Thanks for all help and all hints :-)

Cheers, Tobias




More information about the kde-devel mailing list