Numlock wanted ON by default

All Gurus once were Newbies
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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Numlock wanted ON by default

Postby selukwe on Fri Jul 27, 2012 5:49 am

I noticed that my LM13KDE does not activate numlock though my BIOS is set accordingly and Windows OS has it also on. It´s a pity there is no GUI option in my LM settings for this. How this could be done to activate numlock automatically on LM startup? Perhaps some add-on program could do that...?
selukwe
Level 1
Level 1
 
Posts: 41
Joined: Sun Jul 22, 2012 9:02 am

Linux Mint is funded by ads and donations.
 

Re: Numlock wanted ON by default

Postby nomko on Fri Jul 27, 2012 6:04 am

*ASUS P5KPL-AM SE*Intel Core(TM)2 Quad CPU Q8200*4 GiB ram*nVidia GeForce 9500GT*Realtek RTL8101/8102E*RaLink RT2500 802.11g*Optiarc DVD RW AD-7200A*HDD:Samsung HD501LJ/HD103SI*Mint 14/Cinnamon*

Dutch Linux Mint forum:http://www.forum.linuxmintnl.nl/
User avatar
nomko
Level 6
Level 6
 
Posts: 1037
Joined: Sat Feb 25, 2012 7:28 pm
Location: /home/nomko

Re: Numlock wanted ON by default

Postby selukwe on Fri Jul 27, 2012 11:51 am

Maybe this works on Ubuntu (it seems to be written for it) but it doesn't on LM13KDE.I'm getting error gedit: not found...
Any other idea? Possibly even a small prog doing this?
selukwe
Level 1
Level 1
 
Posts: 41
Joined: Sun Jul 22, 2012 9:02 am

Re: Numlock wanted ON by default

Postby nomko on Fri Jul 27, 2012 12:12 pm

selukwe wrote:Maybe this works on Ubuntu (it seems to be written for it) but it doesn't on LM13KDE.I'm getting error gedit: not found...
Any other idea? Possibly even a small prog doing this?


Yes i've the problem. And you're right! It doesn't work with KDE.
*ASUS P5KPL-AM SE*Intel Core(TM)2 Quad CPU Q8200*4 GiB ram*nVidia GeForce 9500GT*Realtek RTL8101/8102E*RaLink RT2500 802.11g*Optiarc DVD RW AD-7200A*HDD:Samsung HD501LJ/HD103SI*Mint 14/Cinnamon*

Dutch Linux Mint forum:http://www.forum.linuxmintnl.nl/
User avatar
nomko
Level 6
Level 6
 
Posts: 1037
Joined: Sat Feb 25, 2012 7:28 pm
Location: /home/nomko

Re: Numlock wanted ON by default

Postby squeezy on Fri Jul 27, 2012 12:21 pm

selukwe wrote:I'm getting error gedit: not found...


That's because you're using KDE. gedit is the GNOME text editor. Substitute the name of the KDE text editor. Sorry, I'm not a KDE user so I don't know what it's called. kate?
squeezy
Level 5
Level 5
 
Posts: 567
Joined: Thu Feb 23, 2012 2:05 pm
Location: The Land of Enchantment

Re: Numlock wanted ON by default

Postby selukwe on Fri Jul 27, 2012 12:48 pm

Still doesn't work, I'm getting errors and saving is refused. Could perhaps someone experienced try this in LM-KDE, I'm a Linux beginner...:-)
selukwe
Level 1
Level 1
 
Posts: 41
Joined: Sun Jul 22, 2012 9:02 am

Re: Numlock wanted ON by default

Postby nomko on Fri Jul 27, 2012 12:55 pm

selukwe wrote:Still doesn't work, I'm getting errors and saving is refused.


Could perhaps someone experienced try this in LM-KDE

Most of us are all experienced users. I have over 5 years of experience, but just worked with Gnome only. Sometimes a solution works with KDE and with Gnome. Sometimes it doesn't, just like now. But that is not a reason for you to ask for a "experienced user" like you got help from unexperienced people.

, I'm a Linux beginner...:-)

