Search code examples
keyboardsolaris-10

Solaris 10 keyboard problem


Im runing Solaris 10 - but im having problems with the keyboard.

Instead of - i get /, and instead of y i get z, etc. I tried changing every option in the menu "Keyboard Behaviour". I also tried changing kmdconfig from xorg to xsun, but then the graphics goes all wild and ugly - although the keyboard works fine then. Also cant change resolution in xsun mode.

By the way, im runing Solaris from Vmware, but i doubt this has anything to do with this.


Solution

  • Leave the graphic environment to the console:

    dtconfig -d
    dtconfig -reset
    

    Select the correct keyboard layout you use:

    kbd -s
    

    Load it:

    loadkeys
    

    Check the keys are working properly. If okay, enable the graphical environment again:

    dtconfig -e
    

    If that still works, make that choice persistent after a reboot by updating your eeprom. eg:

    eeprom kbd-type=Spanish