LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Wrong keyboard layout (https://www.linuxquestions.org/questions/linux-newbie-8/wrong-keyboard-layout-4175516564/)

antarctidaonline 08-27-2014 02:13 PM

Wrong keyboard layout
 
Just installed last version of Ubuntu - and found, that when I press "7" key on my digital keyboard (in right part of keyboard) - system types "1" digit!
"8" instead of "2", "9" instead of "3" and vice versa. I found that keyboard layout is wrong. When I open keyboard layout window, I see that buttons "1", "2", "3" is at top line. They are at bottom line on my keyboard! How can I change keyboard layout so that it will correspond my "hardware" keyboard?
On my Debian linux keyboard worked correctly!

notKlaatu 08-28-2014 12:00 AM

This is what you get for switching from Debian to something easier ;-)

You can see what map you ended up with:

Code:

setxkbmap -query
and then set it to your preferred one:

Code:

setxkbmap dvorak
(except instead of dvorak, whatever layout you actually use...)

Hope that solves it!

DavidMcCann 08-28-2014 11:00 AM

This is nothing to do with the keyboard layout, but with numeric keypad one. I'm not familiar with Ubuntu, but somewhere there should be a keyboard configuration tool where you can set special options. Under Keypad, you should have it set to "default', and yours has been set to "phone-style".

Shadow_7 08-29-2014 11:33 AM

$ sudo dpkg-reconfigure keyboard-configuration

antarctidaonline 09-14-2014 05:56 AM

Thanks to Shadow_7!
 
Shadow_7, dpkg-reconfigure keyboard-configuration was right answer.


All times are GMT -5. The time now is 04:24 AM.