Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
How can i automatically be numlocks ON on startup.......
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Mar 2003
    Location
    Istanbul/Türkiye
    Posts
    246

    num locks


    How can i automatically be numlocks ON on startup....
    Just a Newbie....Looking 4 Info....

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Alas, that is a question that has perplexed many. I have wondered myself, but I didn't consider it important enough to dive into something for it. It is definitely possible, but I do not know how, and I believe it has been asked before on this forum.
    Do you really want me to check it out for you? I could do that, 'cause I'd like to know myself, and if someone else wants to know as well, I might actually do it.

  3. #3
    Just Joined!
    Join Date
    Mar 2003
    Posts
    9
    On SuSE YAST it is on System -> sysconfig Editor -> Hardware -> Keyboard:
    e.g. kbd_capslock, kbd_delay, kbd_rate, kbd_numlock, etc.

    On KDE 3.1.1 I think you can run Control Center -> Regional & Accessibility -> Keyboard. If not just go to your sysconfig and edit manually ;-)


    Have a lot of fun :-)

  4. #4
    Linux Newbie
    Join Date
    Mar 2003
    Location
    Istanbul/Türkiye
    Posts
    246

    not like that

    thanks for help tries..

    but i want a script for this not from menus..if u know u make me happy..
    Just a Newbie....Looking 4 Info....

  5. #5
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    If this is a terminal mode program, you could write a C program that calls the kernel ioctls to turn off numlock. See console_ioctls(4) for more info on that.
    I'm not sure how to do it in X, though. I should really learn more about X programming.

  6. #6
    Linux Newbie
    Join Date
    Mar 2003
    Location
    Istanbul/Türkiye
    Posts
    246

    that is for console

    from
    # man setleds

    INITTY=/dev/tty[1-8]
    for tty in $INITTY; do
    setleds -D +num < $tty
    done

    it works for console ok.but for X?
    Just a Newbie....Looking 4 Info....

  7. #7
    Linux Enthusiast
    Join Date
    Feb 2003
    Location
    Ontario, Canada
    Posts
    556
    in KDE --- preferences, peripherals, keyboard, advanced, click on enable numlock on boot

  8. #8
    Linux Newbie
    Join Date
    Mar 2003
    Location
    Istanbul/Türkiye
    Posts
    246

    gnome

    i use gnome and i dont want to do this from panel..

    thx
    Just a Newbie....Looking 4 Info....

  9. #9
    Linux Enthusiast
    Join Date
    Feb 2003
    Location
    Ontario, Canada
    Posts
    556
    oh, too bad about gnome :o

  10. #10
    Linux Newbie
    Join Date
    Mar 2003
    Location
    Istanbul/Türkiye
    Posts
    246

    hmm

    i ll seek for this.if i find i ll explan here..
    thx
    Just a Newbie....Looking 4 Info....

Page 1 of 2 1 2 LastLast

Posting Permissions

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