Numlock wanted ON by default Linux Mint and LMDE

Write tutorials and howtos in here
More tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please, Before you post please read this

Numlock wanted ON by default Linux Mint and LMDE

Postby stilloving on Sat Jun 29, 2013 8:16 am

This method enable numlock during login and after login, so you have the numlock always ON in your LINUX MINT and LMDE

1) FIRST, install numlockx : sudo apt-get install numlockx

2) SECOND, go to menu and type startup application and opent 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) Go to /etc/mdm/Init/ and edit Default

8) Add before exit 0 these lines:

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


Just restart your computer and next time you turn on it you have Numlock On always.


Stilloving from Argentina, Buenos Aires
stilloving
Level 1
Level 1
 
Posts: 5
Joined: Sat Jun 29, 2013 7:52 am

Linux Mint is funded by ads and donations.
 

Re: Numlock wanted ON by default Linux Mint and LMDE

Postby Zavulon on Tue Jul 02, 2013 1:33 pm

Thanks! I already figured out how to get it enabled on boot, but now I can get it enabled after login.

This numlock thing is really some annoying thing! I'm allways perplex that Linux (Mint) doesn't gives you an easy option to enable/disable numlock on startup/logon.
Zavulon
Level 1
Level 1
 
Posts: 26
Joined: Fri Jul 22, 2011 1:38 pm

Re: Numlock wanted ON by default Linux Mint and LMDE

Postby Hvilsted on Tue Dec 10, 2013 7:40 pm

Thanks!
Hvilsted
Level 1
Level 1
 
Posts: 23
Joined: Thu Nov 28, 2013 1:19 pm

Re: Numlock wanted ON by default Linux Mint and LMDE

Postby killer de bug on Wed Dec 11, 2013 6:48 am

Zavulon wrote:This numlock thing is really some annoying thing! I'm allways perplex that Linux (Mint) doesn't gives you an easy option to enable/disable numlock on startup/logon.


In fact it does!
The next version of MDM (available on github and in Mint 16) has an option to auto enable numlock.
If I have seen further it is by standing on the shoulders of giants. [Isaac Newton]
User avatar
killer de bug
Level 6
Level 6
 
Posts: 1077
Joined: Tue Jul 08, 2008 1:49 pm
Location: France


Return to Tutorials / Howtos

Who is online

Users browsing this forum: No registered users and 11 guests