So was i. But with searching the internet and searching forums i learned a lot. You could try the same.
*ASUS P5KPL-AM SE*Intel Core(TM)2 Quad CPU Q8200*4 GiB ram*nVidia GeForce 9500GT*Realtek RTL8101/8102E*RaLink RT2500 802.11g*Optiarc DVD RW AD-7200A*HDD:Samsung HD501LJ/HD103SI*Mint 14/Cinnamon*

Dutch Linux Mint forum:http://www.forum.linuxmintnl.nl/
User avatar
nomko
Level 6
Level 6
 
Posts: 1037
Joined: Sat Feb 25, 2012 7:28 pm
Location: /home/nomko

Re: Numlock wanted ON by default

Postby Jaws on Fri Jul 27, 2012 2:25 pm

Go to -> System Settings -> Hardware -> Input Devices -> Keyboard -> Numlock on KDE Startup -> Turn On.

Hope this helped.
Jaws
Level 1
Level 1
 
Posts: 47
Joined: Thu Jul 19, 2012 10:56 am

Re: Numlock wanted ON by default

Postby selukwe on Fri Jul 27, 2012 5:16 pm

This is it, superb! Many thanks, this works perfectly...:-)
selukwe
Level 1
Level 1
 
Posts: 41
Joined: Sun Jul 22, 2012 9:02 am

Re: Numlock wanted ON by default

Postby marsh20 on Tue Jul 31, 2012 5:31 am

Hi all,

Im running Mate 13 and have followed the instruction in the link below and found the relevant file, but am still very green and am not sure how to edit and save the file. Could someone tell me how to? Thanks
Think about the "undo" before you "do".
User avatar
marsh20
Level 3
Level 3
 
Posts: 115
Joined: Thu Dec 15, 2011 5:44 am
Location: UK

Re: Numlock wanted ON by default

Postby nomko on Tue Jul 31, 2012 8:24 am

marsh20 wrote:Hi all,

Im running Mate 13 and have followed the instruction in the link below and found the relevant file, but am still very green and am not sure how to edit and save the file. Could someone tell me how to? Thanks


Which link below do you mean?
*ASUS P5KPL-AM SE*Intel Core(TM)2 Quad CPU Q8200*4 GiB ram*nVidia GeForce 9500GT*Realtek RTL8101/8102E*RaLink RT2500 802.11g*Optiarc DVD RW AD-7200A*HDD:Samsung HD501LJ/HD103SI*Mint 14/Cinnamon*

Dutch Linux Mint forum:http://www.forum.linuxmintnl.nl/
User avatar
nomko
Level 6
Level 6
 
Posts: 1037
Joined: Sat Feb 25, 2012 7:28 pm
Location: /home/nomko

Re: Numlock wanted ON by default

Postby marsh20 on Tue Jul 31, 2012 8:40 am

Nomko,

Sorry, above from the second post.
Think about the "undo" before you "do".
User avatar
marsh20
Level 3
Level 3
 
Posts: 115
Joined: Thu Dec 15, 2011 5:44 am
Location: UK

Re: Numlock wanted ON by default

Postby A Future Pilot on Tue Jul 31, 2012 12:34 pm

Running that command should open up a file in the gedit text editor. Simply make the changes it says and then either hit Ctrl+s or click on File->Save. Then close the text editor.
User avatar
A Future Pilot
Level 3
Level 3
 
Posts: 110
Joined: Sun May 29, 2011 9:09 am

Re: Numlock wanted ON by default

Postby nomko on Tue Jul 31, 2012 3:45 pm

A Future Pilot wrote:Running that command should open up a file in the gedit text editor. Simply make the changes it says and then either hit Ctrl+s or click on File->Save. Then close the text editor.


That's right. Just follow the steps provided on that website and it will work.
*ASUS P5KPL-AM SE*Intel Core(TM)2 Quad CPU Q8200*4 GiB ram*nVidia GeForce 9500GT*Realtek RTL8101/8102E*RaLink RT2500 802.11g*Optiarc DVD RW AD-7200A*HDD:Samsung HD501LJ/HD103SI*Mint 14/Cinnamon*

