xmonad and VirtualBox/VNC

Hello I've noticed that when a VirtualBox window (in which I am running MS Windows XP) has focus keypresses directed at xmonad (mod key + some other key) are handled by VirtualBox (and the guest operating system it is running) rather than xmonad. The same happens when using a VNC client such as vinagre: keypresses directed at xmonad end up being received by the remote machine I am working with. Is there a way to avoid this and have xmonad intercept these keypresses? thanks ~lara

On Thu, Jun 9, 2011 at 13:37, Lara Michaels
I've noticed that when a VirtualBox window (in which I am running MS Windows XP) has focus keypresses directed at xmonad (mod key + some other key) are handled by VirtualBox (and the guest operating system it is running) rather than xmonad. The same happens when using a VNC client such as vinagre: keypresses directed at xmonad end up being received by the remote machine I am working with.
Is there a way to avoid this and have xmonad intercept these keypresses?
The best you csn do, short of configuring the app to pass all keys on, is to change the modifier key in xmonad to one that the app does pass on. This may require having multiple xmonad configurations.

Brandon, thank you for this I will give it a try. l
--- On Thu, 6/9/11, Brandon Allbery
I've noticed that when a VirtualBox window (in which I am running MS Windows XP) has focus keypresses directed at xmonad (mod key + some other key) are handled by VirtualBox (and the guest operating system it is running) rather than xmonad. The same happens when using a VNC client such as vinagre: keypresses directed at xmonad end up being received by the remote machine I am working with.
Is there a way to avoid this and have xmonad intercept
From: Brandon Allbery
Subject: Re: [xmonad] xmonad and VirtualBox/VNC To: "Lara Michaels" Cc: xmonad@haskell.org Date: Thursday, June 9, 2011, 5:51 PM On Thu, Jun 9, 2011 at 13:37, Lara Michaels wrote: these keypresses? The best you csn do, short of configuring the app to pass all keys on, is to change the modifier key in xmonad to one that the app does pass on. This may require having multiple xmonad configurations.

VBox has an "ungrab" feature; by default, I think it's the right ctrl
key. Whacking it toggles whether VBox will capture keypresses. Haven't
used VNC much, but I'm sure there's a similar feature if you dig
through the documentation for your particular client.
~d
Quoting Lara Michaels
Hello
I've noticed that when a VirtualBox window (in which I am running MS Windows XP) has focus keypresses directed at xmonad (mod key + some other key) are handled by VirtualBox (and the guest operating system it is running) rather than xmonad. The same happens when using a VNC client such as vinagre: keypresses directed at xmonad end up being received by the remote machine I am working with.
Is there a way to avoid this and have xmonad intercept these keypresses?
thanks ~lara
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
participants (3)
-
Brandon Allbery
-
Lara Michaels
-
wagnerdm@seas.upenn.edu