Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 12-13-2004, 09:47 PM   #1
LQ Newbie
Registered: Nov 2003
Posts: 6

Rep: Reputation: 0

hi all,
ive been trying to get two monitors working as of late but the only thing i can do is get it to work with Xinerama. i have a nvidia card so i tried twinview but it didnt work. however i came accross the $KDE_MULTIHEAD environment variables for kde. my question is how can i get dual heads to work(spaning a screen accross two monitors), and can kde do this by its self?, what is that config option in kcontrol - Peripherals, Display, multiple monitors tab. and how do i set environment variables for kde.

Thanks mute

ps. if anyone has a spaned desktop can u post ur xfree86 (xorg,etc) file please.
i am running kde 3.2 mandrake 10.1 community and have geforce 5200fx
Old 12-14-2004, 07:25 AM   #2
Registered: Aug 2003
Location: Germany
Distribution: Mandrake 9.1
Posts: 36

Rep: Reputation: 15
I thought that works only alone with the XFree? Isnt xinerama exact what you search for?

Section "ServerLayout"
Identifier "Default Layout"

# Now enable dual head mode:
Screen "Screen1"
Screen "Screen2" RightOf "Screen1"

# This enables Xinerama. If you don't set this to "on", startx will spawn
# two indepentent X sessions. In Xinerama mode, both screens are virtually
# one screen and only one X session is started.
Option "Xinerama" "on"

That should be in your XFree file. No clue how to do it with kde.

hope that works
Old 12-14-2004, 08:01 PM   #3
Registered: Apr 2004
Location: Ontario, Canada
Distribution: Ubuntu Hoary
Posts: 45

Rep: Reputation: 15
Hope this helps you. The mouse is vanilla serial 2 button + wheel type. Monitors are twin CRT - main on left, secondary on right.


Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D: layer

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbCompat" ""
Option "XkbOptions" ""

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"

Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "1280x960 @ 70 Hz"
HorizSync 31.5-57.0
VertRefresh 50-70

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
#ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
#ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
#ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616

Section "Device"
Identifier "device1"
VendorName "NVidia"
BoardName "NVIDIA GeForce2 (generic)"
Driver "nvidia"
Option "DPMS"
Option "TwinView" "true"
Option "SecondMonitorVertRefresh" "50-70"
Option "SecondMonitorHorizSync" "31.5-57"
Option "MetaModes" "1280x960,1280x960;1024x768, 1024x768; 1024x768, NULL"
Option "IgnoreEDID" "1"
Option "ConnectedMonitor" "CRT, CRT"
Option "TwinViewOrientation" "RightOf"

Section "Screen"
Identifier "monitor1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Modes "1280x960" "1024x768"

Subsection "Display"
Depth 15
Modes "1280x960" "1024x768"

Subsection "Display"
Depth 16
Modes "1280x960" "1024x768"

Subsection "Display"
Depth 24
Modes "1280x960" "1024x768" "800x600" "640x480"

Section "ServerLayout"
Identifier "layout1"
Option "TwinView" "true"
Screen "monitor1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Old 12-27-2004, 07:28 PM   #4
LQ Newbie
Registered: Nov 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Hey Thanks alot perryub. Its always the simple things, i didnt have twinview "true" under server layout only under device. It works great!!

ps. under kde if u want to use config your desktop utility you need to have Xinerama running. i got it to work but Xinerama does not have hardware accel so my advise is to buy a nvidia card.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration