« 解像度の設定 | トップページ | 突然のHDDクラッシュ! »

2007/01/07

解像度の設定2

心優しい先生方のアドバイスを頂きました。ちなみに今、UbuntuからFireFoxでの書き込みです。

アプリケー ションからアクセサリ、そこから
GNOME端末をひらき
sudo gedit
/etc/X11/xorg.conf
と入力して編集してみては?

アプリケーション→システムツール→ルート端末を選択すると「GNOME端末」が出て来た。なるほど…これがいわゆるコマンドライン入力画面なのか…と感慨深げに眺める。 sudo gedit /etc/X11/xorg.confと入力したつもりがスペルミスがあった模様で、「なんたらnot Found」と出て来た。スペルの大文字小文字、スペースには要注意が必要だ。何回も見直し入力、リターンを押すと出ました!Xorg.conf!先生ありがとう!ちなみに内容は下記の通り。

# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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 "Files"
    FontPath    "/usr/share/X11/fonts/misc"
    FontPath    "/usr/share/X11/fonts/cyrillic"
    FontPath    "/usr/share/X11/fonts/100dpi/:unscaled"
    FontPath    "/usr/share/X11/fonts/75dpi/:unscaled"
    FontPath    "/usr/share/X11/fonts/Type1"
    FontPath    "/usr/share/X11/fonts/100dpi"
    FontPath    "/usr/share/X11/fonts/75dpi"
    FontPath    "/usr/share/fonts/X11/misc"
    # path to defoma fonts
    FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load    "i2c"
    Load    "bitmap"
    Load    "ddc"
    Load    "dri"
    Load    "extmod"
    Load    "freetype"
    Load    "glx"
    Load    "int10"
    Load    "type1"
    Load    "vbe"
EndSection

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "jp106"
    Option        "XkbLayout"    "jp,jp"
    Option        "XkbOptions"    "grp:alt_shift_toggle,lv3:ralt_switch,grp_led:scroll"
    Option        "XkbVariant"    "latin,"
EndSection

Section "InputDevice"
    Identifier    "Configured Mouse"
    Driver        "mouse"
    Option        "CorePointer"
    Option        "Device"        "/dev/input/mice"
    Option        "Protocol"        "ExplorerPS/2"
    Option        "ZAxisMapping"        "4 5"
    Option        "Emulate3Buttons"    "true"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "Device"
    Identifier    "Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
    Driver        "i810"
    BusID        "PCI:0:2:0"
EndSection

Section "Monitor"
    Identifier    "W2600 LCD TV"
    Option        "DPMS"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
    Monitor        "W2600 LCD TV"
    DefaultDepth    24
    SubSection "Display"
        Depth        1
        Modes        "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        4
        Modes        "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        8
        Modes        "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        15
        Modes        "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        16
        Modes        "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        24
        Modes        "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier    "Default Layout"
    Screen        "Default Screen"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice     "stylus" "SendCoreEvents"
    InputDevice     "cursor" "SendCoreEvents"
    InputDevice     "eraser" "SendCoreEvents"
EndSection

Section "DRI"
    Mode    0666
EndSection

多分"1280x1024" "1024x768" "800x600" "720x400" "640x480"の頭に"1280×768"を加えればイイんだろう。6行分書き加えて保存した。ワクワクしながら再起動!の結果!何も変化無し…システム→設定→画面の解像度を開いても、解像度の選択は以前のまま……ん〜〜何が違う?そう言えばアプリケーション→システムツールの中に「GNOME端末」ともう一つ、「コンソール」ってのがあった。見た目は同じコマンドライン入力画面だ。コレを開き試しに sudo gedit/etc/X11/xorg.confと入力してみた。…GNOME端末からコマンド入力した時と全く同じxorg.confが出て来た。しかも中の解像度の行にはちゃんと1280×768が追加されている。ん〜〜わからん(笑
きっと何かが違うはず。今夜も寝るのは朝になる予感…

|

« 解像度の設定 | トップページ | 突然のHDDクラッシュ! »

コメント

GNOME端末で

sudo dpkg-reconfigure -phigh xserver-xorg

と入力し、Enterを押してみてください。

xorg.confの冒頭コメント部分(15行目)に書いてあるおまじないです。

投稿: sh | 2007/01/12 01時12分

shさん貴重な情報ありがとうございます。
さっそくやってみました。

sudo dpkg-reconfigure -phigh xserver-xorg と入力

┌─────────────────────┤ xserver-xorg を設定しています ├─────────────────────┐
│ X Window System のグラフィカルユーザインタフェースを正しく動作させるため │
│ には、X サーバのビデオカードドライバを選択する必要があります。 │
│ │
│ ドライバは通常、ビデオカードやチップセットの製造元や、特定のモデルやチッ │
│ プセットのファミリの名前が付けられています。 │
│ │
│ X サーバドライバ: │
│ │
│ cyrix ↑ │
│ fbdev ▒ │
│ glint ▮ │
│ i128 ▒ │
│ i740 ▒ │
│ i810 ↓ │
│ │
│ │
│ <了解>

と言う画面が表れました。ここでi810を選択して→で<了解>に移りリターン。すると

────────────────────┤ xserver-xorg を設定しています ├─────────────────────┐
│ X サーバで使いたい解像度のみを残して下さい。全部削除しようとすると全然削 │
│ 除しないのと実質的に同じことになってしまいます。というのも、これらの両方 │
│ のいずれでも、X サーバは最も高い解像度を利用しようとするからです。 │
│ │
│ X サーバによって利用されるビデオモード: │
│ │
│ [ ] 1280x800 ↑ │
│ [ ] 1280x768 ▒ │
│ [ ] 1200x800 ▒ │
│ [ ] 1152x864 ▒ │
│ [ ] 1152x768 ▒ │
│ [*] 1024x768 ▒ │
│ [*] 800x600 ▮ │
│ [*] 640x480


と出てきました。
利用したい1280×768の所でスペースを押して選択。が…今度はどうやても<了解>に移動できません。
ん〜…さてどうするか…もう少しいじってみます。ありがとうございました。


<1:58追記>
了解に移動できなくてもxorg.confはちゃんと書き換えられていました。ありがとうございました。

投稿: サル | 2007/01/14 01時17分

コメントを書く



(ウェブ上には掲載しません)




トラックバック

この記事のトラックバックURL:
http://app.f.cocolog-nifty.com/t/trackback/191295/4837969

この記事へのトラックバック一覧です: 解像度の設定2:

« 解像度の設定 | トップページ | 突然のHDDクラッシュ! »