Red Hat General - Num Lock

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat General > January 2004 > Num Lock





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Num Lock
Shawn

2004-01-23, 6:55 pm

How do I get the Num Lock to stay on when I boot up?

Shawn

Etienne von Wettingfeld

2004-01-23, 6:55 pm

Shawn wrote:
quote:

> How do I get the Num Lock to stay on when I boot up?



It's a BIOS setting. Enter your BIOS when you start up your PC. It should
say something like 'Hit DEL to enter setup' or 'Press F1 for BIOS
settings'.

--
Etienne von Wettingfeld [SuSE Linux]
Voice mail & Fax: +31 (84) 8835157 -//- www.doomdark.demon.nl

{ -*- Nam Et Ipsa Scientia Potestas Est -*- } MMIII
Etienne von Wettingfeld

2004-01-23, 6:55 pm

Thor wrote:
quote:

>
> That's only in windows...Since he was asking in a linux group it hardly
> applies.



I thought it was OS independent. Why else put it in the BIOS?

--
Etienne von Wettingfeld [SuSE Linux]
Voice mail & Fax: +31 (84) 8835157 -//- www.doomdark.demon.nl

{ -*- Nam Et Ipsa Scientia Potestas Est -*- } MMIII
Shawn

2004-01-23, 6:55 pm

John wrote:
quote:

> On Fri, 20 Jun 2003 23:44:15 +1200, Thor wrote:
>
>
>
>
> Another option is to modify your keymap under X so that the number pad
> behaves as if the NumLock is always on (see manpage for xmodmap). It's
> easy--just create the file ~/.Xmodmap with the content:
>
> ! redefines numeric keypad to be used without NumLock
> keycode 79 = KP_7
> keycode 80 = KP_8
> keycode 81 = KP_9
> keycode 83 = KP_4
> keycode 84 = KP_5
> keycode 85 = KP_6
> keycode 87 = KP_1
> keycode 88 = KP_2
> keycode 89 = KP_3
> keycode 90 = KP_0
> keycode 91 = KP_Decimal
>
> ! deactivates NumLock key
> keycode 77 =
>


Thanks for the info, this helps. Just out of curiosity, is there a way
to do something similar to this when you are running in a shell not under X?

Shawn

John

2004-01-23, 6:55 pm

On Fri, 20 Jun 2003 15:30:38 +0000, Shawn wrote:
quote:

> John wrote:



<snip>
quote:

> Thanks for the info, this helps. Just out of curiosity, is there a way to
> do something similar to this when you are running in a shell not under X?



See the manpage for loadkeys. The keymap gets set globally in
/etc/rc.d/init.d/keytable. You might do something like create a
custom keymap based on /lib/kbd/keymaps/i386/qwerty/us.map.gz (or
whatever your preference) and have it loaded at startup. Noodle around
to do it on a per user basis. HTH. -John

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com