Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Windows I never turn my NumLock on. I navigate through the page line with Home and End, and when I want to mark a line I use them in a combination with the Shift key. Pretty basic stuff right? Well I don't know how to do it in Ubuntu 10.04. The Home and End keys work but if I hold the Shift key it inputs respectively 7 and 1. If I turn the NumLock on it works but if I am not holding the Shift key it prints 7 and 1 again. Is there any way I can use my keyboard in Ubuntu the same way I do in Windows?

P.S. My roomy is much more experienced than me in Linux so he suggested that xmodmap might work, but even if this is the approach I should take, I still don't want to dig into the whole documentation, just the cliff notes for this exact task if you please.

share|improve this question
Is this a laptop? – RolandiXor Dec 11 '10 at 20:37
up vote 4 down vote accepted

Go to System > Preferences > Keyboard, tab Layout, click on Options, go to Miscellanous compatibility options and then click on Shift with numeric keypad keys works as in MS Windows.

I don't have a numeric keypad so I can't test if it works but it should.

share|improve this answer

i selected "Default numeric keypad keys", and it makes the system remember if numlock is on (ubuntu 12.10)

share|improve this answer
Where do you select this? – Eliah Kagan Jan 8 '13 at 0:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.