
On Fri, Jan 30, 2009 at 12:13 PM, Adam Vogt
If you have a recent haskell X11 binding (>=1.4.4 I think) that had access to those headers when compiled, then you will have the module;
Graphics.X11.ExtraTypes.XF86
which exports functions like xF86XK_AudioLowerVolume, which should be the same as those raw numbers.
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11
* On Friday, January 30 2009, Khudyakov Alexey wrote:
It doesn't support "extra" keys such as XF86Back XF86Forward etc; these keys are recognised by recent versions of X11, and are recognised by other window managers such as Fvwm, but when I tried making keybindings for them in xmonad, it didn't work, and the documentation didn't include them in the list of supported keys.
I'm not sure whether it should be called supported or not but you can use them. You only need to specify raw numbers in config. Someting like this:
-- XF86Music , ((0, 0x1008ff92 ), do_something)
You can find numbers in /usr/share/X11/XKeysymDB (in Debian)
_______________________________________________
xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
Great tip. Thanks. I have just been hardcoding them in xmonad.hs. I'll check that out when I get home.