Since I have some windows machines with right-haned mice and the linux box on my desk is has a left-handed mouse the button remapping introduced recently is quite distracting for me. I have a patch that "fixes" this for me. It simple turns of the remapping.
Howerver, I think the most reasonable approach in the future would be to introduce some more advanced remapping scheme in rdesktop.
turn of the button remapping
I have an updated version of the earlier "-l" mouse button, but I'm willing to try using -M. I would suggest an update to the man page as part of your patch. For the -l patch I have
diff -uNr rdesktop-1.6.0/doc/rdesktop.1 rdesktop-1.6.0a/doc/rdesktop.1
--- rdesktop-1.6.0/doc/rdesktop.1 2007-01-19 15:47:35.000000000 +0200
+++ rdesktop-1.6.0a/doc/rdesktop.1 2008-05-19 14:27:50.000000000 +0300
@@ -98,6 +98,10 @@
Disable encryption from client to server. This sends an encrypted login packet,
but everything after this is unencrypted (including interactive logins).
.TP
+.BR "-l"
+Switch mouse buttons. Useful if you have configured a left-handed mouse on
+the remote system and your local desktop has a right-handed mouse.
+.TP
.BR "-m"
Do not send mouse motion events. This saves bandwidth, although some Windows
applications may rely on receiving mouse motion.
Ping.
Any chance that this patch will make it into 1.6.1 or 1.7 or whatever may be the next version - I find it highly useful being left handed as well....
Any update?
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"
It would be great to get left handed support. It is confusing experience when (at home) I can finally use a left handed setup and then click on RDP session and it switches to right-handed.
Last edit: Anonymous 2017-06-03
Add my vote for inclusion of this patch in the next version. I always compile this into rdesktop.
I still love this patch. Thanks stlman!