XF86Display duplicated keycode each keypress

Peter Hutterer peter.hutterer at who-t.net
Mon Jan 3 15:20:59 PST 2011


On Fri, 31 Dec 2010 13:35:50 -0200, João Gabriel Reis <reisgabrieljoao at gmail.com> wrote:
> Hello, I'm trying to map the XF86Display key (fn + F1) to a script, my
> problem is that everytime I press the key, the script is executed
> twice. I checked the keycode with the showkey command and I get this
> when the key is pressed:
> 
> keycode 227 press
> keycode 227 release
> keycode 227 press
> keycode 227 release
> 
> Seems that the key is interpreted twice, this is normal? Shouldn't
> just be one time? My laptop is a Dell Inspiron 1545, here's the output
> of setxkbmap -print -verbose 10:

if showkey shows multiple key press/release events for the key it's not
a fault of your X setup, it's on a lower layer. most likely, it's an
issue with the hardware itself.

Cheers,
  Peter



More information about the xorg mailing list