x11 doesnt have num lock on
im getting tired of turning num lock on everytime i startx. is there a way to have it come on automatically?
|
also the . on my number pad doesnt work under linux?
|
|
Yeah, there definitely is a strong bias against the Num Lock key in the 'nix world. :scratch:
Here is how I set the Num Lock for console mode (run from within rc.local): Code:
# Turn numlock on: Additionally, KDE supports Num Lock. Look in the Control Center, under Peripherals/Keyboard. KDE also supports Accessibility options to enable a low volume pip noise when the Num Lock key is toggled. Look in the Control Center, Regional & Accessibility, Accessibility, Locking Keys. Within KDE Num Lock and Caps Lock are considered locking keys. I don't know why Scroll Lock and Insert are not. They should be. If you want Num Lock support with the kernel, you have to modify keyboard.c and recompile the kernel. Always irritated me that I set Num Lock in the BIOS and Linus toggled Num Lock off. Should be a boot parameter, not hard-coded. Quote:
|
I have a ~/.Xmodmap file with the following.
Code:
keycode 79=7 |
the key doesnt work as a period or a delete, the prog i installed didnt do much from slack builds. im using xfce.
i added an xmodmap, but what permissions does the file have? im gonna guess its a 755 kinda file. |
setleds +numlock works great, xfce is another story. whats the deal with nix being numb lock nazi's? i can see that being useful for a laptop that hijacks half of the keyboard for num lock, thats about it. i love num lock on my desktop =(
|
Start with some basics:
1. Test the Period/Delete key on a different computer. 2. Don't start X. Does the Period/Delete key work in console mode? There is an X applet called xev. Run the program from the command line and press the Period/Delete key. You will see the keycode for the key. |
dont start x LOL silly thats what ctrl + alt + f2 is for =)
xev confirms that the period is shot on this keyboard, no worries, i have a clone of it 2 feet from me. |
Quote:
Notice the period and uppercase X Code:
usermodmap=$HOME/.Xmodmap Oh another handy thing I do with it is disable the damned capslock key. Code:
remove Lock = Caps_Lock |
All times are GMT -5. The time now is 06:27 AM. |