Created
September 9, 2025 14:43
-
-
Save devnoname120/51f58e6568e40443b71e316c439588f0 to your computer and use it in GitHub Desktop.
Karabiner Elements — Citrix: Remap Mac shortcuts to Windows equivalents
This file contains hidden or 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 Viewer: map Cmd shortcuts to Ctrl (exact match)", | |
"rules": [ | |
{ | |
"description": "Citrix Viewer (com.citrix.receiver.icaviewer.mac): Cmd→Ctrl remaps", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { "key_code": "c", "modifiers": { "mandatory": ["command"] } }, | |
"to": [ { "key_code": "c", "modifiers": ["control"] } ], | |
"conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.citrix\\.receiver\\.icaviewer\\.mac$" ] } ] | |
}, | |
{ | |
"type": "basic", | |
"from": { "key_code": "v", "modifiers": { "mandatory": ["command"] } }, | |
"to": [ { "key_code": "v", "modifiers": ["control"] } ], | |
"conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.citrix\\.receiver\\.icaviewer\\.mac$" ] } ] | |
}, | |
{ | |
"type": "basic", | |
"from": { "key_code": "a", "modifiers": { "mandatory": ["command"] } }, | |
"to": [ { "key_code": "a", "modifiers": ["control"] } ], | |
"conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.citrix\\.receiver\\.icaviewer\\.mac$" ] } ] | |
}, | |
{ | |
"type": "basic", | |
"from": { "key_code": "w", "modifiers": { "mandatory": ["command"] } }, | |
"to": [ { "key_code": "w", "modifiers": ["control"] } ], | |
"conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.citrix\\.receiver\\.icaviewer\\.mac$" ] } ] | |
}, | |
{ | |
"type": "basic", | |
"from": { "key_code": "t", "modifiers": { "mandatory": ["command"] } }, | |
"to": [ { "key_code": "t", "modifiers": ["control"] } ], | |
"conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.citrix\\.receiver\\.icaviewer\\.mac$" ] } ] | |
}, | |
{ | |
"type": "basic", | |
"from": { "key_code": "t", "modifiers": { "mandatory": ["command","shift"] } }, | |
"to": [ { "key_code": "t", "modifiers": ["control","shift"] } ], | |
"conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.citrix\\.receiver\\.icaviewer\\.mac$" ] } ] | |
}, | |
{ | |
"type": "basic", | |
"from": { "key_code": "s", "modifiers": { "mandatory": ["command"] } }, | |
"to": [ { "key_code": "s", "modifiers": ["control"] } ], | |
"conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.citrix\\.receiver\\.icaviewer\\.mac$" ] } ] | |
}, | |
{ | |
"type": "basic", | |
"from": { "key_code": "r", "modifiers": { "mandatory": ["command"] } }, | |
"to": [ { "key_code": "r", "modifiers": ["control"] } ], | |
"conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.citrix\\.receiver\\.icaviewer\\.mac$" ] } ] | |
}, | |
{ | |
"type": "basic", | |
"from": { "key_code": "p", "modifiers": { "mandatory": ["command"] } }, | |
"to": [ { "key_code": "p", "modifiers": ["control"] } ], | |
"conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.citrix\\.receiver\\.icaviewer\\.mac$" ] } ] | |
}, | |
{ | |
"type": "basic", | |
"from": { "key_code": "f", "modifiers": { "mandatory": ["command"] } }, | |
"to": [ { "key_code": "f", "modifiers": ["control"] } ], | |
"conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.citrix\\.receiver\\.icaviewer\\.mac$" ] } ] | |
}, | |
{ | |
"type": "basic", | |
"from": { "key_code": "l", "modifiers": { "mandatory": ["command"] } }, | |
"to": [ { "key_code": "l", "modifiers": ["control"] } ], | |
"conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.citrix\\.receiver\\.icaviewer\\.mac$" ] } ] | |
}, | |
{ | |
"type": "basic", | |
"from": { "key_code": "x", "modifiers": { "mandatory": ["command"] } }, | |
"to": [ { "key_code": "x", "modifiers": ["control"] } ], | |
"conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.citrix\\.receiver\\.icaviewer\\.mac$" ] } ] | |
}, | |
{ | |
"type": "basic", | |
"from": { "key_code": "n", "modifiers": { "mandatory": ["command"] } }, | |
"to": [ { "key_code": "n", "modifiers": ["control"] } ], | |
"conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.citrix\\.receiver\\.icaviewer\\.mac$" ] } ] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment