Hatena::ブログ(Diary)

akihiko’s tech note RSSフィード

2010-05-07

Debian を Windows7 上の VMware にインストールする場合の設定まとめ

VMware のできはとてもよろしいので,新しいPCにインストールするのと同じ感覚で Debianインストールすることができた.しかし,キーバインドの設定など,若干トラブったので,まとめる.

環境

ネットワークの設定

解像度の設定

  • デフォルトだと,解像度が 640x480 しかできない
  • KDE のシステム設定で変更しても,ログオフするともとに戻ってしまう
  • /etc/X11/xorg.conf を下のように書けばうまくいった(割とてきとう)
Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse" "CorePointer"
EndSection

Section "Files"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath        "unix/:7100"
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/local/share/fonts"
    FontPath        "/usr/share/fonts"
EndSection

Section "Module"
    Load           "bitmap"
    Load           "dbe"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "record"
    Load           "type1"
    Load           "vbe"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "jp106"
    Option         "XkbLayout" "jp"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "Emulate3Buttons" "true"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       1.0 - 1000.0
    VertRefresh     1.0 - 1000.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "vmware"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

キーバインドを変更する