Rob Garth
Mildly Useful Stuff

"Enter" key on evo keyboard doesn't work in some apps

May 17th, 2006 by robg

Most things have been working great on the notebook. However, in certain apps, I kept coming up against an “enter” key which would not send a newline character. An external PS2 keyboard would work, but the laptop keyboard would not. It was particularly annoying in “info” and “man”.

After some digging, it turns out the keyboard is actually sending a keypad enter scancode instead of a regular enter scancode. Most apps don’t care, and it made no difference, but some did, and it bugged the crap out of me.

Easy fix. Add the line:

keycode 108 = Return

To ~/.xmodmap. Restart X or just run: xmodmap ~/.xmodmap. The problem should go away.

Posted in Uncategorized

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.