[OpenIndiana-discuss] Problem on setting keyboard layout

H. Gratz hpg at uni-bremen.de
Thu Jul 28 13:23:17 UTC 2011


Hi!

A while ago I found the following article helpful. It worked for me to switch
an OI_151 box to a german keyboard layout.

Regards,

     Henner

--- Start ---

From: Felix Feng <Fei dot Feng at sun dot com>
Date: Tue, 20 Jul 2010 18:25:05 +0800
Subject: Heads-up: PSARC/2010/183 Kernel Keyboard Configuration in SMF

The putback in snv_145 -

Changeset: 12859:5bd0d487a9b5

Comments:
6944480 move keyboard configuration from /etc/default/kbd to SMF

moves keyboard properties from /etc/default/kbd to system/keymap
service(svc:/system/keymap:default).
And the file - /etc/default/kbd is removed. To configure kernel
keyboard, users need to use kbd tool(/usr/bin/kbd) and system/keymap
service(svc:/system/keymap:default).

Usage -

1. list all keyboard properties

       # svccfg -s keymap:default listprop keymap

     or check single keyboard property, for example, check keyboard layout

       # svcprop -p keymap/layout keymap:default

2. Set single keyboard property, for example, set keyboard layout
     to "US-English". (kbd -s can list all supported keyboard layout.)

       # svccfg -s keymap:default setprop keymap/layout=US-English
       # svcadm refresh keymap
       # svcadm restart keymap

3. Set all keyboard properties into kernel

       # kbd -i

4. check if keyboard properties are set into kernel
       # kbd -l

Please file bugs at solaris/kernel/keyboard if you find any problem. And
for any questions, please send mail to usb-eng at sun.com.

------
Thanks,
Felix

--- End ---


> Date: Thu, 28 Jul 2011 11:32:39 +0900
> From: YOSHIDA Shigeru <yshigeru at gmail.com>
> To: Discussion list for OpenIndiana
> 	<openindiana-discuss at openindiana.org>
> Subject: Re: [OpenIndiana-discuss] Problem on setting keyboard layout
> Message-ID:
> 	<CADr7LgmL3RdqAsQMMLGWv7QsLHyTbOujP-sNGe32s4AN6zj3Ag at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> Thank you for reply.
>
> 2011/7/26 Ewald Ertl <ewald.ertl at gmail.com>:
> > Since a former version in OpenSolaris there was a change to set  
> the keyboard
> > in a SMF-Service:
> > ( I haven't done this on a plain OI installation )
> >
> > ?[ewer at solewer:~]$svccfg -s svc:/system/keymap:default
> >
> > The property in my case is:
> > keymap/layout ? ? ? ? ? ? ? ? ? ? ?astring ?German
>
> I followed above indication.
>
> yshigeru at openindiana:~$ svccfg -s svc:/system/keymap:default
> svc:/system/keymap:default> listprop keymap/layout
> keymap/layout  astring  US-English
> svc:/system/keymap:default>
>
> However, the layout is still Japanese.
> I think there is a keyboard settings whose value is still Japanese.
>
> Are there any other settings should I check?
>
> Thanks,
>
> shigeru
>





More information about the OpenIndiana-discuss mailing list