You guys are awesome. I wish I could throw a party for you or something.
After tweaking 'xorg.conf' some more I got Zaphod mode working on my system. Left screen has a desktop, right screen doesn't, it's black. I'm sure there is a way to invoke desktop on second screen and way to switch keyboard and mouse from left to right screen but I didn't dig further to figure out that, it's working for me this way.
Code:
DISPLAY=:0.0 gwenview -f -s /path/dir1/* & DISPLAY=:0.1 gwenview -f -s /path/dir2/* &
By default in opensuse 11.3 Xorg rely on autoconfig to configure video card and monitor. If your card is dual-output it will clone desktop to the second monitor. In order to configure Zaphod you need 'xorg.conf' file in /etc/X11 directory. There is many ways to create 'xorg.conf' file but here is how I did it.
1. After installing opensuse 11.3 uninstall 'radeonhd' driver
Code:
su init 3 zypper rm xorg-x11-driver-video-radeonhd
Code:
Xorg -configure mv /root/xorg.conf.new /etc/X11/xorg.conf
It should start without issues. Now comes fun part, modify 'xorg.conf' file.
Here is my working 'xorg.conf'
Code:
Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 Screen "Screen1" RightOf "Screen0" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "Xinerama" "off" EndSection Section "Files" ModulePath "/usr/lib64/xorg/modules/updates" ModulePath "/usr/lib64/xorg/modules" FontPath "/usr/share/fonts/misc:unscaled" FontPath "/usr/share/fonts/TTF/" FontPath "/usr/share/fonts/OTF/" FontPath "/usr/share/fonts/Type1/" FontPath "/usr/share/fonts/100dpi:unscaled" FontPath "/usr/share/fonts/75dpi:unscaled" FontPath "/usr/share/fonts/URW/" FontPath "/usr/share/fonts/cyrillic:unscaled" FontPath "/usr/share/fonts/misc/sgi:unscaled" FontPath "/usr/share/fonts/truetype/" EndSection Section "Module" Load "dri2" Load "dri" Load "dbe" Load "glx" Load "record" Load "extmod" # Load "vnc" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" Option "PreferredMode" "1600x1400" VendorName "NEC" ModelName "LCD2170NX" HorizSync 31.0 - 92.0 VertRefresh 56.0 - 85.0 Option "DPMS" EndSection Section "Monitor" Identifier "Monitor1" Option "PreferredMode" "1024x768" VendorName "NEC" ModelName "LCD2170NX" HorizSync 31.0 - 92.0 VertRefresh 56.0 - 85.0 Option "DPMS" EndSection Section "Device" Identifier "Device0" Driver "radeon" VendorName "ATI Technologies Inc" BoardName "RV710 [Radeon HD 4350]" BusID "PCI:3:0:0" Option "ZaphodHeads" "VGA-0" Option "VGA-0" "Monitor0" Option "AccelMethod" "EXA" Screen 0 EndSection Section "Device" Identifier "Device1" Driver "radeon" VendorName "ATI Technologies Inc" BoardName "RV710 [Radeon HD 4350]" BusID "PCI:3:0:0" Option "ZaphodHeads" "DVI-0" Option "DVI-0" "Monitor1" Option "AccelMethod" "EXA" Screen 1 EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1600x1400" "1440x900" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1600x1400" "1440x900" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1600x1400" "1440x900" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1600x1400" "1440x900" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1600x1400" "1440x900" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1600x1400" "1440x900" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480" EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Device1" Monitor "Monitor1" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1600x1400" "1440x900" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1600x1400" "1440x900" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1600x1400" "1440x900" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1600x1400" "1440x900" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1600x1400" "1440x900" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1600x1400" "1440x900" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480" EndSubSection EndSection
Leave a comment: