Wrong Keyboard US<->UK Solaris install

Wrong Keyboard

I appreciate the new look and improved common sense defaults behind the new installer that appeared in Solaris Nevada build 70. But it isn't yet foolproof. Because I often switch between a laptop with a U.K. keyboard, a Sun Ray with a U.S. keyboard and my home P.C. with a U.K. keyboard, I often go too fast through the "Default layout?" choice in the installer and choose U.K. when I should choose U.S. or vice versa. I'm left with a system which almost works perfectly except that the " and @ are swapped, sometimes #, $ and / aren't where they belong and | is nowhere to be found.

At first I thought it was an X11 problem, but when I logged into console mode to create a default x.org file with /usr/bin/X11 -configure and found that the console keyboard layout was also wrong.

There are several ways to fix this. I could reinstall and enter the correct choice, but this is the dumb and slow solution. I could edit /boot/solaris/bootenv.rc and add setprop kbd-type 'US-English' in place of whatever keyboard layout I have there. Or I could edit /etc/defaults/kbd, change the layout to: LAYOUT=US-English and reboot. I chose this third option and am happy to report that my keyboard behaves as it should.

Comments:

Brian,
"Take your time, life is definitely too short!" :-)

Posted by William R. Walling on November 01, 2007 at 04:20 PM GMT+00:00 #

Post a Comment:
Comments are closed for this entry.
About

bnitz

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today