
Ubuntu日本語フォーラム

ログインしていません。
Ubuntu 8.04を使用しています。
キーボード「シグマAPO 109 Gaming Keyboard WH」を使っております。
キーボードレイアウトを変更するとその設定は一見正常に保存されているようで、
Ubuntu再起動後にはそのレイアウト変更の効力が保たれません。
具体的には、
…………………………………………………………………………………………………………
1.
Ubuntuを再起動後、半角/全角キーを入力すると‘が入力されてしまい、半角/全角キーを押した効力が得られません。
その他 Shift+「キー を押しても}が入力されるなど、レイアウトが日本語106になっていない様に感じられます。
2.
そこでパネルの「システム」→「設定」→「キーボード」を選択しその「レイアウト」タブを開き、
新しくキーボードのレイアウト(*)「日本語106、日本、デフォルト」を追加後、既存のレイアウトをある限り全て削除し、(*)だけがある状態にします。
(その際「デフォルト」のラジオボタンにチェックをつけておいてもつけなくても問題の症状は変わりませんでした。)
3.
Ubuntuを再起動すると、またもや1.の症状が出てしまいます。
しかもキーボードのレイアウトを2.の時と同様に確かめてみますと、(*)で定めたレイアウトそのものになっております。
…………………………………………………………………………………………………………
しばらく再起動等くりかえしておりますが変化がありません。
しかし以前(ハードウェアの構成は変わっておりません)は
この様な事なくレイアウトが再起動後常に日本語106になっていた時期がありました。
どうかお知恵をお貸しください。
よろしくお願いいたします。
最後の編集者: hm (2008-10-17 21:38:50)
オフライン
※規約違反により追放されたユーザの投稿は、ログインユーザにのみ表示されます。
最後の編集者: kiyoshi (2008-10-23 01:13:12)
オフライン
kiyoshi様 お返事ありがとうございます。
まず/etc/X11/xorg.confの中身です。
………………………………………………………………………………
………………………………………………………………………………
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder58) Thu Jul 17 18:39:00 PDT 2008
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
SubSection "Display"
Depth 16
EndSubSection
Option "AddARGBGLXVisuals" "True"
Defaultdepth 24
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
Vendorname "NVIDIA Corporation"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "ServerLayout"
Identifier "Layout0"
screen 0 "Screen0" 0 0
Inputdevice "Keyboard0" "CoreKeyboard"
Inputdevice "Mouse0" "CorePointer"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "Monitor"
Identifier "Monitor0"
Vendorname "Unknown"
Modelname "Unknown"
Horizsync 30.0 - 110.0
Vertrefresh 50.0 - 150.0
Option "DPMS"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "Files"
Rgbpath "/usr/X11R6/lib/X11/rgb"
EndSection
………………………………………………………………………………
………………………………………………………………………………
続けて
$ sudo dpkg-reconfigure -fnoninteractive --no-reload xserver-xorg
としてみましたところ、
xserver-xorg postinst warning: overwriting possibly-customised configuration
file; backup in /etc/X11/xorg.conf.20081023164257
という返答を受けました。その後の/etc/X11/xorg.confの中身は次の様です。
………………………………………………………………………………
………………………………………………………………………………
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection
Section "Device"
Identifier "Configured Video Device"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection
………………………………………………………………………………
………………………………………………………………………………
>>Ubuntuは内蔵HDDの一つのパーティションに…
内臓HDDのパーティション/dev/sda2にUbuntu 8.04をインストールしています。
(Wubiは使用しておりません。)
マザーボードIntel DG33BU
Intel Core 2 Duo プロセッサ E8500
(45nm製造 3.16GHz / 1333MHz FSB / 6MB L2キャッシュ)
日立GST Deskstar 7K1000
(750GB / シリアルATA 転送3.0Gb/sec / 7200rpm / 32MB)
ハードディスク備考:
全容量750GBの半分をUbuntuに、WindowsXPをのこり半分にしてデュアルブートしております。
AHCI無効
です。
$ sudo fdisk -l
としてみましたら
Disk /dev/sda: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = シリンダ数 of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000b95aa
デバイス Boot Start End Blocks Id System
/dev/sda1 * 1 45592 366217708+ 7 HPFS/NTFS
/dev/sda2 45593 86928 332031420 83 Linux
/dev/sda3 86929 91201 34322872+ 5 拡張領域
/dev/sda5 86929 91201 34322841 82 Linux swap / Solaris
と言われました。
よろしくお願いいたします。
/////////////////////////////////////////////////////////////////////////////////////////////
追記
この後、Ubuntuを再起動したら
グラフィックスボード:NVIDIA GeForce 9600 GT
のドライバが無効になっているのか、Compiz-FusionやEmeraldが無効になりました。
その状態でキーボードまわりの変化が無かったかどうか探ってみましたところ、
・半角/全角キーを入力すると`が入力されてる
という状態になりました。
当初の状態は‘(こちらは全角文字です。)が入力されしかも変換中の下線が表示されているという状態でしたが、今は`(こちらは半角文字です。)が入力され変換中ではない(完全な半角英数で固定されている)という相違があります。
キーボードのレイアウトを変えてみたり既存のレイアウトを削除してみたりといじって見ましたが、特に変化はありませんでしたので
バックアップファイル/etc/X11/xorg.conf.20081023164257を/etc/X11/xorg.confに差し替えて設定を復元しました。
最後の編集者: hm (2008-10-26 08:39:10)
オフライン
※規約違反により追放されたユーザの投稿は、ログインユーザにのみ表示されます。
最後の編集者: kiyoshi (2008-10-25 06:10:30)
オフライン
ご教示いただいた内容で解決致しました!!
……………………………………………………
まず
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
の部分を
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "jp106"
Option "XkbLayout" "jp,jp"
Option "XkbVariant" "106,"
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
EndSection
に変えてみてください。そして再起動してみてください。
を実践してみましたところ、
Ubuntuを再起動するとUbuntu is running in low graphics modeと表示されてしまいました。
(グラフィックスボード用のドライバが動かないために解像度が800×600に落ちるとともにcompiz-fusionなども動かなくなります。)
そこで
ダメなら、上記の
Identifier "Generic Keyboard"
を
Identifier "Keyboard0"
に変えてみてください。そして再起動してみてください。
を実践してみましたところ、NVIDIAの設定およびキーボードの設定も正常にもどりました。
……………………………………………………
Ubuntuのインストール直後は大丈夫で途中からダメになった原因は、
あくまで推測ですが、
NVIDIAのドライバを設定した時に
nvidia-xconfig
により自動でxorg.confを設定させた時に
(EnvyNGがしてくれたのか、私がいじったのかとにかく)
そのあたりで何らかの拍子にキーボード設定がおかしくなってしまったのかもしれません。
おかげさまで快適にUbuntuを使っていけそうです。
お忙しい中お時間をさいていただきありがとうございました。
最後の編集者: hm (2008-10-26 08:38:21)
オフライン