Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

After using Windows or Mac OS X as the guest OS in VMware for Linux, sometimes my ALT, SHIFT or CTRL keys break and stop working. So I can't use ALT+Tab, for example.

Does anyone know what the cause is, and how to fix that?

Is there a way to make the keys work again?

share|improve this question
    
Not really related to the question, but if the same thing happens on a Windows host, pressing the Ctrl/Alt or Win Key quickly about 5 times in succession seems to "unstuck" the keys again. –  user47977 Jul 9 '10 at 15:27

2 Answers 2

up vote 6 down vote accepted

To fix the keys, just run:

setxkbmap

And that should restore them to default behaviour.

share|improve this answer

You may be experiencing the VM capturing your keystrokes. If I am running VMWare or Virtual box my CTRL+arrowKey no longer works for rotating desktop cube. Also Gnome-Do cannot be called up with super+spaceBar. If that's not what you mean, then it's probably Neil's suggestion.

PS: Don't forget to install the VM software on the guest operating system (if available) to enhance integration, but I doubt you could very easily get your keystrokes to happen on both guest and host at the same time.

share|improve this answer
    
I released control with CTRL+SHIFT+ALT already, and I've got VMware Tools installed. I'm not sure what's causing it. –  Neil Sep 13 '09 at 3:28

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.