Dutch Linux Mint forum:http://www.forum.linuxmintnl.nl/
User avatar
nomko
Level 6
Level 6
 
Posts: 1037
Joined: Sat Feb 25, 2012 7:28 pm
Location: /home/nomko

Re: Numlock wanted ON by default

Postby Skara Brae on Sun Aug 05, 2012 3:21 pm

A little [bump], if I may.



I experienced - just now - that "gdm" in that link has to be "mdm". After adding those lines in my "Default" file, Numlock is now switched on - just the way I like it (since I have numbers in my login password).

Running Mint 13 "Mate", here.

nomko,
thank you very much for providing that link.
Codename "PUMA": Intel Core i5-3450 // Gigabyte GA-H77-D3H // 1 x 4 GB DDR3-RAM // Gigabyte Geforce GT 630 // WD Caviar Blue 500 GB (S-ATA) // Samsung WriteMaster DVD-rw // Aopen QF50C PC case
--
Registered Linux User #495429
Skara Brae
Level 1
Level 1
 
Posts: 36
Joined: Sat Jun 09, 2012 10:45 am

Re: Numlock wanted ON by default

Postby johnglid on Thu Aug 09, 2012 6:08 pm

Is there an equivalent procedure for LM 13 KDE?
johnglid
Level 1
Level 1
 
Posts: 4
Joined: Wed Aug 08, 2012 8:40 pm

Re: Numlock wanted ON by default

Postby selukwe on Fri Aug 10, 2012 4:28 am

I don't understand why still bother with scripts in this case, when there's an easy GUI solution advised by Jaws on Fri Jul 27, 2012 8:25 pm (see above), reading - I quote:

Go to -> System Settings -> Hardware -> Input Devices -> Keyboard -> Numlock on KDE Startup -> Turn On.

This is a solution specifically for KDE. Works a treat...
selukwe
Level 1
Level 1
 
Posts: 41
Joined: Sun Jul 22, 2012 9:02 am

Re: Numlock wanted ON by default

Postby johnglid on Fri Aug 10, 2012 12:31 pm

selukwe wrote:I don't understand why still bother with scripts in this case, when there's an easy GUI solution advised by Jaws on Fri Jul 27, 2012 8:25 pm (see above), reading - I quote:

Go to -> System Settings -> Hardware -> Input Devices -> Keyboard -> Numlock on KDE Startup -> Turn On.

This is a solution specifically for KDE. Works a treat...


That works fine after you log in but doesn't turn Numlock on for the login screen so you can enter numbers as part of the password.
johnglid
Level 1
Level 1
 
Posts: 4
Joined: Wed Aug 08, 2012 8:40 pm

Re: Numlock wanted ON by default

Postby Jaws on Fri Aug 10, 2012 1:27 pm

Don't want to sound like a jerk and you can login any way you like, but if your password contains both letters and numbers, isn't it easier to use the keyboard number keys instead of the number pad keys?

Alternatively, you could use the convenience feature Enable Auto-Login in System Settings.
Jaws
Level 1
Level 1
 
Posts: 47
Joined: Thu Jul 19, 2012 10:56 am

Re:Numlock wanted ON by default

Postby johnglid on Sat Aug 11, 2012 10:15 am

Jaws wrote:Don't want to sound like a jerk and you can login any way you like, but if your password contains both letters and numbers, isn't it easier to use the keyboard number keys instead of the number pad keys?

Alternatively, you could use the convenience feature Enable Auto-Login in System Settings.

That's O.K. Found the solution here "http://nancib.wordpress.com/2011/12/17/howto-run-scripts-in-kde-before-kde-starts/"... Informative article.
Last edited by johnglid on Sat Aug 11, 2012 10:27 pm, edited 1 time in total.
johnglid
Level 1
Level 1
 
Posts: 4
Joined: Wed Aug 08, 2012 8:40 pm

Linux Mint is funded by ads and donations.
 
Next

Return to Newbie Questions

Who is online

Users browsing this forum: dohalad, gregkg, kwisher, rado84 and 43 guests