Number pad not working in Ubuntu? I feel your pain. After an upgrade to Hardy, my numberpad stopped working in Ubuntu Linux. I decided to look around in the Keyboard preferences and found my answer. I found that mousekeys was enabled. To get the use of my num pad back, all I had to do was disable mousekeys.
So, here’s the quick step by step to enable the number pad:
Step 1: Click on System Menu
Step 2: Mouse over on Preferences
Step 3: Click on Keyboard
This brings up the Keyboard preferences window.
Step 4: Click on the Mouse Keys tab
Step 5: Disable the “Allow to control the pointer using the keyboard” checkbox.
Step 6: Click close and ensure that your Num lock is on.
At this stage you should have full use of your number pad.
Update: There is a shortcut key to toggle Mousekeys also. You can do this by pressing the SHIFT and Num Lock keys together.


Thank you! Now in my case it worked fine for weeks after the Hardy upgrade but all of the sudden a couple of days ago (probably because of an update), *poof* numpad functionality was gone. Disabling this setting worked.
Thank you for this. I don’t know how this become enabled, but this did the trick.
Thank you!!!
Thanks! This issue was driving me MAD in Ibex!
Thank you!
My numpad was acting all screwy; the keys were mixed up.
I nearly replaced the keyboard! Instead a five minute websearch brought me here. Man I love community.
Thanks!!!
Thanks very much…worked a treat!
You are Wizard!
Thank you!!!
Thank alot.
I have disable my numpad accidently. ? dont know how i did it
But this information helped me.
Thank you! Quickest fix ever!
You’re all very welcome.
There’s a key combination of “SHIFT” + “Num Lock” that activates the numpad also. So look out for that too.
Thanks alot!
as rvdavid says “Shift” + “Num Lock” does the trick aswell (both ways, I guess thats how I got the problem in the first place).
Thanks! My numpad “broke” also and this post fixed it
Thank you.
It works for me
I was going to format my Debian Install and start from scratch, and that’s alot of work for my setup…
but then i found this…
Thanks a lot!!
@mlebel – haha! I can totally relate to what you’re saying – re-installing from scratch because of a few niggling little quirks. I’m glad this blog post has saved you a lot of work – you’re welcome!
Thanks!
Now, I only want to find that Idiot who made this “feature” a default and a group of Idiots who approved this. This is a “little thing” from the technical perspective, but is a Major flaw for most non-techies. What would piss off more people — losing the use of their numpad or not having some obscure mouse control feature on (by default)? I bet Microsoft would had never done something like this to their OS!
But to you, rvdavid, thank you!
- Igor
You’re welcome Igor, but I think some of you’re comments a little harsh.
I agree that the shortcut key is obscure though.
It should have been better documented I guess. But then again I seldom read documentation. lol
thanks man!!! my number pad just stopped working all of a sudden a few days ago. i tried replacing batteries (wireless keyboard) but no joy… now it works again
This was the fastest fix that I have ever found for any problem with Linux. Thanks rvdavid. Although I do agree with Igor that this feature should not be enabled by default. Thanks again.
You’re welcome Fabricio and kpiascik
I’m glad that it’s helped you out.
maddening. thanks rvdavid.
Thank u so much,
It helps me a lot
Thank you very much. I just did a simple update yesterday and this problem appeared.
I’m using 9.10 ( Karmic Koala) by the way and this worked perfectly.
This is the BEST Post EVER!
Shift+NumLock to enable/disable my numberpad. So Cool, You Rock Thank you!
My Little Kid loves bashing my keyboard and he’s always doing wierd things and I couldn’t figure out what was wrong with my NumberPad, it just wasn’t working, only going up and down etc..
Shift and Num Lock
(trying to remember for next time)
Perfect! I thought my keyboard was dying but it worked fine when rebooting to XP! This fixed it for me. I’ll try to remember that hot-key to toggle it.
Thank-you!
You’re welcome guys
glad this post is still helping ppl out a year and a bit later.
It’s still only 19th February here (see date of your last post rvdavid) on the wet coast of Canada and the post just helped me. I echo all that has been said before. Thanks a lot.
heh good stuff – you gotta love the global community.
Glad it helped you out buddy. keep in touch.
Thanks – works like a charm! Was bummed when this stopped working on my laptop since having a number pad on a laptop is a major plus to me.
Ace! That’s been bugging me for a while! Thankyou!
Awesome!
Thanks! Just happened to me as well. Glad to find your post! 123456789 (proof that it’s working!
thank you very much…especially for the shortcut key information, didn’t know about that shortcut although I think I may have accidentally used it to turn on the mousekeys.
You are most welcome Guys! Glad it helped out!
Thank you! This has been bugging me for a few weeks. All of a sudden, my numpad stopped working for numbers. I have a Logitech keyboard that does NOT have a NUM LOCK key and so I dismissed the problem for a while. I thought maybe there was a specific key combination I accidentally hit to switch it from numbers to cursor control. Then, I thought maybe it was a setting somewhere in Ubuntu. I even looked at Ubuntu’s Keyboard Preferences and that setting didn’t dawn on me, for whatever reason, even as obvious as it was!
Thanks
Thanks. What a relief!
Thanks!
Obrigado!
You’re welcome OnHate.
Thank you. New Ubuntu user here and this post was the 2nd hit for “logitech keyboard number pad not working linux” in google. Now to the next challenge…
You’re welcome. I was once a new ubuntu user as well
I understand what you mean by “next challenge”. Just curious tho’ what _is_ the next challenge for you? maybe I can help you or at least point you to the right direction
Thank you so much. I would have thought this problem would go away, but the default installation of Maverick had that option enabled. I thought I’d gone mad, but it was a simple fix.
Thanks
Your posting is one of those gifts that keeps on giving.
Thanks so much for the info.
You’re welcome Alan. I’m glad you found the info useful.
First comment in 2011, but still fixed it for me! Thanks!
Haha good stuff adam; you’re welcome!
Perfect!!!! Works on my HP DV6
But on 10.10 – Maverick Meerkat:
> System > Preferences > Keyboard
Mouse Keys TAB, then uncheck “Pointer can be controlled using keypad”
Great to know Fred thank you.
Thanks so much for the post! Worked like a champ and kept me from taking it in for repair!
Worked like a charm on Ubuntu 10.10! Thanks!
Thanks! Didn’t realize how much I relied on the number pad til I didn’t have it.
THANKS A LOT!!!!
Thank you very much.
it worked
you saved my life
lost control of my numpad after a f-ed up update
thanks
And I discovered another weird behaviour in Ubuntu 11.04 about Shift+numpad:
1) numlock on:
num4=4
shift+num4=left arrow
2) numlock off:
num4=left arrow
shift+num4=left arrow
So now I can’t select text using keyboard numpad+shift. (Usual arrows+shift are unusable because of broken left key button). Any help would be very appreciated.
typo:
2) numlock off:
num4=left arrow
shift+num4=4
Okay, gotcha!
“Go to System | Preferences | Keyboard, click the Layouts tab, click Options…, expand ‘Miscellaneous compatibility options’, and check both “Shift does not cancel NumLock, chooses 3rd level instead” and “Shift with numeric keypad keys works as in MS Windows”"
Fantastic. This was driving me nuts.
Thanks for detail explanation. It works properly.
Thinks .. its very helpfull to me..
Thanks! I didn’t hold one of the keys down long enough to realize it was controlling the cursor, or I might have figured this out myself. I don’t know how that got enabled.
Outstanding – this has been bugging me for days. Thanks.
great. Thanks for the info.
thanks alot i love my ctl-alt- shortcuts. u da man
Thank you!
You’re welcome