Login with "Numlock" on (SOLVED)

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Miami592

Login with "Numlock" on (SOLVED)

Post by Miami592 »

Using Mint 11 LXDE. Love how lightweight and fast it is.

One annoyance is that when I startup every morning I have to hit NumLock manually.

Is there a way to make it automatic at startup like it was in gnome?

Thanks in advance,

Miami592
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
seppalta

Re: Login with "Numlock" on

Post by seppalta »

You can edit autostart at /etc/xdg/lxsession/Mint/autostart. See http://douwil7.100webspace.net/linux/Tuning.html#16 for more information.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Login with "Numlock" on

Post by AlbertP »

Make sure NumLock is enabled in your computer's BIOS.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
Miami592

Re: Login with "Numlock" on

Post by Miami592 »

Thanks you for the suggestions:

AlbertP- I checked in my BIOS and there is no section for NumLock.


Seppalta- I've used that resource before for other LXDE tweaks. It's very useful but I find nothing pertaining to NumLock in the autostart section. You have given me a better starting point though.

Thank you both for your quick replies, I'll keep you informed.
seppalta

Re: Login with "Numlock" on

Post by seppalta »

Apparently there is a tool in Synaptic that may help you. It is called numlockx. For directions on using it, refer to http://www.cyberciti.biz/faq/how-to-lin ... e-startup/. I never use numlocks. Let me know here if this works.
Miami592

Re: Login with "Numlock" on

Post by Miami592 »

Seppalta,

That did the trick. I had to use the second option as there was no gdm file on my system

Thanks for the help. Numlockx was available in software manager.

Many thanks,

Miami592
stilloving

Re: Login with "Numlock" on (SOLVED)

Post by stilloving »

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


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


Stilloving from Argentina, Buenos Aires
Locked

Return to “Software & Applications”