Problem to use a German Keyboard !!!
Hi ! i Have a Problem to use a German Keyboard on a Solaris 10 VMware System.In /boot/solaris/bootenv.rc all seems o.k
etprop ata-dma-enabled '1'
setprop atapi-cd-dma-enabled '0'
setprop ttyb-rts-dtr-off 'false'
setprop ttyb-ignore-cd 'true'
setprop ttya-rts-dtr-off 'false'
setprop ttya-ignore-cd 'true'
setprop ttyb-mode '9600,8,n,1,-'
setprop ttya-mode '9600,8,n,1,-'
setprop lba-access-ok '1'
setprop prealloc-chunk-size '0x2000'
setprop bootpath '/pci@0,0/pci1000,30@10/sd@0,0:a'
setprop kbd-type 'German'
setprop console 'text'
But i still have an english keyboard style. i also changed the settings in gnome. i still have
the english layout.
Hope someone has an idea. Thanks
[812 byte] By [
schmu] at [2007-11-26 9:08:40]

# 1
I assume that you have this problem under X11.
If so, what X server do you use?
If you don't know then run kdmconfig and see.
If you are using Xsun you can change the keyboard settings with kdmconfig.
With Xorg you have to change Xorg's config file manually.
Regards,
Andreas
# 3
Hello.
I had the problem with a Sparc system. On Sparc systems kdmconfig does not exist; non-english layouts only work with Sun keyboards.
Under X11 I wrote a script that calls "xmodmap" to perform the key mappings for a german keyboard.
Note that the X11 server must be configured to support the "Alt GR" key.
#!/bin/sh
# Deutsche Tastaturbelegung (xmodmap), falls
# US-Standard-Tastatur unter Solaris erkannt wurde
# by Martin Rosenau
/usr/openwin/bin/xmodmap - << EOF
! Alt-GR
! Wird als mode_switch, nicht als SunAltGraph erkannt.
add mod2 = Alt_R
! y und z vertauschen
keycode 35 = Z
keycode 36 = Y
! my und at (M und Q)
keycode 23 = m M mu
keycode 27 = q Q at
! Ziffern
keycode 37 = 1 exclam
keycode 38 = 2 quotedbl
keycode 39 = 3 section
keycode 40 = 4 dollar
keycode 41 = 5 percent
keycode 42 = 6 ampersand
keycode 43 = 7 slash braceleft
keycode 44 = 8 parenleft bracketleft
keycode 45 = 9 parenright bracketright
keycode 46 = 0 equal braceright
! Ae, Oe, Ue
keycode 59 = Adiaeresis
keycode 58 = Odiaeresis
keycode 54 = Udiaeresis
! Sonstige Tasten
keycode 52 = ssharp question backslash
keycode 53 = SunFA_Acute SunFA_Grave
keycode 55 = plus asterisk asciitilde
keycode 57 = numbersign quoteright quoteleft
keycode 60 = asciicircum degree
keycode 61 = comma semicolon
keycode 62 = period colon
keycode 63 = minus underscore
keycode 107 = less greater bar
! Ende
EOF
Martin
# 4
Thanks! I tested your script and I think it worked for German keyboard layout. Since I need mappings for Turkish Q keyboard, I changed your script and It worked for me, too:
#!/bin/sh
# Turkish Q keyboard layout(xmodmap)
# replacement for US-Standard-Keyboard under Solaris
/usr/openwin/bin/xmodmap - << EOF
! Alt-GR
add mod2 = Alt_R
! i dotless
keycode 19 = idotless I
! at (Q)
keycode 27 = q Q at
keycode 15 = e E EuroSign
! Numbers
keycode 37 = 1 exclam
keycode 38 = 2 apostrophe
keycode 39 = 3 asciicircum numbersign
keycode 40 = 4 plus dollar
keycode 41 = 5 percent
keycode 42 = 6 ampersand
keycode 43 = 7 slash braceleft
keycode 44 = 8 parenleft bracketleft
keycode 45 = 9 parenright bracketright
keycode 46 = 0 equal braceright
! Oe, Ue, Che, She, G(soft), i
keycode 54 = gbreve Gbreve diaeresis
keycode 55 = udiaeresis Udiaeresis asciitilde
keycode 58 = scedilla Scedilla quoteright
keycode 59 = i Iabovedot
keycode 61 = odiaeresis Odiaeresis
keycode 62 = ccedilla Ccedilla
! Other
keycode 52 = asterisk question backslash
keycode 53 = minus underscore brokenbar
keycode 56 = comma semicolon quoteleft
keycode 60 = quotedbl eacute
keycode 63 = period colon
keycode 107 = less greater bar
! End
EOF
It seems this is the only solution with xsun server for the current release of Solaris (5.10 06/06).
Regards,
Cem.