mac client to windows server: remap command key to control?
i want the command key on my mac keyboard to map to control key on the windows server.
i want option key to stay alt, and i want control key to map to windows key
how do i do that?
i want the command key on my mac keyboard to map to control key on the windows server.
i want option key to stay alt, and i want control key to map to windows key
how do i do that?
Comments
I'd also love this option, for controlling a Mac from a Windows PC. Software KVM like Synergy, Sharemouse, et al, can all do this. Surely it would be trivial for RealVNC to offer a basic option to swap the modifier keys?
I've finally found the built-in solution for swapping modifier keys (or any other keys for that matter):
Why this works:
This is the documentation for RemapKeys:
https://help.realvnc.com/hc/en-us/articles/360002251297-RealVNC-Server-Parameter-Reference#remapkeys-0-103
This mentions X11 keysyms, a list of which I found here: https://www.cl.cam.ac.uk/~mgk25/ucs/keysymdef.h
We are interested in the modifiers:
So using the syntax described in the RealVNC docs, we swap XK_Control_L with XK_Meta_L for the win.
Small word of caution: Because this is controlled by the VNC Server, it will apply to any client that connects. So if you connect to that Mac from both Windows and another Mac, this might not be the solution for you. But it's brilliant when it's always Windows -> Mac.
Hope this helps someone out there.
Please sign in to leave a comment.