[SLE] how to get KDE to default to num-lock on
I've been looking for a way to have KDE come up with the num-lock activated for the login screen and when a user is in his/her desktop or in application activated from that desktop. I've only found how to get the num-lock activated for the ascii logins. Thanks, -- Kurt R. Rahlfs -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
On Monday 30 October 2000 20:43, Kurt R. Rahlfs wrote:
I've been looking for a way to have KDE come up with the num-lock activated for the login screen and when a user is in his/her desktop or in application activated from that desktop. I've only found how to get the num-lock activated for the ascii logins. Thanks, -- Kurt R. Rahlfs
Stefan Troeger once posted this solution, which I find much better... Quoting: It isn't a good idea to turn NumLock on, anyway. Some programs behave strangely when it's on, because X treats NumLock as a modifier (like Shift, Ctrl etc.). Add the following to your ~/.Xmodmap file keycode 0x5A = 0 keycode 0x57 = 1 keycode 0x58 = 2 keycode 0x59 = 3 keycode 0x53 = 4 keycode 0x54 = 5 keycode 0x55 = 6 keycode 0x4F = 7 keycode 0x50 = 8 keycode 0x51 = 9 keycode 0x5B = period keycode 0x6C = Return keycode 0x56 = plus keycode 0x52 = minus keycode 0x3F = asterisk keycode 0x70 = slash keycode 0x4D = and do a `xmodmap ~/.Xmodmap'. This has the same effect as turning NumLock on. End Quoting Hope it helps, Alvaro Novo SuSE 6.4 Kernel 2.2.16 KDE 2.0 RC2 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
participants (2)
-
kurtrr@computer.org
-
novo@uiuc.edu