[ltp] yet an other external monitor question (the same as ever) :)

Bill Sheppard linux-thinkpad@linux-thinkpad.org
Thu, 09 Feb 2006 23:59:13 -0800


This is a multi-part message in MIME format.

--Boundary_(ID_F00FJC89t71/XLfYxGtu8g)
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7BIT

Paul RIVIER wrote:
> Hi there,
>
> my laptop is a T42 with an Ati 9600 (M10) and a internal resolution of
> 1400x1050.
> Very soon I'll have to use it for a slideshow.
> What I would like to do is just to plug the vga and maybe enter a
> "xrandr" command, then get the same thing on both my tp screen and the
> video projector, which undoubtly won't be a 1400x1050 one :). I will
> not have much time to restart X etc etc.
I've got the exact same T42.  After much Googling and tweaking I've got
the attached xorg.conf working well.  It defaults to 1400x1050 internal
and 1280x1024 external (scrolling to get a virtual 1400x1050 desktop),
but you can select 1280x1024, 1024x768, or 800x600 internal/external
resolutions by using xrandr or various system tray applets.

Hope it helps...

Bill

-- 
-------------------------------------------------------------------------
Bill Sheppard                           Senior Industry Marketing Manager
bill.sheppard@sun.com                                Client Systems Group
(408) 404-1254 (x68154)                            Sun Microsystems, Inc.


--Boundary_(ID_F00FJC89t71/XLfYxGtu8g)
Content-type: text/plain; name=xorg.conf
Content-transfer-encoding: 7BIT
Content-disposition: inline; filename=xorg.conf

# /.../
# SaX generated X11 config file
# Created on: 2004-10-11T13:05:56+0200.
#
# Version: 4.8
# Contact: Marcus Schaefer <sax@suse.de>, 2002
#
# Automatically generated by [ISaX] (4.8)
# PLEASE DO NOT EDIT THIS FILE!
#
Section "Files"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/local"
  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/URW"
  FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
  FontPath     "/usr/X11R6/lib/X11/fonts/uni:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/CID"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/ttyS0"
  InputDevices "/dev/ttyS1"
  InputDevices "/dev/ttyS2"
  InputDevices "/dev/ttyS3"
  InputDevices "/dev/ttyS4"
  InputDevices "/dev/ttyS5"
  InputDevices "/dev/ttyS6"
  InputDevices "/dev/ttyS7"
  InputDevices "/dev/ttyS8"
  InputDevices "/dev/psaux"
  InputDevices "/dev/logibm"
  InputDevices "/dev/sunmouse"
  InputDevices "/dev/atibm"
  InputDevices "/dev/amigamouse"
  InputDevices "/dev/atarimouse"
  InputDevices "/dev/inportbm"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/mouse"
  InputDevices "/dev/usbmouse"
  InputDevices "/dev/adbmouse"
  InputDevices "/dev/input/mice"
  InputDevices "/dev/input/event0"
  InputDevices "/dev/pointer0"
  InputDevices "/dev/pointer1"
  InputDevices "/dev/pointer2"
  InputDevices "/dev/pointer3"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail"
EndSection

Section "Module"
  Load         "dbe"
  Load         "type1"
  Load         "freetype"
  Load         "extmod"
  Load         "glx"
  # Load         "dri"
  Load         "v4l"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "pc104"
  Option       "XkbRules" "xfree86"
EndSection

Section "InputDevice"
  Driver       "synaptics"
  Identifier   "Mouse[1]"
  Option       "Device" "/dev/input/mice"
  Option       "Emulate3Buttons" "on"
  Option       "InputFashion" "Mouse"
  Option       "Name" "Synaptics;Touchpad"
  Option       "Protocol" "explorerps/2"
  Option       "SHMConfig" "on"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[3]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "Logitech Optical Mouse"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
  Identifier   "LCD"
  # HorizSync    30-81
  # VertRefresh  56-75
  Option "DPMS"
  DisplaySize  287 215
EndSection

Section "Monitor"
  Identifier   "Samsung"
#  HorizSync    30-81
#  VertRefresh  56-75
  Option "DPMS"
  DisplaySize 380 285
EndSection

Section "Device"
  Identifier   "radeon0"
  BusID        "1:0:0"
  Screen       0
  Driver       "radeon"
  Option       "BIOSHotkeys" "true"
  Option       "DynamicClocks" "true"
  Option       "MonitorLayout" "LVDS, CRT"
  Option       "AGPMode" "4"
  Option       "AGPFastWrite" "yes"
  # Option       "ForceCRT2Type" "CRT"
  Option       "SubPixelOrder" "RGB"
  Option       "CRT2HSync" "30-81"
  Option       "CRT2VRefresh" "56-75"
  Option       "MetaModes" "1400x1050-1280x1024 1280x1024 1024x768-1024x768 800x600-800x600"
EndSection

Section "Device"
  Identifier   "radeon1"
  BusID        "1:0:0"
  Screen       1
  Option       "SubPixelOrder" "RGB"
  Driver       "radeon"
EndSection

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      24
    Modes      "1400x1050" "1280x1024" "1024x786" "800x600"
#    Modes      "1024x786" "800x600"
  EndSubSection
  Device       "radeon0"
  Identifier   "Screen0"
  Monitor      "LCD"
EndSection

#Section "Screen"
#  DefaultDepth 24
#  SubSection "Display"
#    Depth      24
#    Modes      "1280x1024" "1280x768" "1024x786" "800x600"
#  EndSubSection
#  Device       "radeon1"
#  Identifier   "Screen1"
#  Monitor      "Samsung"
#EndSection

Section "ServerLayout"
  Identifier   "Server Layout"
  InputDevice  "Keyboard" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  InputDevice  "Mouse[3]" "SendCoreEvents"
  Option       "Clone" "off"
#  Option       "Xinerama" "on"
  Option       "Xinerama" "off"
  Screen       "Screen0"
#  Screen       "Screen1"
#  Screen       "Screen1" LeftOf "Screen0"
EndSection

Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
  Option "Composite" "Enable"
EndSection


--Boundary_(ID_F00FJC89t71/XLfYxGtu8g)--