Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'm not using an apple keyboard and don't have a Left ⌘. Can I change the "Host Key" to be the Right ⌘? How?

share|improve this question

3 Answers 3

The GUI setting is under Preferences -> Input -> Virtual Machine:

enter image description here

share|improve this answer

This sets the host key to the right command key (VirtualBox 4.3.10):

VBoxManage setextradata global GUI/Input/HostKeyCombination 54

The command will accept any value, but VirtualBox will not start if you supply an invalid value. 55 is the standard left command key, 61 is the right alt key. I found the values via educated guesses (aka "playing around").

share|improve this answer
    
Your sir are awesome. Why is this not an option in the VirtualBox GUI Ill never understand. –  DelightedD0D Jul 27 at 10:13

You could try adding this to private.xml in KeyRemap4MacBook:

<autogen>--KeyToKey-- KeyCode::COMMAND_R, KeyCode::COMMAND_L</autogen>

It might not work if you don't have a physical keyboard with a left command though.

share|improve this answer
    
thx. It's an idea;haven't tried yet as I'm holding out to see if anyone knows of a native way to do it. Turns out it's not too critical provided I ensure that the "mini toolbar" is enabled for full-screen mode as that allows me use the mouse to get out again... (provided the guest has a working mouse). –  John Mee Feb 7 '13 at 1:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.