You are not logged in.

#1 2012-02-26 19:57:46

laserdude11
Member
Registered: 2012-02-26
Posts: 2

Internal keyboard Enter key mapped to wrong code

Hey, guys.

I have an Alienware M15x, and whenever I press the internal enter key, it shows up with KP_Enter and not Return, as it should. An external keyboard (with a numpad) works fine. I looked around, but I can't find any way to fix this.

Am I just missing something? Any help would be greatly appreciated.

Offline

#2 2012-02-27 06:55:24

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Internal keyboard Enter key mapped to wrong code

Try running "xev" and then press the Return key to see which keycode it maps to. After you know which keycode it is, run...

# xmodmap -e "keycode <the_keycode> = Return"

Now, if this solves your issue; this will just be a temporary fix (until your session ends). In order to make it permanent, you can simply create a .Xmodmap config file in your home directory and add the change to it. See here for the details.


Burninate!

Offline

#3 2012-03-11 23:48:41

laserdude11
Member
Registered: 2012-02-26
Posts: 2

Re: Internal keyboard Enter key mapped to wrong code

Thanks, but I figured it out another way. I fixed it using udev, with it's own file and everything.
I'll edit this in just a second with the fix.

The real question is, should I give it to the guys who write the udev stuff? If so, where could I do that?

Offline

Board footer

Powered by FluxBB