CrossOver Support - Community Forums

Important Information These are community forums and not official technical support. If you need official support: Contact Us

CrossOver Mac
Discussion about CrossOver Mac

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Possible to remap Command to Ctrl in programs running under Crossover ?

Hello,

Been using CrossOver for Mac for a few months now and always hit an annoying issue when using Windows applications under CrossOver:
Windows shortcuts are Ctrl+Key while for native mac apps they are Command+Key.
For example, if using a Windows text editor I have to use:
Ctrl+F for Find, Ctrl+H for Replace, Ctrl+G for Go_To_Line, etc ..
And when using a Mac native text editor I have to use :
Command+F for Find, Command+H for Replace, Command+G for Go_To_Line, etc ..
I always get confused and mess up the shortcuts when switching between Mac/Windows apps.

Same thing applies to other apps, I just used a text editor as an example.

Any way to have Crossover auto-swap the Command/Control keys when using a Windows application ?

Thanks!

Not all the maps work similar to windows. I am having an issue where I want to use ALT key but Option works instead. And Windows software works only with ALT Key.

This was extremely annoying having to swap function combinations when going in between programs. I solved it via Karabinier-Elements with the following script.
Sad that Crossover doesn't have something like this built-in.
@Gaurav you can do similar for your issues.


{
  "title": "Swap Left Control/Command only in CrossOver Apps",
  "rules": [
    {
      "description": "CrossOver Apps - Left Command to Control",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "left_command"
          },
          "to": [
            {
              "key_code": "left_control"
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com.codeweavers.CrossOverHelper.*"
              ]
            }
          ]
        }
      ]
    },
    {
      "description": "CrossOver Apps - Left Control to Command",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "left_control"
          },
          "to": [
            {
              "key_code": "left_command"
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com.codeweavers.CrossOverHelper.*"
              ]
            }
          ]
        }
      ]
    },
    {
      "description": "CrossOver Apps - Leave alone Command+Space",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "spacebar",
            "modifiers": {
              "mandatory": [
                "control"
              ],
              "optional": [
                "any"
              ]
            }
          },
          "to": [
            {
              "key_code": "spacebar",
              "modifiers": [
                "command"
              ]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com.codeweavers.CrossOverHelper.*"
              ]
            }
          ]
        }
      ]
    },
    {
      "description": "CrossOver Apps - Leave alone Control+Tab",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "tab",
            "modifiers": {
              "mandatory": [
                "command"
              ],
              "optional": [
                "any"
              ]
            }
          },
          "to": [
            {
              "key_code": "tab",
              "modifiers": [
                "control"
              ]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com.codeweavers.CrossOverHelper.*"
              ]
            }
          ]
        }
      ]
    }
  ]
}

Please Note: This Forum is for non-application specific questions relating to installation/configuration of CrossOver. All application-specific posts to this Forum will be moved to their appropriate Compatibility Center Forum.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi01LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzA4NjEzODE4LCJjc3JmX3Rva2VuIjoiNXMzQWN4a1RlVTl2SDhjOCIsImdkcHIiOjB9