Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg with numlock on USB key/numpad always on
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
hexa
Apprentice
Apprentice


Joined: 10 Aug 2005
Posts: 163

PostPosted: Tue Oct 17, 2006 12:40 pm    Post subject: xorg with numlock on USB key/numpad always on Reply with quote

Hi,

i'm using Xorg and external USB num pad (only numerical keys) along side my normal ps2 keyboard.
I would like to have numlock on my USB key/numpad always on. Even if i (or anyone other for that matter) presses it and disables it it should go back on automagically.

I have found numlockx, which is great. I put it in a simple shell script (while1;numlockx on;sleep 3) and works but only for the PS/2 keyboard! I doesn't for my USB keypad.
Is there a program or kind of Xorg configuration that i can use to make numlockx always on or that it turns itself on if it's disabled?

Thank you for any ideas.



This is the code i use for Xorg for USB numpad:
Code:
Section "InputDevice"
        Identifier      "USBKeyboard"
        Driver          "evdev"
        Option          "CoreKeyboard"
        Option          "Device"        "/dev/input/ISGnums"
        Option          "XkbRules"      "xorg"
        Option          "XkbLayout"     "en"
        Option          "XkbModel"      "evdev"
        Option          "XkbVariant"    "nodeadkeys"
EndSection
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum