From: Martin Pitt Date: Tue, 19 Mar 2013 12:10:29 +0000 (+0100) Subject: keymaps: Use F20 for micmute keys to be friendly to X.org X-Git-Tag: v199~158 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=1563c0c35a8005f5b71f04abe32c95d849efb420 keymaps: Use F20 for micmute keys to be friendly to X.org The "micmute" key code is outside of X.org's allowed range [1]. gnome-settings-daemon interprets F20 as "microphone mute" these days [2], so use this until X.org either gets fixed or obsoleted. [1] https://bugzilla.gnome.org/show_bug.cgi?id=692071 [2] https://mail.gnome.org/archives/commits-list/2013-January/msg05822.html --- diff --git a/keymaps/lenovo-thinkpad-usb-keyboard-trackpoint b/keymaps/lenovo-thinkpad-usb-keyboard-trackpoint index 47e8846a6..d87549e44 100644 --- a/keymaps/lenovo-thinkpad-usb-keyboard-trackpoint +++ b/keymaps/lenovo-thinkpad-usb-keyboard-trackpoint @@ -10,4 +10,4 @@ 0x90011 prog1 # Thinkvantage button 0x90015 camera # Fn+F6 headset/camera VoIP key ?? -0x90010 micmute # Microphone mute button +0x90010 f20 # Microphone mute button; should be micmute, but see https://mail.gnome.org/archives/commits-list/2013-January/msg05822.html diff --git a/keymaps/module-lenovo b/keymaps/module-lenovo index 8e3888309..573a6a774 100644 --- a/keymaps/module-lenovo +++ b/keymaps/module-lenovo @@ -14,4 +14,4 @@ 0x15 volumedown 0x16 mute 0x17 prog1 # ThinkPad/ThinkVantage button (high keycode: "vendor") -0x1A micmute # Microphone mute +0x1A f20 # Microphone mute button; should be micmute, but see https://mail.gnome.org/archives/commits-list/2013-January/msg05822.html