Results 1 to 6 of 6

Thread: HOWTO: numlock activated at startup in login screen

  1. #1
    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!!!

  2. #2
    Join Date
    Nov 2004
    Location
    North America
    Beans
    288
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: numlock activated at startup in login screen

    nice

  3. #3
    Join Date
    Feb 2005
    Location
    Bratislava, Slovakia
    Beans
    119

    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

  4. #4
    Join Date
    Feb 2007
    Beans
    Hidden!

    Re: HOWTO: numlock activated at startup in login screen

    thanks a lot, exactly what i was looking for

  5. #5
    Join Date
    Mar 2008
    Location
    florida
    Beans
    12
    Distro
    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

  6. #6
    Join Date
    Dec 2004
    Location
    Brisbane, Australia
    Beans
    130

    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •