Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm running Ubuntu 12.04 as a VirtualBox guest with a PC keyboard, and whenever I press Alt, the menus for the currently focused application appear. While holding Alt, if I press other keys, sometimes the menus open. I never want this. There are no cases when I ever activate menu items from the keyboard. Is there a way to permanently and completely turn this off, so that no menu can ever appear or open in response to any key press?

It seems like this question must have been asked a million times, but I have searched and searched and can't seem to find any answer. I have already turned off the dashboard, but now I need to unplug any and all menus from my Alt key, so that I may use it.

share|improve this question
1  
possible duplicate of How do I modify or disable the HUD's use of the Alt key? –  Web-E Aug 25 '12 at 6:22
3  
Not a duplicate--this isn't about the HUD, but disabling per-application Alt+Key menu bindings. For example, Alt+F should do a custom action instead of opening the File menu, etc. –  izx Aug 25 '12 at 6:54
add comment

1 Answer

up vote 0 down vote accepted

It turns out the easiest way is to remap the left-alt key using xmodmap. This is sufficient because I only use the left-alt for my keyboard shortcuts. Most apps don't have any features linked to the alt key anyway, but in case one comes along, I still have the right-alt key for it.

I would still prefer to simply disable the default "alt activates the application menu" feature. Let me know if anyone has a way to disable it. Thanks!

share|improve this answer
add comment

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.