Page 1 of 1

Minor irritation with Numlock

Posted: Wed Jan 16, 2013 11:13 am
by russellz
When I boot my machine the BIOS switches Numlock on however as soon as the login screen appears the Numlock goes off. As I have a French keyboard requiring shift for the numbers I habitually use the number pad. My usual passwords contain numbers and letters so, being a forgetfull old fart, I have to try two or three times to login.

Is there any way to set numlock for the login screen? I have added "numlockx on" to the startup programs but that doesn't get actioned until login.

Russell.

Re: Minor irritation with Numlock

Posted: Thu Jan 17, 2013 12:32 am
by RavenLX
I'm using KDE so I went into Applications - Settings - System Settings and then in the Hardware section, go to Input Devices. On the left, select Keyboard. In the Hardware tab you'll see some options for NumLock on KDE Startup. Be sure to click in "Turn on". Click Apply, Exit the dialog and reboot. You should now get the NumLock on by default. There's also an option to Turn Off for those who rather have the NumLock off as default.

Re: Minor irritation with Numlock

Posted: Thu Jan 17, 2013 6:20 am
by russellz
RavenLX wrote:I'm using KDE so I went into Applications - Settings - System Settings and then in the Hardware section, go to Input Devices. On the left, select Keyboard. In the Hardware tab you'll see some options for NumLock on KDE Startup. Be sure to click in "Turn on". Click Apply, Exit the dialog and reboot. You should now get the NumLock on by default. There's also an option to Turn Off for those who rather have the NumLock off as default.
Thanks for the suggestion.

Sorry, forgot to mention I'm using Linux Mint Mate rather than KDE. There doesn't seem to be that setting in Mate - or at least I can't find it.

Russell.

Re: Minor irritation with Numlock

Posted: Thu Jan 17, 2013 7:09 am
by russellz
Tried a few things;

1. I put "setleds -D +num" at the end of the rc.local file. That turned the numlock LED on but not the keyboard action.

2. I tried numlockx on in the rc.local file - no effect. I gues it only works after X has started?

Any other suggestions?

Russell

Re: Minor irritation with Numlock

Posted: Thu Jan 17, 2013 2:06 pm
by RavenLX
rc.local is for the terminal bootup. I would try looking for the mate login screen configuration either in the GUI or the file that it looks at when it runs. I think that is where it is either getting turned off or not present. Might want to try looking for a file: ~/.config/mate and see if it's in there somewhere.

Also your command is not turning on any numlock, just the LEDs. You need a command to turn the numlock feature on itself.

Here's another idea to try: http://forum.linuxmint.com/viewtopic.ph ... 8&start=20

Re: Minor irritation with Numlock

Posted: Thu Jan 17, 2013 5:59 pm
by DrHu
http://it.toolbox.com/blogs/locutus/wha ... inux-35692
  • System -> Preferences -> Keyboard -> Layout -> Layout Options -> Miscellaneous compatibility options -> turn on "Default numeric keypad keys"
Does that work, from the complaint/blog link above

It is likely from the desktop/OS viewpoint to be related to some keyboard device selection setting

Re: Minor irritation with Numlock

Posted: Thu Jan 17, 2013 6:58 pm
by thomZz
DrHu wrote:http://it.toolbox.com/blogs/locutus/wha ... inux-35692
  • System -> Preferences -> Keyboard -> Layout -> Layout Options -> Miscellaneous compatibility options -> turn on "Default numeric keypad keys"
Does that work, from the complaint/blog link above

It is likely from the desktop/OS viewpoint to be related to some keyboard device selection setting
It works for me !

Thanks, that's what i was looking for.

Re: Minor irritation with Numlock

Posted: Fri Jan 18, 2013 9:11 am
by russellz
DrHu wrote:http://it.toolbox.com/blogs/locutus/wha ... inux-35692
  • System -> Preferences -> Keyboard -> Layout -> Layout Options -> Miscellaneous compatibility options -> turn on "Default numeric keypad keys"
Does that work, from the complaint/blog link above

It is likely from the desktop/OS viewpoint to be related to some keyboard device selection setting
That's an interesting blog. Unfortunately the solution doesn't work for me.

Russell.

Re: Minor irritation with Numlock

Posted: Fri Jan 18, 2013 11:58 am
by RavenLX
I think what would be nice is a tutorial on how to turn on the numlock in each of the DEs.

Re: Minor irritation with Numlock

Posted: Sat Jan 19, 2013 6:34 am
by russellz
The problem with setleds (btw with -D it sets the flags as well as the leds) is that it only seems to work from a Console and only works for that console. It doesn't work from a Terminal.

I thought it might be the Login theme so I tried a different one but no change.

The numlock light is on when BIOS does it's thing but goes off as Linux Mint starts to load so there must be something in one of the startup scripts but I can't find it :(

Russell.