[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmonad
Subject:    Re: [xmonad] XMonad inside Virtualbox inside XMonad
From:       Ben Boeckel <mathstuf () gmail ! com>
Date:       2014-02-15 2:17:34
Message-ID: ldmint$1l1$2 () ger ! gmane ! org
[Download RAW message or body]

On Sat, 08 Feb, 2014 at 11:37:01 GMT, Jacek Generowicz wrote:
> Somehow XMonad and Virtualbox beetween them conspire to prevent the key
> I use as my XMonad modifier to be passed on to the guest OS (even when
> Virtualbox' key capture prevents the host's XMonad from seeing it). I
> have checked this by running xev in both host and guest and comparing
> what they see: all other modifier keys I can think of, get through to
> the guest except for the XMonad modifier. Obviously this makes it
> impossible to use XMonad sensibly in the guest.
>
> Any ideas about how to get around this problem?

There's X.A.Submap. I use this to make C-i my "prefix" key. C-i C-i then
sends C-i (with sendKey) to the focused window (this is similar to
nesting tmux and screen sessions). You then use one extra C-i for each
nesting that you want to control.

If you're using naked keys, you could map C-i <key> to sendKey <key> (or
whatever (this reminds me that I'd eventually like there to be a way to
define keys with a (ButtonMask -> KeySym -> X ()) function rather than a
static map...).

--Ben

_______________________________________________
xmonad mailing list
xmonad@haskell.org
http://www.haskell.org/mailman/listinfo/xmonad
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic