UnixAdminsDiary

Tuesday, March 02, 2010

How to change the keyboard setting under Solaris

Today I had the problem that I got my brand new Sun USB keyboard. But - it's a UK layout, and my old one was a german layout. So - how to change this?
Quite simple - the file /etc/default/kbd contains the keyboard setting that overrides the eeprom defaults during system start. The (usually last) line LAYOUT=UK-English defines the desired setting for me.

Step-by-step:
The command kbd -s lists all possible keymaps.
The command kbd -i changes the new setting to the one in /etc/default/kbd
The next reboot loads the new keymap into the kernel

As usual, man kbd tells you all the details ...

0 Comments:

Post a Comment

<< Home