LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Number Pad in Keyboard Not Working (https://www.linuxquestions.org/questions/linux-hardware-18/number-pad-in-keyboard-not-working-4175585421/)

rclinux 07-24-2016 01:02 PM

Number Pad in Keyboard Not Working
 
1 Attachment(s)
This is a dual boot installation W10 +LM18. Everything else works fine.

Tried another keyboard, same problem.
Tried ctrl shift numlock, same problem.
Couldn't find this "tab": Your numpad is making your mouse move, you can also go to system/preferences/keyboard,[mouse keys] tab and uncheck the box.

Also numLock ON in Start Up Applications, see attached image:

frankbell 07-24-2016 09:09 PM

Does the numpad work with Windows?

Try booting to a Live CD of something not Mint and testing the numlock under the Live CD and let us know what happens.

Also, even though it shouldn't matter, what is the make/model of the keyboard and the computer?

beachboy2 07-25-2016 02:18 AM

rclinux,

In Mint 17.3 and earlier, I used this:

1) Install numlockx :

Code:

sudo apt-get install numlockx
2) Go to menu and type startup application and open it.

3) Click on Add

4) On "Name" put NUMLOCK ON

5) On "Command" put /usr/bin/numlockx on

6) Click on Add and Close.


7) Then:

Code:

sudo nano /etc/mdm/Init/Default
Before exit 0, add these lines:

Code:

if [ -x /usr/bin/numlockx ]; then
exec /usr/bin/numlockx on
fi

Restart your computer.

Also, check to see if there is a setting in your BIOS for NumLock ON.

rclinux 07-25-2016 01:31 PM

1 Attachment(s)
frankbell: Numlock works in Windows 10, Keyboard is HP Mod.5187-1767.

beachboy2:
Couldn't insert the last command before exit0 so I closed the terminal(still has a process running) and reopened and entered sudo nano /etc/mdm/Init/Default but returned this screen,photo attched.

beachboy2 07-25-2016 03:05 PM

1 Attachment(s)
rclinux,

NB If you are using Mint 18 Cinnamon, then the information below is probably of little use.

Maybe a Mint 18 Cinnamon user can send you a copy of the original equivalent file for Cinnamon.

The NumLock in my Mint 18 MATE 64 bit appears to be working okay without the addition of:

Code:

if [ -x /usr/bin/numlockx ]; then
exec /usr/bin/numlockx on
fi

This may be taken care of in my BIOS.

If it is of any help I am attaching the File: /etc/mdm/Init/Default which INCLUDES the additional code above.

It may NOT be needed, but at least it should give you an idea of what the original /etc/mdm/Init/Default file looks like.

If you are not familiar with using nano then do look at some tutorials first.

http://www.howtogeek.com/howto/42980...e-text-editor/

rclinux 07-27-2016 02:15 PM

2 Attachment(s)
Found the answer searching around Menu:
>Preferences >Accessibility >Mouse: look at "Control the Pointer Using Keypad" turn it OFF! That's all folks. Here is are a couple of images to help:


All times are GMT -5. The time now is 12:46 AM.