leftvista.blogg.se

Swap command and control mac
Swap command and control mac





swap command and control mac

Small update, the right Command button change is ineffectual and shouldn't have been included in my patch. I'm so close to having a great OSX 10.9 development setup, just one pesky little modifier key away! Is this likely something that can be fixed in the Python code or will it involve changes at the GTK+ level? If anyone wants to see how OSX interprets the key presses this post might help: The lack of Command-as-modifier *may* be related to Key_event.modifiers = self._client.mask_to_names(event.state) Keyname = KEY_TRANSLATIONS.get((keyname, keyval, keycode), keyname)

swap command and control mac

+++ b/trunk/src/xpra/client/gtk_base/gtk_client_window_base.py (working -1358,6 +1358,13 = event.hardware_keycode a/trunk/src/xpra/client/gtk_base/gtk_client_window_base.py (revision 16558) My hack patch is simple enough (but clearly a hack!):ĭiff -git a/trunk/src/xpra/client/gtk_base/gtk_client_window_base.py b/trunk/src/xpra/client/gtk_base/gtk_client_window_base.py

Swap command and control mac how to#

Advice on how to debug this would be appreciated. I managed to hack the code so that the Command and Control keys are 'correctly' detected on OSX 10.9, however the Command key does not work as a modifier so I cannot press it in combination with any other key. My target machine is Fedora 26 Linux (on Apple hardware for those who care about that licensing detail) running VirtualBox running OSX 10.9 so my goal is to have the keyboard work as if I were working directly on OSX 10.9 on the MBP. My host machine that I'm typing on is an MBP 2015 running macOS Sierra.







Swap command and control mac