Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old February 24th, 2005   #1
PaDV
5 Cups of Ubuntu
 
Join Date: Feb 2005
Beans: 15
HOWTO: numlock activated at startup in login screen

I find it very annoying that the numlock is not activated at startup in the login screen GDM, especially when using a password that contains numbers. I tried the How To: "Setting up numlock on start up" but noticed that the numlock is activated just after logging in, at the splash screen of Gnome. The following solution solves this problem:

Make sure that the warty universe repository is enabled.

Execute the following commands in a terminal:
1. sudo apt-get install numlockx
2. sudo gedit /etc/X11/gdm/Init/Default
3. Add the following lines at the end before the line "exit 0":
Code:
if [ -x /usr/bin/X11/numlockx ]; then
   /usr/bin/X11/numlockx on
fi
4. Put off your numlock and restart X by pressing Ctrl+Alt+Backspace

The numlock should be activated now and every time you reboot!!!
PaDV is offline   Reply With Quote
Old February 24th, 2005   #2
macewan
Way Too Much Ubuntu
 
Join Date: Nov 2004
Location: North America
Beans: 281
Ubuntu 7.04 Feisty Fawn
Send a message via Skype™ to macewan
Re: HOWTO: numlock activated at startup in login screen

nice
macewan is offline   Reply With Quote
Old February 26th, 2005   #3
ebash
A Carafe of Ubuntu
 
Join Date: Feb 2005
Location: Bratislava, Slovakia
Beans: 114
Re: HOWTO: numlock activated at startup in login screen

Under hoary the path to numlockx seems to have changed to /usr/bin/numlockx.
In such case the correct entries to add to the file /etc/X11/gdm/Init/Default should be :
Code:
# Set Num Lock
if [ -x /usr/bin/numlockx ]; then
   /usr/bin/numlockx on
fi
ebash is offline   Reply With Quote
Old February 24th, 2007   #4
madtom
First Cup of Ubuntu
 
Join Date: Feb 2007
My beans are hidden!
Re: HOWTO: numlock activated at startup in login screen

thanks a lot, exactly what i was looking for
madtom is offline   Reply With Quote
Old March 21st, 2008   #5
setotitan
First Cup of Ubuntu
 
setotitan's Avatar
 
Join Date: Mar 2008
Location: florida
Beans: 12
Ubuntu 7.10 Gutsy Gibbon
Re: HOWTO: numlock activated at startup in login screen

great how to really did the trick! just wanted to put a side note here, if you're using gutsy step 2 is actually:

sudo gedit /etc/gdm/Init/Default

i was beating my head against the wall trying to figure out why i couldn't get it
setotitan is offline   Reply With Quote
Old March 21st, 2008   #6
hazza96
A Carafe of Ubuntu
 
Join Date: Dec 2004
Location: Brisbane, Australia
Beans: 130
Send a message via ICQ to hazza96 Send a message via AIM to hazza96 Send a message via MSN to hazza96 Send a message via Yahoo to hazza96
Re: HOWTO: numlock activated at startup in login screen

I have not tried doing these suggestions but I found this thread because my num lock light is on after boot up but the num lock isn't. I hit the numpad and no numbers are entered.

I have to hit the num lock key three times for it to actually be on.

I will try the suggestion and see what happens.
__________________
Regards,
Harry Phillips
hazza96 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:58 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry