henkstubbe


February 14, 2007, 9:44 pm
Filed under: d600

Managed to get dual screen working on a Dell Latitude D600 laptop with a Radeon Mobility 9000 M9 in combination with a 2001FP 20inch TFT screen.

My requirements:
1) At the office, I want to use dual screen with the menu bar on the external screen.
2) Outside the office, I only want (can) use the laptop screen, of course with the menu bar visible.
3) When booting, I want to be able to log on using a visible logon textfield
4) When I plug out my laptop, I want to switch from dual to single screen very easily

What I did:
This is the xorg.conf file I use:

# /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 "bitmap"
Load "dbe"
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" "pc104"
Option "XkbLayout" "us"
Option "XkbOptions" "lv3:ralt_switch"
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"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
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 "ATI Technologies, Inc. Radeon R250 Lf [Radeon Mobility 9000 M9]"
Driver "radeon"
BusID "PCI:1:0:0"
Option "backingstore" "true"
Option "EnablePageFlip" "true"
Option "SubPixelOrder" "none"
Option "AccelMethod" "XAA"
Option "RenderAccel" "true"
Option "AGPMode" "4"
Option "ColorTiling" "on"
Option "DynamicClocks" "on"
Option "mtrr" "on"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "MergedFB" "true" #Enable MergedFB function
Option "MonitorLayout" "LCD, CRT" # Use LCD and CRT even if you have 2 LCD's or CRT's
Option "CRT2Hsync" "56-76" #Horizontal Sync of the Monitor (check your monitor's manual for correct values)
Option "CRT2VRefresh" "31-80" #Vertical Refresh rate of the Monitor (check your monitor's manual for correct values)
Option "OverlayOnCRTC2" "true"
Option "CRT2Position" "RightOf" #Physical location of your secondary monitor in relationship to your primary monitor.
Option "MetaModes" "1400x1050 1400x1050-1280x1024 1400x1050-1600x1200 1024x768" #Monitor Resolutions for Primary-Secondary monitors
Option "MergedXineramaCRT2IsScreen0" "true" #determines which screen is going to be the primary screen; value can be "true" or "false"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-33
VertRefresh 43-72
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon R250 Lf [Radeon Mobility 9000 M9]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Virtual 3000 1200
# You can put your modes below, for your own resolutions, these are mine:
Modes "1600x1200" "1400x1050" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 1
Modes "1400x1050" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1400x1050" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1400x1050" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1400x1050" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1400x1050" "1280x1024" "1280x800" "1024x768" "800x600" "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"
InputDevice "Synaptics Touchpad"
EndSection

Section "DRI"
Mode 0666
EndSection

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

This setup makes my laptop boot very weird, I can see half of the screen. However, I can logon. Then I see a screen without the menu bar, so I have a problem. I solved this with creating a launcher file (right click on the desktop, create launcher) with this command

xrandr -s 0

This command changes my screen settings to the first meta mode with a single screen. When I run

xrandr -s2

I get a nice dual screen set up. When booting with the external screen connected, everything is fine. It’s even possible to use System/Preferences/Screen Resolution and do it the GUI way.

Does this make me happy?

Well, it’s not perfect yet, but it works for me. Actually this is one of the issues I had to solve before switching from Windows to Ubuntu on the business desktop – my boss did not invest in a huge screen without expecting me to use it.

Maybe someone can tell me how I can make my laptop autodetect if there is one or two screens?
an tell me how I can make my laptop autodetect if there is one or two screens?



Wireless on Dell D600 Latitude laptop & Ubuntu Edgy
February 14, 2007, 9:38 pm
Filed under: d600

Follow this. Worked for me.



Evolution hangs while replying to an email
February 1, 2007, 8:37 pm
Filed under: Uncategorized

Address autocompletion in Evolution did not work fine for me and I changed some settings. That was a bad idea, as I was not able to reply to email anymore. It happened that I set the automatic contact feature to Global Address List, which in my case is LDAP and unwritable to me. This caused a time out – Evolution wanted to add the email address to the address book which was unwritable – and Evolution hanged. Changed the automatic contact source to something else and now it works like a charm again.