keyboardmappingremote-desktop

What is the complete list of keys in ClipboardActionTransformations.xml to configure Remote Desktop


There is very little documentation on ClipboardActionTransformations.xml which can be edited to map keys in Remote Desktop.

For example, if I want to map the (host Mac) command key to be the (client Windows) ctrl, I would use the following:

<?xml version="1.0" encoding="utf-8" ?>
<!-- transformation for clipboard actions (cut copy paste) -->
<!-- layout specific -->
<layouts>
    <layout name="default">
        <transformations>
            <transform>
                <from command="1" key="A" />
                <to control="1" key="A" />
            </transform>
        </transformations>
    </layout>
</layouts>

repeating transform for each key.

This file should be copied into the Remote Desktop app after it is updated.

sudo cp ~/ClipboardActionTransformations.xml /Applications/Microsoft\ Remote\ Desktop.app/Contents/Resources/Keyboard

What are all the other keys?


Solution

  • Viewing the contents of /Applications/Microsoft\ Remote\ Desktop.app/Contents/MacOS/Microsoft\ Remote\ Desktop I have found:

    and

    Modifiers are:

    Note:

    1. most of the symbols are truncated, so I'm guessing at them (I couldn't guess one keypad symbol)
    2. I could not find the symbol for ' or `
    3. I haven't tested them all, so some may be incorrect
    4. I haven't had much luck mapping the Windows key, in particular, when I press command, but don't press another key, the Start menu pops up which is annoying
    5. I haven't managed to get the Windows clipboard to show when pressing controlV, but it does show when pressing commandshiftV which is good enough