Results 1 to 4 of 4

Thread: Numlock at gdm (and in cli mode also)

  1. #1
    Join Date
    Jul 2007
    Location
    Brugge, België
    Beans
    2,933

    Numlock at gdm (and in cli mode also)

    This one has bothered me for a while.

    It's not really a problem, but I would still like to see it fixed.

    When I enter my password at the gdm, I have to first disable numlock and then enable it again or else it won't accept any numbers.

    This happens in Ubuntu Hardy, and Intrepid.

    It also happens on my Arch box, which doesn't use the gdm.

    There I just start Gnome from the cli, but even in the cli mode, I still have to disable numlock and then enable it again when typing in my login data.

    Sure this procces only takes 1 second, but still does anyone know why this happens?

    I'm using a usb keyboard.

    (ps, this also happens with a friend of mine running hardy and a usb keyboard)

  2. #2
    Join Date
    Oct 2006
    Location
    Binghamton, NY
    Beans
    1,850
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Numlock at gdm (and in cli mode also)

    I don't know if this will help, but at least check the file:
    In Hardy and Gutsy, edit
    Code:
    /etc/gdm/Init/Default
    .

    Find the line

    exit 0

    Add the following code above that line

    Code:
    if [ -x /usr/bin/numlockx ]; then
            /usr/bin/numlockx on
          fi
    Never wade in water you're afraid to swim in unless it's the Linux pond, cause there's always a life ring in the forums

  3. #3
    Join Date
    Jul 2007
    Location
    Brugge, België
    Beans
    2,933

    Re: Numlock at gdm (and in cli mode also)

    Thanks, I'll try it out later today and see if it works.

  4. #4
    Join Date
    Jan 2007
    Location
    Ciudad Juarez
    Beans
    47
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Numlock at gdm (and in cli mode also)

    Quote Originally Posted by gettinoriginal View Post
    I don't know if this will help, but at least check the file:
    In Hardy and Gutsy, edit
    Code:
    /etc/gdm/Init/Default
    .

    Find the line

    exit 0

    Add the following code above that line

    Code:
    if [ -x /usr/bin/numlockx ]; then
            /usr/bin/numlockx on
          fi
    I can't find that file in Intrepid. I had that code added when I was using Gusty, but after installing Intrepid, I just could not find that file to add it again. Can you help? Thanks.
    "Yo no soy cobarde, Padre, yo soy pacifista, que no es lo mismo. Odio el derramamiento de sangre inutil, y tambien el util. Por eso yo odio la guerra. La guerra fria, la guerra caliente y la guerra fria." -- Tin Tan

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
  •