LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-24-2016, 01:02 PM   #1
rclinux
LQ Newbie
 
Registered: Dec 2014
Location: Miami,Fl
Distribution: Cinnamon
Posts: 8

Rep: Reputation: Disabled
Number Pad in Keyboard Not Working


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:
Attached Thumbnails
Click image for larger version

Name:	Start Up Applications Screenshot from 2016-07-24 09-39-02.png
Views:	564
Size:	49.5 KB
ID:	22549  
 
Old 07-24-2016, 09:09 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,311
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
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?
 
Old 07-25-2016, 02:18 AM   #3
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,969
Blog Entries: 32

Rep: Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464
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.
 
Old 07-25-2016, 01:31 PM   #4
rclinux
LQ Newbie
 
Registered: Dec 2014
Location: Miami,Fl
Distribution: Cinnamon
Posts: 8

Original Poster
Rep: Reputation: Disabled
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.
Attached Thumbnails
Click image for larger version

Name:	NumLock fix attempt Screenshot from 2016-07-25 14-13-44.png
Views:	100
Size:	16.2 KB
ID:	22556  

Last edited by rclinux; 07-25-2016 at 01:32 PM.
 
Old 07-25-2016, 03:05 PM   #5
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,969
Blog Entries: 32

Rep: Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464
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/
Attached Files
File Type: txt Mint 18 MATE 64 bit & Numlock.txt (1.3 KB, 56 views)

Last edited by beachboy2; 07-25-2016 at 03:08 PM.
 
Old 07-27-2016, 02:15 PM   #6
rclinux
LQ Newbie
 
Registered: Dec 2014
Location: Miami,Fl
Distribution: Cinnamon
Posts: 8

Original Poster
Rep: Reputation: Disabled
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:
Attached Thumbnails
Click image for larger version

Name:	Mouse Control view 1.png
Views:	484
Size:	39.8 KB
ID:	22582   Click image for larger version

Name:	Mouse Control view 2.png
Views:	357
Size:	30.0 KB
ID:	22583  
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compaq number pad not working ubuntu shredi Linux - Laptop and Netbook 0 08-27-2011 01:48 PM
keyboard, touch pad not working an_sush Linux - Hardware 1 12-18-2009 03:42 AM
Keyboard Number Lock not working and a terminal emualtion program needed Peter M-M DamnSmallLinux 2 03-17-2005 08:04 AM
number pad not working Berhanie Linux - Laptop and Netbook 5 12-20-2003 11:12 PM
number pad x config? shanenin Slackware 3 11-18-2003 09:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration