LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   dual monitors - how can I strech desktop (http://www.linuxquestions.org/questions/linux-newbie-8/dual-monitors-how-can-i-strech-desktop-176159/)

xanas3712 04-29-2004 09:38 PM

dual monitors - how can I stretch desktop
 
Question is pretty much as above. I have a radeon 9800 pro and have two vga monitors that I want to run side by side and have the desktop let me scroll from one side to the other.. oh, and preferably a way in case they are reversed to fix that.

Thanks for any help.

Oh, sorry I'm using Mandrake 10.

MoreCoffee 04-29-2004 11:30 PM

Have you got both working as of yet? two desk tops? if so then your in like fiynn just edit or add the xinerama option to "ON" in the XF86Config file

Example

Section "ServerLayout"
Identifier "Multihead layout"
Screen 0 "Screen0" LeftOf "Screen1"
Screen 1 "Screen1" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
Option "Xinerama" "on" <----
Option "Clone" "off"
EndSection

The key here is to have Xinerama ON(for one big spanning desktop) and the Screen Layout the way you want them LeftOf and RightOf are both valid commands.

Im not overly familliar with the Mandrake 10 layout but with Fedora <>System Settings --> Display<> makes setting it up a breeze will give you the option for xinerama. You might wanna try a google search for Xinerama.. Good Luck

morecoffee

xanas3712 04-30-2004 01:40 AM

Ok, I'm running KDE.. and.. what else you said made very little sense outside the context of a specific program.. is that called "fiynn"? I sure can't see anything like that.. so I'm confused.. nor do I see anything called xinerama but when I search for it I don't see anything that gives a link to download it.. typing xinerama download in google doesn't appear to get me to the right thing either. Note, I didn't go to every link but I did try to go to several and nothing turned up that was of much help.

I'm a windows user.. not a linux one so try not to assume anything if you possibly can.. so tell me every program name, etc. I think you were referencing the kde menu with fedora and from what I've seen from looking at other distributions sadly things are never even necessarily close to the same organization.. *sigh*.. a real pain for anyone new.

Oh, and thanks again.

EDIT: scratch the above, realized how much of a noob I was.. going to try a few things real fast.. XF86Config-4 is a file I have similar to what you were talking about.. going to try to put what you had there in it...

EDIT2: I have a pressing problem now.. I've been trying to fix this, but it appears now mandrake is incredibly unstable. Now the only thing I do know is that it's not hardware related because windows xp is giving me absolutely no problems and I haven't even had one oddity appear. Very frustrating.. nice thing is that it seems a few videos I had in divx avi worked in the base install without me having to do anything special.. that's nice.
Anyway, what I mean by unstable is that it stalls the computer completely. For a few seconds I can turn on and off num/caps lock but eventually even that locks solid.. not sure what the problem has to do with.



MoreCoffee 04-30-2004 09:48 AM

You just have to search around im sure there are may good posts here about it. as well as google. You may have to research for a week or so but once you get it. It will be a piece of cake. Don't give up. here is an example of my /etc/X11/XF86Config


Section "ServerLayout"
Identifier "Multihead layout"
Screen 0 "Screen0" LeftOf "Screen1"
Screen 1 "Screen1" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
Option "Xinerama" "on"
Option "Clone" "off"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor 1024x768"
HorizSync 31.5 - 70.0
VertRefresh 50.0 - 80.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor 1024x768"
HorizSync 31.5 - 57.0
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce FX (generic)"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "mga"
VendorName "Videocard Vendor"
BoardName "Matrox Mystique"
BusID "PCI:0:11:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

<> As you can see there are two monitors, devices, screens. In your case you will only have one video card so for the section device the same card will be listed for both one with a diffrent identifier but the same BusID "PCI:1:0:0" That should be the default for AGP but check to be sure. The rest is trial and error. Have fun good luck.


MC


All times are GMT -5. The time now is 02:25 AM.