Numlock wanted ON by default
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Re: Numlock wanted ON by default
Found the solution here "http://nancib.wordpress.com/2011/12/17/ ... de-starts/"... Informative article.
Re: Numlock wanted ON by default
Hi all,
Sorry to resurrect this thread.
I am running LM 13 Mate and have tried the suggested fix from Nomko early in this thread and does not seem to have had any effect.
Any other suggestions?
Sorry to resurrect this thread.
I am running LM 13 Mate and have tried the suggested fix from Nomko early in this thread and does not seem to have had any effect.
Any other suggestions?
Think about the "undo" before you "do".
Re: Numlock wanted ON by default
Hi All,
I think I screwed up my etc/mdm/init/default its now totally blank any advise how to get the default back?
I think I screwed up my etc/mdm/init/default its now totally blank any advise how to get the default back?
Think about the "undo" before you "do".
Re: Numlock wanted ON by default
For me the setting in System Settings under Input Devices to turn on numlock did not work. What did work was to install numlockx (sudo apt-get install numlockx) and then in System Settings under Startup and Shutdown/Autostart click Add Program and type in numlockx. This has worked in several distros in which the KDE setting does not.
Re: Numlock wanted ON by default
Thanks for that claudecat. It worked fine on my French keyboard in LDME (Cinnamon) , whereas 3 or 4 other suggestions from elsewhere didn't . Have recently changed, after several years with Ubuntu (didn't like 12.04) and find the contributors to the LMDE fora (o.k. forums) much less pompous.... Thanks again, Kaspin
Re: Numlock wanted ON by default
sudo apt-get install numlockx
- Now edit /etc/mdm/Init/Default and insert the bellow code.
sudo gedit /etc/mdm/Init/Default (or use vi, nano, leafpad, etc as the editor instead of gedit)
and insert these lines at the end of the file, just before "exit 0":
if [ -x '/usr/bin/numlockx' ];
then
/usr/bin/numlockx on
fi
- Save & Exit editor program
It is done.
- Now edit /etc/mdm/Init/Default and insert the bellow code.
sudo gedit /etc/mdm/Init/Default (or use vi, nano, leafpad, etc as the editor instead of gedit)
and insert these lines at the end of the file, just before "exit 0":
if [ -x '/usr/bin/numlockx' ];
then
/usr/bin/numlockx on
fi
- Save & Exit editor program
It is done.
Re: Numlock wanted ON by default
blueknight529 wrote:sudo apt-get install numlockx
- Now edit /etc/mdm/Init/Default and insert the bellow code.
sudo gedit /etc/mdm/Init/Default (or use vi, nano, leafpad, etc as the editor instead of gedit)
and insert these lines at the end of the file, just before "exit 0":
if [ -x '/usr/bin/numlockx' ];
then
/usr/bin/numlockx on
fi
- Save & Exit editor program
It is done.
Thank you so much!
Re: Numlock wanted ON by default
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
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
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
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