MikeGreenly

Differences between revisions 17 and 18
Revision 17 as of 2007-11-18 02:04:13
Size: 454
Editor: 63
Comment:
Revision 18 as of 2007-12-15 23:20:00
Size: 2330
Editor: 63
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
=== Dual Head Configuration ===
Below is my X11/xorg.conf script, it works as expected with xrandr. You'll notice I have the Intel graphics adapter and the WXGA (1280x800) attached LCD. I use this laptop with an external 1280x1024 monitor. This creates a max virutal screen of 2560x1024.

{{{
Section "Files"
EndSection

Section "Module"
 Load "glx"
 Load "GLcore"
 Load "v4l"
EndSection

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "kbd"
 Option "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc105"
 Option "XkbLayout" "us"
EndSection

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

Section "InputDevice"
 Identifier "Synaptics Touchpad"
 Driver "synaptics"
 Option "SendCoreEvents" "true"
 Option "Device" "/dev/psaux"
 Option "Protocol" "auto-dev"
 Option "HorizEdgeScroll" "0"
EndSection

Section "Device"
 Identifier "Intel GMA X3100"
 Busid "PCI:0:2:0"
 Driver "intel"
EndSection

Section "Screen"
 Identifier "Default Screen"
 Device "Intel GMA X3100"
 SubSection "Display"
   Virtual 2560 1024
 EndSubSection
EndSection

Section "ServerLayout"
 Identifier "Default Layout"
 Screen "Default Screen"
 InputDevice "Generic Keyboard"
 InputDevice "Configured Mouse"
 InputDevice "Synaptics Touchpad"
EndSection

Section "ServerFlags"
EndSection
}}}

=== xrandr script ===
I use this script to configure my display. ''it requires ruby to be installed''
{{{
#!/usr/bin/env ruby
if %x{xrandr} =~ /TMDS-1 connected/
  %x{xrandr --output TMDS-1 --mode 1280x1024}
  %x{xrandr --output LVDS --mode 1280x800 --left-of TMDS-1}
else
  %x{xrandr --output LVDS --mode 1280x800}
end
}}}

About Me

I'm a long time Linux user and former software engineer who still tries to find time to write code when I can.

My Projects

Any code I've published you should be able to find on my [https://code.launchpad.net/~mgreenly/ Launchpad] page.

My Laptop

I purchased a new Dell Latitude D830 in June of 2007. I started a page for it over at ["LaptopTestingTeam/DellLatitudeD830"].

Dual Head Configuration

Below is my X11/xorg.conf script, it works as expected with xrandr. You'll notice I have the Intel graphics adapter and the WXGA (1280x800) attached LCD. I use this laptop with an external 1280x1024 monitor. This creates a max virutal screen of 2560x1024.

Section "Files"
EndSection

Section "Module"
        Load "glx"
        Load "GLcore"
        Load "v4l"
EndSection

Section "InputDevice"
        Identifier "Generic Keyboard"
        Driver "kbd"
        Option "CoreKeyboard"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "us"
EndSection

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

Section "InputDevice"
        Identifier "Synaptics Touchpad"
        Driver "synaptics"
        Option "SendCoreEvents" "true"
        Option "Device" "/dev/psaux"
        Option "Protocol" "auto-dev"
        Option "HorizEdgeScroll" "0"
EndSection

Section "Device"
        Identifier "Intel GMA X3100"
        Busid "PCI:0:2:0"
        Driver "intel"
EndSection

Section "Screen"
        Identifier "Default Screen"
        Device "Intel GMA X3100"
        SubSection "Display"
          Virtual 2560 1024
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier "Default Layout"
        Screen "Default Screen"
        InputDevice "Generic Keyboard"
        InputDevice "Configured Mouse"
        InputDevice "Synaptics Touchpad"
EndSection

Section "ServerFlags"
EndSection

xrandr script

I use this script to configure my display. it requires ruby to be installed

if %x{xrandr} =~ /TMDS-1 connected/
  %x{xrandr --output TMDS-1 --mode 1280x1024}
  %x{xrandr --output LVDS --mode 1280x800 --left-of TMDS-1}
else  
  %x{xrandr --output LVDS --mode 1280x800}
end

Contact Info

mgreenly@gmail.com

MikeGreenly (last edited 2008-08-06 16:32:06 by localhost)