Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[XMonad.Util.EZConfig] Function key XF86WLAN missing #27

Closed
schoettl opened this issue Dec 18, 2015 · 6 comments
Closed

[XMonad.Util.EZConfig] Function key XF86WLAN missing #27

schoettl opened this issue Dec 18, 2015 · 6 comments

Comments

@schoettl
Copy link

The XF86WLAN function key missing in the supported function keys of EZConfig:
http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Util-EZConfig.html

On my ThinkPad T450s I've got this one to enable/disable wifi.
https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_T450s#Function_Keys
Edit: There are actually one more unsupported function key:

$ xev | awk -F'[ )]+' '/^KeyPress/ { a[NR+2] } NR in a { printf "%-3s %s\n", $5, $8 }'
246 XF86WLAN
198 XF86AudioMicMute
@vrs
Copy link

vrs commented Dec 22, 2015

I think the place to add this would be xmonad-x11? See also: xmonad/X11#21

@byorgey
Copy link
Member

byorgey commented Dec 22, 2015

Well, it would need to be added in both places.

@schoettl
Copy link
Author

So in xmonad/X11#21 there is a script to generate this keys.

Unfortunately there is no X11 header file containing this key (on my computer):

$ grep XF86WLAN  /usr/include/X11/*keysym.h

(no output)

And there is also no file for Lenovo/IBM keysyms :(

What do you think about placing an X11 header file Missingkeysym.h in the repo and use the same script as in #21 (slightly modified) to generate the bindings?

@byorgey
Copy link
Member

byorgey commented Dec 23, 2015

I think it is in /usr/include/X11/XF86keysym.h as XF86XK_WLAN.

@schoettl
Copy link
Author

Oh, you're right! So once someone gets the script for autogeneration to run, this key should get included in EZConfig...

@pjones
Copy link
Contributor

pjones commented Feb 7, 2017

Fixed with xmonad/X11#41

@pjones pjones closed this as completed Feb 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants