Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome Remote Desktop Keyboard Shortcut Needed

I'm using Chrome Remote Desktop on a Windows Desktop to access an Apple iMac. I cannot figure out how to invoke the Apple Command key function from my Windows keyboard. I would think that the Windows key would work but it doesn't. Is there a way to map the Windows key to the Apple Command key? I really want to be able to invoke copy and paste from the keyboard, which are Command-C and Command-V on the iMac, so I'm stuck because I don't have a "Command" key.

like image 500
user1467544 Avatar asked Nov 22 '12 19:11

user1467544


People also ask

How do I enable remote desktop shortcuts?

If these shortcuts don't work, or the keys aren't available, you can try the following alternative: Press CTRL+ALT+HOME, TAB, TAB, TAB, TAB, TAB, ENTER. This activates the connection bar, and then presses the Restore down button.

How do I use Chrome Remote Desktop as a mouse?

Open Google Chrome, and select the Chrome Remote Desktop App from the top. Select the Remote Device you'd like to control from the list. Enter the PIN you setup on your remote device. You will see your remote desktop open and can use it directly within the window using your mouse and keyboard.


1 Answers

My solution to this problem is to leverage the handy "Configure Key Mapping" command provided by the latest version of Chrome Remote Desktop (v. 77.0 at the time of writing). The option is available in the sidebar as shown below.

enter image description here

Clicking the link opens the "Configure Key Mapping" dialog, from which you can create your own mapping. An important thing to note is that the keycodes supported by Chrome Remote Desktop are not the usual "ASCII" codes to which every developer is used to (I did this error myself the first time); rather, the codes should be taken from the "UI Events KeyboardEvent code Values" W3C standard. If you go through the standard you'll find the useful "List of code values for functional keys in the Alphanumeric section" table, which I also replicate below.

enter image description here

Concretely, let's say you want to map your local (Windows) Ctrl key to the remote (Mac) Cmd key. From the table above we see that the code for the (left) Ctrl key is "ControlLeft", while the code for the Cmd key is "MetaLeft", so from the "Configure Key Mappings" dialog:

  1. click "New Mapping"
  2. enter "ControlLeft" in the "from" field
  3. enter "MetaLeft" in the "to" field
  4. if needed, click [New Mapping] to enter more key mappings
  5. the configuration should now look like in the image below. Click [Done] to close the dialog window.

enter image description here

At this point you should be able to use Ctrl-C, Ctrl-V etc. on your local PC to trigger the corresponding Cmd-C, Cmd-V etc. commands in the remote Mac. The solution works quite well for me and it resolves a perennial problem of how to use the Cmd button while on a Windows PC without having to rely on external apps or plugins.

like image 63
Sal Borrelli Avatar answered Sep 28 '22 06:09

Sal Borrelli