you must completely log out of the GUI, then log in as root using the "command line" option under session type on the login screen. Once you are logged in as root, run the kdmconfig command. It will walk you through the process of setting the keyboard type. Once that is done, log out of the root account and log back in as yourself
What Solaris release are you using ? on what hardware ?
What keyboard did you choose at installation ?
Does it works fine in the text console (without X11 running) ?
Why do you want to change its layout, i.e. what keys are wrong ?
I am using solaris 10 with latest updates
Platform is Amd x64 [quad core]
I want to change it because , I kave some documents to write in my language.
Traditional letters are missing �� { I am writing from Windows now}
And kbd doesn`t work fine ever in Terminal
Yes I tried the loadkeys , the kbd doesn`t change the layout at all
�� are standard letters in Croatian keyboard
edit : I just found out that I can use Bosnian keyboard it is the same but some keys are missing and old script does not work
mkdir /etc/dt/config
cp Xstartup /etc/dt/config
cat >> /etc/dt/config/Xstartup <<%EOF%
xmodmap -e "keycode 55 = v V at grave"
xmodmap -e "keycode 24 = q Q backslash Greek_OMEGA"
xmodmap -e "keycode 25 = w W bar Lstroke"
xmodmap -e "keycode 26 = e E EuroSign EuroSign"
xmodmap -e "keycode 41 = f F bracketleft ordfeminine"
xmodmap -e "keycode 42 = g G bracketright ENG"
xmodmap -e "keycode 45 = k K lstroke ampersand"
xmodmap -e "keycode 46 = l L lstroke Lstroke"
xmodmap -e "keycode 56 = b B braceleft apostrophe"
xmodmap -e "keycode 57 = n N braceright braceright"
xmodmap -e "keycode 58 = m M asciicircum masculine"
%EOF