PDA

View Full Version : [ubuntu] Alienware laptop keyboard layout


georgestan
December 16th, 2009, 10:52 AM
This case has been solved.

Hello,

I installed Ubuntu Karmic on my Alienware m15x. All work well, but there is a little bit annoying with the keyboard.

When I use a terminal program such as less, I press / to search for text. After entering the match string, I press the enter key to let it go, only to get "ESCOM" (ESC, O, M actually). I read somewhere else that this is due to enter and return are not considered to be the same.

When I use an external keyboard (the standard one with numberic pad), this is not a problem.

Is there anyway to change the keymapping to get ENTER work in terminal? The only affected program so far is less.

Regards,

georgestan
January 6th, 2010, 10:19 PM
There is a workaround.

The reason is that Linux treats Enter and Return differently. Alienware m15x has only an Enter key.

Run xev to find that Enter key correspond to keycode 104.

Use xmodmap -e 'keycode 104 = Return' to merge Enter and Return together.

AndersAA
January 14th, 2010, 04:46 PM
This is actually a bios bug fixed in A03 (which has been pulled back because it's known to brick computers).

If you have numpad on it'll register as enter, otherwise it'll register as keypad enter, which is obviously the wrong way around.