Hi Brandon,

thanks a lot for looking into this.

I am using Citrix ICA Client to connect to remote Windows machine.

I use Super_L key as meta modifier and when I press any key combinations containing this modifier it is also passed to the Windows session in the Citrix session resulting in opening the Start menu.


Now as I am thinking about it - maybe it might be enough just to change the Super_L modifier to something else that Windows do not recognize. Is it possible to change the keycode of the Win Key to something unused (by using xmodmap) and then define it as meta key in xmonad?

On Mon, Feb 16, 2015 at 3:41 PM, Brandon Allbery <allbery.b@gmail.com> wrote:
On Mon, Feb 16, 2015 at 8:27 AM, Jiří Maršíček <jiri.marsicek@gmail.com> wrote:
I have tried to define this globaly by adding the following line to my keybindings:
   ((0, xK_Super_L), return ())

But this does not appear to work (key is still processed in the active window)

That would only work if vbox isn't already grabbing the keyboard, for starters. I also suspect it won't work in some circumstances (if the program is using the RECORD extension to watch for keys, or if the trigger is modifier+normal key then it won't see the modifier press but it will still show up in the modifier bitmask when the normal key is pressed).

Could you explain the actual problem you're trying to fix?

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net