[ltp] External Monitor

Daniel Jimenez linux-thinkpad@linux-thinkpad.org
Sun, 29 Feb 2004 20:35:47 -0600


Sorry for so many questions today. I'm just trying to finish up my thinkpad!

I have an IBM Thinkpad T41p. When I come home I plug the laptop into my 
Viewsonic P225fb monitor. This monitor obviously has a different refresh 
rate and resolution than my laptop (Laptop is 1400x1050 LCD, desktop is 
1600x1200 CRT). How can I configure X to support both of these monitors 
depending on which one is plugged in?

Right now if I plug my CRT in I get 1600x1200 but at a horrible eye 
straining 50hz.

Here is my current XF86Config:

Code:

> Section "ServerLayout"
>         Identifier     "single head configuration"
>         Screen      0  "Screen0" 0 0
>         InputDevice    "DevInputMice" "CorePointer"
>         InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
> 
> Section "Files"
>     RgbPath      "/usr/X11R6/lib/X11/rgb"
>     FontPath     "unix/:7100"
>     FontPath   "/usr/X11R6/lib/X11/fonts/local/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
>     FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
>     FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
>     FontPath   "/usr/share/fonts/artwiz/"
>     FontPath   "/usr/share/fonts/corefonts/"
> EndSection
> 
> Section "Module"
>         Load  "dbe"
>         Load  "extmod"
>         Load  "fbdevhw"
>         Load  "glx"
>         Load  "record"
>         Load  "freetype"
>         Load  "type1"
>         Load  "dri"
> EndSection
> 
> Section "InputDevice"
>         Identifier  "Keyboard0"
>         Driver      "keyboard"
>         Option      "XkbRules" "xfree86"
>         Option      "XkbModel" "pc105"
>         Option      "XkbLayout" "en_us"
> EndSection
> 
> Section "InputDevice"
>         Identifier  "DevInputMice"
>         Driver      "mouse"
>         Option      "Protocol" "ExplorerPS/2"
>         Option      "Device" "/dev/input/mice"
>         Option      "Buttons" "7"
>         Option      "ZAxisMapping" "6 7"
>         Option      "Emulate3Buttons" "no"
> EndSection
> 
> Section "Monitor"
>         Identifier   "Monitor0"
>         VendorName   "Monitor Vendor"
>         ModelName    "LCD Panel 1400x1050"
>         Option      "dpms"
> 
> EndSection
> 
> Section "Device"
>         Identifier  "Videocard0"
>         Driver      "radeon"
>         VendorName  "ATI"
>         BoardName   "ATI Radeon Mobility M9"
> EndSection
> 
> Section "Screen"
>         Identifier "Screen0"
>         Device     "Videocard0"
>         Monitor    "Monitor0"
>         DefaultDepth     16
>         SubSection "Display"
>                 Depth     24
>                 Modes    "1600x1200" "1400x1050" "768x576"
>         EndSubSection
>         SubSection "Display"
>                 Depth     16
>                 Modes    "1600x1200" "1400x1050"
>         EndSubSection
> EndSection
> 
> Section "DRI"
>         Group        0
>         Mode         0666
> EndSection

Thanks!,
Daniel
-- 
Daniel Jimenez <djimenez[at]pobox[dot]com>
Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today!
--------------------------------------------------------------------/