?
Solved

How to setup numlock

Posted on 2000-01-09
5
Medium Priority
?
241 Views
Last Modified: 2013-12-15
I want numlock to come on when I start Linux Mandrake 6.
How do I do this?????
0
Comment
Question by:konastan
  • 3
  • 2
5 Comments
 
LVL 12

Accepted Solution

by:
j2 earned 300 total points
ID: 2337355
setleds +num
0
 

Author Comment

by:konastan
ID: 2338385
Where do I add setleds +num????
0
 
LVL 12

Expert Comment

by:j2
ID: 2338398
/etc/rc.d/rc.local (or any other place that gets run at system startup / user logon)
0
 

Author Comment

by:konastan
ID: 2344200
But it stops when I start XWindows.
How do I keep numlock on after XWindows starts????
0
 
LVL 12

Expert Comment

by:j2
ID: 2344888
Try setting up a .Xmodmap file in your home directory.
If you already have the file, just add this to the end.
The "NumLock" light will not be lit but the keys should work.  The file should look thustly:
 
 
keycode 79=7
keycode 80=8
keycode 81=9
keycode 83=4
keycode 84=5
keycode 85=6
keycode 87=1
keycode 88=2
keycode 89=3
keycode 90=0
keycode 91=period
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Welcome back to our beginners guide of the popular Unix tool, cron. If you missed part one where we introduced this tool, the link is below. We left off learning how to build a simple script to schedule automatic back ups. Now, we’ll learn how to se…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month6 days, 2 hours left to enroll

589 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question