I use Virtualbox with Windows on Ubuntu host. I keep it on separate workspace (I use Xmonad). Xmonad uses Windows key as modifier. The problem is: when I press it, Windows machine opens start menu. Disabling keyboard autocapture helped a bit, but not completely. So, is there a way to setup Virtualbox in a way, so it will completely ignore specific keys or sequences?
-
1One might be interested in the fact that the «AwesomWM» out of the box doesn't allow to intercept its keys to VirtualBox. I just moved to the XMonad because I am not interested in Lua, but wanted to learn Haskell, and found that this have no this featur ☹– Hi-AngelCommented Feb 10, 2015 at 7:16
-
related, with respect to media keys virtualbox.org/ticket/4263– Tim AbellCommented Oct 5, 2018 at 10:27
2 Answers
These work for the guest windows in non Virtualbox environments and should control the guest.
In the windows guest can you right click on the desktop and select:-
-> graphic options -> then Hotkeys -> disable.
Disable all Hotkeys except win+l win+u-, reboot required.
http://www.autohotkey.com/docs/misc/Override.htm
I've tested on win 7 [options -> disable, the other says it works on all OS's(it is a Registry hack, normal warnings on reg.)]
Hope one of them works.
Try adding this in your .xmonad/xmonad.hs
file:
((0, xK_Super_L), return ())
Got it from here: http://comments.gmane.org/gmane.comp.lang.haskell.xmonad/12141