[xmonad] Configure eating of keys based on window class
Jiří Maršíček
jiri.marsicek at gmail.com
Mon Feb 16 15:32:09 UTC 2015
Brandon,
thanks a lot for the explanation. I have tried to fiddle a little with the
xmodmap and came out with solution that helps (although not solved in
xmonad).
Executing following does precisely what I needed: xmodmap -e "keysym
Super_L = Hyper_L" (while having Hyper_L defined as mod4).
On Mon, Feb 16, 2015 at 4:12 PM, Brandon Allbery <allbery.b at gmail.com>
wrote:
> On Mon, Feb 16, 2015 at 9:53 AM, Jiří Maršíček <jiri.marsicek at gmail.com>
> wrote:
>
>> 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?
>
>
> Keycodes are hardcoded in the X server and can't be changed by clients. It
> may be possible to remap it at the kernel level (the mapping from hardware
> keys to "raw" keys that the X server sees.
>
> Citrix is likewise handling key events at a level that xmonad can't
> intercept, it sounds like.
>
> --
> brandon s allbery kf8nh sine nomine
> associates
> allbery.b at gmail.com
> ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/xmonad/attachments/20150216/059086c4/attachment.html>
More information about the xmonad
mailing list