I lose characters because keycode of Fn is same than DEL

Jon TURNEY jon.turney@dronecode.org.uk
Thu Jun 23 11:34:00 GMT 2011


On 10/06/2011 10:33, Paul Maier wrote:
> on a a IBM Lenovo Laptop T60 there is a "Fn" key to adjust the screen brightness and such.
>
> That "Fn" key has the same keycode than the DEL key.
> Therefore I can't change the Fn key with xmodmap (because I would change the DEL key the same way.)
>
> When I adjust the screen brightness, I lose characters in the editor.
> Unfortunately the Fn key REPEATS firing delete while the key is pressed.
> And several times I didn't notice the loss before saving and leaving the editor.
>
> Here is the output of xev when I press the Fn key: (Pressing the DEL key would yield the very same output.)
>
>
> KeyPress event, serial 20, synthetic NO, window 0xa00001,
>      root 0x101, subw 0xa00002, time 42594031, (35,42), root:(259,282),
>      state 0x0, keycode 107 (keysym 0xffff, Delete), same_screen YES,
>      XLookupString gives 1 bytes: (7f) "<7f>"
>      XFilterEvent returns: False
>
>
> What can we do?

Thanks for the bug report.

I think this is a bug in the way XWin translates Windows keystrokes into X 
keycodes.

Can you run the X server with the extra option '-logverbose 3' and report what 
is written to /var/log/xwin/XWin.0.log when you press the Fn key.

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/



More information about the Cygwin-xfree mailing list