36

Possible Duplicate:
How do I modify or disable the HUD's use of the Alt key?

When I press ALT key on virtualbox machine (ex XP), ubuntu 12.04 catch that key.

How to prevent ubuntu catch ALT key?

Thank you~

sam
  • 6,831
  • I think your only choices are for the guest to capture all special keys, or no special keys. Do you want the key passed on to the host machine, or do you simply want Ubuntu to ignore it? – Marty Fried Jun 17 '12 at 03:37
  • I want ubuntu to Ignore. – sam Jun 17 '12 at 03:54
  • I would see this answer: https://askubuntu.com/questions/133776/how-can-i-disable-alt-for-search/133777#133777 – Tahlor Sep 08 '17 at 13:32

1 Answers1

50

Disabling the Alt key from showing the HUD:

  • Install CCSM with sudo apt-get install compizconfig-settings-manager

    enter image description here

  • Start it from the Dash or by typing ccsm from the terminal.

  • Type "Unity" in the filter box on the left, and click on the Ubuntu Unity Plugin:

    enter image description here

  • Click on the <Alt> button the red arrow points to, and then uncheck the Enabled box. Click OK and close CCSM -- the Alt shortcut is now disabled.

  • If you no longer need CCSM, please consider uninstalling it.

    enter image description here

ish
  • 139,926
  • 3
    Why are your recommending uninstalling CCSM? – Thomas Thorogood Jun 17 '12 at 15:04
  • 1
    Because it seems newbies often want to play with it once they try it out, and the next thing you know, it crashes, all they have is a blank desktop and they panic :) – ish Jun 17 '12 at 15:08
  • 4
    Ha. Gotcha. But that's how they learn, right? /grin – Thomas Thorogood Jun 17 '12 at 15:10
  • 1
    haha, that's exactly what I did. But I agree with Tom, in fixing it I learnt something. – matt burns Oct 30 '12 at 17:17
  • 2
    Is there a way to make Hud only capture the right Alt key, not the left Alt? – a06e Mar 20 '15 at 16:36
  • 1
    To capture only the right Alt key, click "Grab key combination", press the right Alt key (it should show "Multi_key"), then close the "Please press the new key" dialog box. – SmileyChris Jan 24 '16 at 20:56
  • These comments do not inspire confidence in the accepted answer. I found this article, it worked, and doesn't require installing a high-risk unstable tool: https://askubuntu.com/questions/122209/how-do-i-modify-or-disable-the-huds-use-of-the-alt-key – Bob Woodley Oct 30 '17 at 13:47