How can I make my debian turn NumLock on automatically?
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
How can I make my debian turn NumLock on automatically?
Every time,as I start up my debian, I must turn NumLock on myself.Though it was a little job,it still bother me very much.So I want to know,how can I make my debian turn it on automatically,as it start up?And edit what file?
If you use KDE there's a setting you can change somewhere http://www.linuxgazette.com/node/view/395 If you don't use KDE but you have a C compiler you can compile a small binary that will do the job. Copy and paste this into a text file and call it setnumlock.c
That will create a binary called setnumlock. Copy it somewhere convenient (in your $PATH?) To run it when you log in to Gnome run gnome-session-properties and enter setnumlock in the startup programs.
I am sorry to bother you again, nedwardss.Because the program you recommened have been installed by me,But it doesn't work.
The problem is still the same.Every time I must turn it on by hand as the same.
How can you make it work?Can you tell me?
Oh,I see.Perhaps the former version of numlockx I downloaded is a crashed version.So it didn't pop up the dialog.Now I have changed my source.list.So it must be no problem.(Because I haven't restart my computer)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.