diff mbox

Remap micmute to F20

Message ID 1346196739-3619-1-git-send-email-james.leddy@canonical.com (mailing list archive)
State New, archived
Headers show

Commit Message

James M Leddy Aug. 28, 2012, 11:32 p.m. UTC
Because of a limitation of the X11 protocol, we can't use micmute in
it's current mapping. I've chosen to map this to F20, since we do
similar things with the touchpad buttons for the same reason. Whatever
we use, we will have to agree with xkeyboard-config.

http://lists.freedesktop.org/archives/xorg-devel/2012-August/033442.html

Signed-off-by: James M. Leddy <james.leddy@canonical.com>
---
 keymaps/module-lenovo |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bastien Nocera Aug. 28, 2012, 11:36 p.m. UTC | #1
Em Tue, 2012-08-28 às 19:32 -0400, James M Leddy escreveu:
> Because of a limitation of the X11 protocol, we can't use micmute in
> it's current mapping. I've chosen to map this to F20, since we do
> similar things with the touchpad buttons for the same reason. Whatever
> we use, we will have to agree with xkeyboard-config.
> 
> http://lists.freedesktop.org/archives/xorg-devel/2012-August/033442.html

Feel free to implement this once you're done :)
https://bugzilla.gnome.org/show_bug.cgi?id=651051

Cheers

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
James M Leddy Aug. 29, 2012, 3:43 p.m. UTC | #2
On 08/28/2012 07:36 PM, Bastien Nocera wrote:
> Em Tue, 2012-08-28 às 19:32 -0400, James M Leddy escreveu:
>> Because of a limitation of the X11 protocol, we can't use micmute in
>> it's current mapping. I've chosen to map this to F20, since we do
>> similar things with the touchpad buttons for the same reason. Whatever
>> we use, we will have to agree with xkeyboard-config.
>>
>> http://lists.freedesktop.org/archives/xorg-devel/2012-August/033442.html
> 
> Feel free to implement this once you're done :)
> https://bugzilla.gnome.org/show_bug.cgi?id=651051

Already ahead of you :) Just have to make sure the patch applies cleanly
upstream. Thanks for the bug number.

https://bazaar.launchpad.net/~jm-leddy/ubuntu/quantal/gnome-settings-daemon/micmute/view/head:/debian/patches/micmute.patch
> 
> Cheers
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
James M Leddy Aug. 29, 2012, 3:52 p.m. UTC | #3
On 08/29/2012 11:43 AM, James M Leddy wrote:
> On 08/28/2012 07:36 PM, Bastien Nocera wrote:
>> Em Tue, 2012-08-28 às 19:32 -0400, James M Leddy escreveu:
>>> Because of a limitation of the X11 protocol, we can't use micmute in
>>> it's current mapping. I've chosen to map this to F20, since we do
>>> similar things with the touchpad buttons for the same reason. Whatever
>>> we use, we will have to agree with xkeyboard-config.
>>>
>>> http://lists.freedesktop.org/archives/xorg-devel/2012-August/033442.html
>>
>> Feel free to implement this once you're done :)
>> https://bugzilla.gnome.org/show_bug.cgi?id=651051
> 
> Already ahead of you :) Just have to make sure the patch applies cleanly
> upstream. Thanks for the bug number.
> 
> https://bazaar.launchpad.net/~jm-leddy/ubuntu/quantal/gnome-settings-daemon/micmute/view/head:/debian/patches/micmute.patch

Just realized this is unity specific, I'll work on a gnome-shell version
this week or next.

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Bastien Nocera Aug. 29, 2012, 3:56 p.m. UTC | #4
On Wed, 2012-08-29 at 11:43 -0400, James M Leddy wrote:
> On 08/28/2012 07:36 PM, Bastien Nocera wrote:
> > Em Tue, 2012-08-28 às 19:32 -0400, James M Leddy escreveu:
> >> Because of a limitation of the X11 protocol, we can't use micmute in
> >> it's current mapping. I've chosen to map this to F20, since we do
> >> similar things with the touchpad buttons for the same reason. Whatever
> >> we use, we will have to agree with xkeyboard-config.
> >>
> >> http://lists.freedesktop.org/archives/xorg-devel/2012-August/033442.html
> > 
> > Feel free to implement this once you're done :)
> > https://bugzilla.gnome.org/show_bug.cgi?id=651051
> 
> Already ahead of you :) Just have to make sure the patch applies cleanly
> upstream. Thanks for the bug number.

I can tell you it won't, as your copy of gnome-settings-daemon has been
atrociously mutilated by notify-osd patches.

I'll add a reference to the patch in the upstream bug, if somebody wants
to use it as an example.

> https://bazaar.launchpad.net/~jm-leddy/ubuntu/quantal/gnome-settings-daemon/micmute/view/head:/debian/patches/micmute.patch



--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/keymaps/module-lenovo b/keymaps/module-lenovo
index 8e38883..f94678d 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