solariskeyboard-layout

How to change the Keyboard layout on Solaris


I am running a machine with SunOS and NO graphical enviroment. Does someone know how to change the keyboard layout from the console??

Thanks


Solution

  • Select your layout

    Type the following command to select your layout from a list:

    kbd -s
    

    If your language isn't in the list, have a look at this blog post on how to create your own layout. You might have to take a look at this if you have a non-standard (e.g. Apple) layout.

    Reload your keymap

    Reload your keyboard translation table with the following command:

    loadkeys
    

    The change should persist through reboots, unless you're using an in-memory OS like SmartOS