codehenry / xmonad

Automatically exported from code.google.com/p/xmonad
0 stars 0 forks source link

Add <XF86AudioMicMute> to EZConfig multimediaKeys #582

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Assuming a script exists called "toggle-mic" in the user's PATH
2. Create keybinding for ("<XF86AudioMicMute>", spawn "toggle-mic")
3. Recompile/restart xmonad
4. Press <XF86AudioMicMute>
5. "toggle-mic is never called

What is the expected output? What do you see instead?
The script "toggle-mic" should have been called. It is not.

What version of the product are you using? On what operating system?
community/xmonad 0.11-9 (Arch Linux, not from haskell-core)
Linux 3.17.4-1 (Arch Linux)

Are you using an xmonad.hs?  Please attach it and the output of "xmonad
--recompile".

xmonad --recompile (no output)

Please provide any additional information below.

I'm currently forced to use xbindkeys to recognize <XF86AudioMicMute> and 
launch my script to toggle to mic input.

Original issue reported on code.google.com by enm...@gmail.com on 7 Dec 2014 at 5:22

Attachments:

GoogleCodeExporter commented 8 years ago
I've pushed a patch adding XF86AudioMicMute to EZConfig

byorgey: I'm wondering why we actually list so many keys because most of the 
strings listed are acceptable to stringToKeysym:

> length keyNames
237

> filter (\(s,v) -> stringToKeysym s /= v) keyNames
[("Backspace",65288),("Scroll_lock",65300),("Esc",65307),("L",65361),("U",65362)
,("R",65363),("D",65364),("Space",32)]

So it would be possible to just use stringToKeysym, instead of having so many 
elements in keyNames?

Original comment by vogt.a...@gmail.com on 22 Dec 2014 at 5:14