-
-
Save airstrike/90aeb8579d4442ba1d653e170acd1a22 to your computer and use it in GitHub Desktop.
Map Apple modifiers (Ctrl, Option, Command) to Windows modifiers (Ctrl, Win, Alt) in Citrix Workspace using Karabiner Elements, with working Alt+Tab and Windows key shortcuts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Citrix Receiver/Workspace shenanigans", | |
"rules": [ | |
{ | |
"description": "In Citrix, change left_option to Alt key via \"⌘⌥ Command (left)-Option\"", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "left_option", | |
"modifiers": { "optional": [ "any" ] } | |
}, | |
"to": { | |
"key_code": "left_option", | |
"modifiers": [ "left_command" ] | |
}, | |
"type": "basic", | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.citrix\\.XenAppViewer$", | |
"^com\\.citrix\\.receiver\\.icaviewer\\.mac$" | |
] | |
} | |
] | |
} | |
] | |
}, { | |
"description": "In Citrix, change right_option to Alt key via \"⌘⌥ Command (left)-Option\"", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "right_option", | |
"modifiers": { "optional": [ "any" ] } | |
}, | |
"to": { | |
"key_code": "right_option", | |
"modifiers": [ "left_command" ] | |
}, | |
"type": "basic", | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.citrix\\.XenAppViewer$", | |
"^com\\.citrix\\.receiver\\.icaviewer\\.mac$" | |
] | |
} | |
] | |
} | |
] | |
}, { | |
"description": "In Citrix, change left_command as well via \"Send Windows logo key using ⌘ Command (right)\"", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "left_command", | |
"modifiers": { "optional": [ "any" ] } | |
}, | |
"to": { | |
"key_code": "right_command" | |
}, | |
"type": "basic", | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.citrix\\.XenAppViewer$", | |
"^com\\.citrix\\.receiver\\.icaviewer\\.mac$" | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment