Virtual Box won't release keyboard or mouse when used in xmonad

Greetings, When I try to use VirtualBox in xmonad, it fails to give up control of the mouse or keyboard when I use the release key (right ctrl). I was hoping this was just a bug from a while ago in virtual box or xmonad, but I just tried it again this morning and still have the same problem? Anyone know a good work around? Thanks! Jordan Wilberding

VirtualBox and xmonad work fine here, I don't have any problem, even without
guest additions.
It's probably something in your virtualbox, have you tested with other wm's?
Do you have guest additions installed (on the guest)?
With additions the mouse can always leave the virtualbox normally.
And, as I expect, if you click inside the guest area, xmonad won't capture
it.
But you can float vb window by clicking its boarders or bars (that are
outside guest area).
Regards,
Henrique G. Abreu
On Sat, Jul 4, 2009 at 08:34, Jordan Wilberding
Greetings,
When I try to use VirtualBox in xmonad, it fails to give up control of the mouse or keyboard when I use the release key (right ctrl).
I was hoping this was just a bug from a while ago in virtual box or xmonad, but I just tried it again this morning and still have the same problem? Anyone know a good work around?
Thanks! Jordan Wilberding
_______________________________________________ xmonad mailing list xmonad@haskell.orghttps://mail.google.com/mail?view=cm&tf=0&to=xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

It works in other wm's, I don't have additions installed though. I will try
that.
Thanks!
Jordan Wilberding
On Sat, Jul 4, 2009 at 8:30 AM, Henrique G. Abreu
VirtualBox and xmonad work fine here, I don't have any problem, even without guest additions. It's probably something in your virtualbox, have you tested with other wm's? Do you have guest additions installed (on the guest)? With additions the mouse can always leave the virtualbox normally. And, as I expect, if you click inside the guest area, xmonad won't capture it. But you can float vb window by clicking its boarders or bars (that are outside guest area).
Regards, Henrique G. Abreu
On Sat, Jul 4, 2009 at 08:34, Jordan Wilberding
wrote: Greetings,
When I try to use VirtualBox in xmonad, it fails to give up control of the mouse or keyboard when I use the release key (right ctrl).
I was hoping this was just a bug from a while ago in virtual box or xmonad, but I just tried it again this morning and still have the same problem? Anyone know a good work around?
Thanks! Jordan Wilberding
_______________________________________________ xmonad mailing list xmonad@haskell.orghttps://mail.google.com/mail?view=cm&tf=0&to=xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

Well installing the add-ons lets me work around the focus grab problem. But
it still doesn't understand Host+F to switch to and from full screen, and
once its full screen I can't use xmonad keys either to do stuff like switch
to another screen with Mod+2 or something.
Thanks!
Jordan Wilberding
On Sat, Jul 4, 2009 at 10:08 AM, Jordan Wilberding
It works in other wm's, I don't have additions installed though. I will try that.
Thanks! Jordan Wilberding
On Sat, Jul 4, 2009 at 8:30 AM, Henrique G. Abreu
wrote: VirtualBox and xmonad work fine here, I don't have any problem, even without guest additions. It's probably something in your virtualbox, have you tested with other wm's? Do you have guest additions installed (on the guest)? With additions the mouse can always leave the virtualbox normally. And, as I expect, if you click inside the guest area, xmonad won't capture it. But you can float vb window by clicking its boarders or bars (that are outside guest area).
Regards, Henrique G. Abreu
On Sat, Jul 4, 2009 at 08:34, Jordan Wilberding
wrote: Greetings,
When I try to use VirtualBox in xmonad, it fails to give up control of the mouse or keyboard when I use the release key (right ctrl).
I was hoping this was just a bug from a while ago in virtual box or xmonad, but I just tried it again this morning and still have the same problem? Anyone know a good work around?
Thanks! Jordan Wilberding
_______________________________________________ xmonad mailing list xmonad@haskell.orghttps://mail.google.com/mail?view=cm&tf=0&to=xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

Switched the host key to f12. All works good now.
Does xmonad do something special with right ctrl?
Thanks!
Jordan Wilberding
On Sat, Jul 4, 2009 at 10:17 AM, Jordan Wilberding
Well installing the add-ons lets me work around the focus grab problem. But it still doesn't understand Host+F to switch to and from full screen, and once its full screen I can't use xmonad keys either to do stuff like switch to another screen with Mod+2 or something.
Thanks! Jordan Wilberding
On Sat, Jul 4, 2009 at 10:08 AM, Jordan Wilberding
wrote: It works in other wm's, I don't have additions installed though. I will try that.
Thanks! Jordan Wilberding
On Sat, Jul 4, 2009 at 8:30 AM, Henrique G. Abreu
wrote: VirtualBox and xmonad work fine here, I don't have any problem, even without guest additions. It's probably something in your virtualbox, have you tested with other wm's? Do you have guest additions installed (on the guest)? With additions the mouse can always leave the virtualbox normally. And, as I expect, if you click inside the guest area, xmonad won't capture it. But you can float vb window by clicking its boarders or bars (that are outside guest area).
Regards, Henrique G. Abreu
On Sat, Jul 4, 2009 at 08:34, Jordan Wilberding
wrote: Greetings,
When I try to use VirtualBox in xmonad, it fails to give up control of the mouse or keyboard when I use the release key (right ctrl).
I was hoping this was just a bug from a while ago in virtual box or xmonad, but I just tried it again this morning and still have the same problem? Anyone know a good work around?
Thanks! Jordan Wilberding
_______________________________________________ xmonad mailing list xmonad@haskell.orghttps://mail.google.com/mail?view=cm&tf=0&to=xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

Quoting Jordan Wilberding
Switched the host key to f12. All works good now. Does xmonad do something special with right ctrl?
Not unless you tell it to. Maybe you should check with xev whether hitting right control sends the keypress you think it should be pressing. ~d

I frequently have issues with VMWare not releasing the keyboard after xscreensaver has tried to lock the screen (and failed) while VM owns the keyboard. When released, I can't leave the VM window. The workaround is to use any dropdown menu on the VM window (ie: help/about), so that you have to click something. After that it works normally. Good luck. On Sat, Jul 04, 2009 at 01:42:03PM -0400, wagnerdm@seas.upenn.edu wrote:
Quoting Jordan Wilberding
: Switched the host key to f12. All works good now. Does xmonad do something special with right ctrl?
Not unless you tell it to. Maybe you should check with xev whether hitting right control sends the keypress you think it should be pressing.
~d _______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
participants (4)
-
Henrique G. Abreu
-
Jordan Wilberding
-
Russell Adams
-
wagnerdm@seas.upenn.edu