Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

maclaw21

macrumors 6502
Original poster
Aug 26, 2009
262
219
Is there a way that I can remap the right option key on my bluetooth keyboard (Logitech ergo) to serve as command? I realize that there is a right command key, but in Citrix the right command key is used as the Windows key (I know, eye roll).

Thanks.
 
I don't know of a way without a third-party solution running in the background such as:


Note Catalina is required.
 
  • Like
Reactions: maclaw21
I don't know of a way without a third-party solution running in the background such as:


Note Catalina is required.
Thank you.
 
Is there a way that I can remap the right option key on my bluetooth keyboard (Logitech ergo) to serve as command? I realize that there is a right command key, but in Citrix the right command key is used as the Windows key (I know, eye roll).

Thanks.

Here's how to do it without Karabiner-Elements if you like. Run this in the command line whenever you login, or get a script that runs it for you at startup.

hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x7000000E6,"HIDKeyboardModifierMappingDst":0x7000000E7}]}'

That specifically remaps the "Right Option" key to the "Right Command" key. If you want to change what "Right Option" maps onto, you can replace HIDKeyboardModifierMappingDst with the correct usage ID from this list (start at page 82 for keyboard usage IDs): https://usb.org/sites/default/files/hut1_22.pdf

Just put in 0x7000000XX and replace XX with the usage ID from the PDF.

Here is some basic info on remapping from Apple, but hidutil isn't that well documented, so I recommend experimenting with it using key usage IDs from that pdf. https://developer.apple.com/library/archive/technotes/tn2450/_index.html
 
  • Like
Reactions: frou
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.