部屋を掃除したら漫画が沢山出てきたので書く日記

漫画とか合唱とかUNIXとかLinuxとかについて書く日記です。

Solaris10にて日本語106キーボードが英語101キーボードとして認識される

(2007年5月1日に追記)
先日Solaris 10をインストールしたDELL Dimension 8300ですが、全然触れていません。今週末は触りたいなあ。

で、タイトルの通り、日本語106キーボード(要するにWindowsで普通に使うキーボード)を使用しているしインストールの際に指定したにも関わらず、キーボードの配列が正しくないまま認識しています。具体的には

「:」と「;」が同一キーでShift押下で切り替わる

などです。多分、英語101キーボードの配列で認識されているのだと思います。

アルファベットは良いですが記号の配置が違うと非常に戸惑います。viで編集した後:wqと打つのが一苦労です。よって改善すべく調べてみました。

ググッた結果ここを発見しました。また、Solaris 10 1/06インストール虎の巻にも書いていましたが見落としていたので再度参照。

1.以下のコマンドを実行

eeprom kbd-type=Japanese\(106\)

2.kdmconfig実行

# kdmconfig

以下のような画面になるので、「Xsun server」を矢印キー上下でカーソルを動かしてSpaceで選択し、Esc+2を押す。「F2_Continue 」とか書いているけど気にしない。

─ kdmconfig - Introduction and X Server Selection ──────────────────────────────────────
  kdmconfig allows you to select the X Window System server (Xorg or Xsun).
  The currently selected X server is marked with an [X] below.  To change the
  selected server, use the up and down arrow keys and press <ENTER> to mark
  your selection [X].  If you change the X server selection, the new X server
  will be used the next time an X Window session is started.

  For Xsun, kdmconfig has attempted to identify the devices necessary for the
  window system.  If the configuration is incorrect or incomplete you may not
  be able to use the window system.  Press F2 to view and edit the current or
  proposed Xsun configuration.

  For Xorg, kdmconfig is unable to display or update the current Xorg
  configuration.  Press F2 for instructions on Xorg configuration.

  Press F3 to exit kdmconfig without making any changes.

      X Server Selection
      ──────────────────
      [ ] Xorg server
      [X] Xsun server














───────────────────────────────────────────────
   F2_Continue    F3_Exit    F6_Help

「Change Keyboard」を選択してEsc+2を押す。

─ kdmconfig - View and Edit Window System Configuration ───────────
  Current or Proposed Window System Configuration:

         Video Device: NVidia Corporation NV34 [GeForce FX 5200]
         Video Driver: XF86-NV
    Resolution/Colors: 1280x1024 - 16777216 colors @ 85Hz
          Screen Size: 18-inch (46cm)

         Monitor Type: Plug and Play Mfreq 18 Inch DEL300E (up to 1600x1200 @ 75Hz)

        Keyboard Type: Generic Japanese(106)

      Pointing Device: Generic USB Mouse (3 Button)

      Configure Devices
      ──────────────────────────────────────────
      [ ] No changes needed - Test/Save and Exit
      [ ] Change Video Device/Monitor
      [X] Change Keyboard
      [ ] Change Pointing Device















────────────────────
Esc-2_Continue    Esc-3_Quit Without Save    Esc-6_Help

「Generic Japanese(106)」を選択し、Esc+2を押す。

─ Keyboard Type Selection 
  You must specify the type of keyboard attached to your machine.

  To select an entry, use the up and down arrow keys.
  Press <ENTER> to mark your selection [X].

      Keyboard Types
      ───────────────────────────────
  ^   [ ] Generic Icelandic
  │   [ ] Generic Italian
  │   [X] Generic Japanese(106)
  │   [ ] Generic Japanese(J3100)
  │   [ ] Generic Korean
  │   [ ] Generic Latvian
  │   [ ] Generic Lithuanian
  │   [ ] Generic Malta_UK
  │   [ ] Generic Malta_US
  │   [ ] Generic Norwegian
  │   [ ] Generic Polish
  │   [ ] Generic Portuguese
  │   [ ] Generic Russian
  │   [ ] Generic Serbia_Montenegro
  │   [ ] Generic Slovakian
  │   [ ] Generic Slovenian
  │   [ ] Generic Spanish
  │   [ ] Generic Swedish
  │   [ ] Generic Swiss-French
  │   [ ] Generic Swiss-German
  │   [ ] Generic Taiwanese
  │   [ ] Generic TurkishF
  │   [ ] Generic TurkishQ
  │   [ ] Generic UK-English
  │   [ ] Generic US-English
  -   [ ] Generic US-English(104-Key)

Esc-2_Continue    Esc-3_Go Back    Esc-6_Help

「No changes needed - Test/Save and Exit」を選んでEsc+2を押すと以下のような画面になるので、さらにEsc+2を押せば完了。

─ kdmconfig Window System Configuration Exit 
  kdmconfig cannot test the current or proposed configuration
  because the window system is currently running.  To test the
  current or proposed configuration, you must exit the window system
  and run kdmconfig again.

  Press F2 to save the current or proposed configuration without
  testing.  This configuration will be used the next time the window
  system is started.

  Press F3 to quit kdmconfig without saving any changes to the
  current configuration.























Esc-2_Save and Exit    Esc-3_Quit Without Save    Esc-6_Help

3.ログインし直す
GUIから一旦ログオフをし、再度ログインすると、以降日本語106キーボードとして入力ができるようになります。よかったよかった。

ではー。