xrandr便利い
Ubuntu8.04にはxrandrが標準で入っていて、Xを落とさずしてプレゼン用DVI出力ができる。便利い。
もう研究室でWindowsはほとんどいらないことになった。
命令を忘れると困るのでメモ。
$ xrandr Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1024 x 1024 VGA-0 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1024x768 60.0 800x600 60.0 640x480 60.0 DVI-0 disconnected (normal left inverted right x axis y axis) LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1024x768 60.0*+ 60.0 800x600 60.3 640x480 59.9 S-video disconnected (normal left inverted right x axis y axis) $ xrandr --output VGA-0 --auto
だいたいそんな感じで動く。デバイス名を--outputの後に入れるのを忘れてしまうと、エラーも出ず設定もされない。悲しい。また、
$ xrandr --output VGA-0 --same-as LVDS
などすると他のデバイスと同様に設定されるので、--autoの次に楽。
あんまり細かく設定する必要はないと思ってる。