Results 1 to 5 of 5

Thread: Num Lock Key

  1. #1
    Join Date
    Nov 2008
    Location
    Alaska U.S.A.
    Beans
    384
    Distro
    Ubuntu 18.04 Bionic Beaver

    Num Lock Key

    Is it possible to have the Num Lock key enabled at boot? I'd like it so that when I go to enter my password (which has some numbers that I use the numerical key pad for) I don't have to ensure it's active or not. Not a huge deal just an extra step I'd rather eliminate. TIA.

  2. #2
    Join Date
    Jan 2010
    Location
    La Crescenta (L.A. area)
    Beans
    400
    Distro
    Xubuntu 10.04 Lucid Lynx

    Re: Num Lock Key

    It's a great question actually, and I have a very similar one, but I'll wait to see what responses you get before confusing the issue since I'm using a compact laptop where the keypad is integrated with other standard keys, whereas you are using a regular, full, keyboard, I presume.
    Intrepid User of Xubuntu & LXDE on:
    (1) Dell Latitude, CPi R400GT, PII 400 MHz, 256MB SDRAM, 66MHz.
    (2) Toshiba Portégé 3490CT, PIII 700 MHz, 256MB SDRAM, 100MHz.
    Both using NETGEAR MA521 Wireless PCMCIA (no issues!).

  3. #3
    Join Date
    Nov 2008
    Location
    Alaska U.S.A.
    Beans
    384
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Num Lock Key

    Shoulda done this in the first place.

    Lots of good info. Imma try some of it when I get a chance. Will post the outcome here.
    Last edited by bug67; February 25th, 2011 at 06:44 PM.

  4. #4
    Join Date
    Nov 2008
    Location
    Alaska U.S.A.
    Beans
    384
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Num Lock Key

    Found the answer right here on our own forums:

    http://newyork.ubuntuforums.org/show...7&postcount=11

    Quote Originally Posted by DarinB View Post
    Hey this worked it is fun when you get stuff to work.
    Enabling NUM Lock at boot

    The Default behaviour is for the NUM Lock key to be off at boot up, but if you wish to have it enabled for entering your login password, follow these instructions.

    From Synaptic Package Manager, search for and install numlockx or, from the Terminal type or copy and paste:

    Code:
    sudo apt-get install numlockx
    To get it working, you now have to edit the appropriate startup file. First, make sure you have a working backup of the file, in a Terminal type or copy and paste:

    Code:
    sudo cp /etc/gdm/Init/Default /etc/gdm/Init/Default.bak
    Next, modify the gdm/Init file. In a Terminal type or copy and paste;

    Code:
    gksudo gedit /etc/gdm/Init/Default
    Scroll down to the end of the file, and above the line that says “exit 0″ add the following:

    Code:
    if [ -x /usr/bin/numlockx ]; then
    /usr/bin/numlockx on
    fi
    Save the file then, next time you reboot, your NUM LOCK should default to “on".

    Keeping Num Lock on afetr login:
    Open [System], [Preferences], [Startup Applications], click on and type numlockx in the 1st box numlockx in the 2nd box and Keeps Num Lock on after login in the 3rd box, then click on [Add]. now restart your PC.

    copied from martin's ubuntu blog

  5. #5
    Join Date
    Jan 2010
    Location
    La Crescenta (L.A. area)
    Beans
    400
    Distro
    Xubuntu 10.04 Lucid Lynx

    Re: Num Lock Key

    It's been a while, but I just wanted to report back in case this could help anyone else.

    On a Toshiba Portégé R200 series laptop (R205-S209), the keypad is integrated with other keys, and pressing the Fn key will give instant, "shift style operation" for typing numbers (similar to the way the Shift key instantly switches keys for typing capital letters). This is very convenient for random digits and zip codes, especially when using some foreign keyboard layouts (such as French for France) where numbers on the top row are NOT available without using the Shift key. The Caps Lock key only locks letter keys, NOT the top row. The problem is, for password logon, the Fn key defaults to the direction keys, not the keypad, so it's not nearly as convenient. Using the Caps Lock key, as explained, doesn't work. Using Shift for capitals means a clumsy two handed operation for any password with digits included. Using the keypad, without locking it, requires first pressing Fn and the keypad F12 combination, then letting go of F12, then pressing F12 again and letting go of both keys. This will finally activate normal keypad "shift type" behavior, and I hated it! Locking the keypad is only slightly more convenient, and only if all the numbers in your password are grouped together. You still have to unlock it to get back to typing normally.

    All of this fuss may seem like a small thing, but fast boot is one of the most immediately noticeable advantages of switching to Ubuntu from Windows, and this jumping over hurdles kind of defeats that impression.

    The above procedure, explained by bug67, cured everything in about two minutes flawlessly. The Fn now operates as a keypad shift key during logon, and the same behavior (already present by default), once the session has started has not been disrupted.
    Last edited by Kixtosh; June 23rd, 2011 at 02:06 AM.
    Intrepid User of Xubuntu & LXDE on:
    (1) Dell Latitude, CPi R400GT, PII 400 MHz, 256MB SDRAM, 66MHz.
    (2) Toshiba Portégé 3490CT, PIII 700 MHz, 256MB SDRAM, 100MHz.
    Both using NETGEAR MA521 Wireless PCMCIA (no issues!).

Tags for this Thread

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
  •