LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 01-12-2009, 11:25 PM   #1
jmite
Member
 
Registered: Jun 2008
Distribution: Ubuntu
Posts: 266

Rep: Reputation: 36
ubuntu file where dual-monitor info is stored???


Right now I dual boot my laptop between ubuntu and gentoo. Like most laptops, it has a VGA out port where I can connect it to a monitor. When I connect the monitor in Ubuntu, it displays it and it all works beautifully. In the "Screen Resolution" settings app under GNOME, it will detect the display and let me configure it.

In Gentoo, however, I've tried, unsuccessfully, to get Xinerama working to have a similar setup. I've followed the various tutorials for xorg.conf. Part of the issue may be that when I run "X -configure" it doesn't detect both displays.

What I'm wondering is, what does Ubuntu use to provide dual monitor support? Is it xinerama? Where can I find the files where the configuration is stored, so that I can find out how it's configured in the working Ubuntu and use the same configuration in Gentoo?

Thanks!
 
Old 01-13-2009, 12:03 AM   #2
DropSig
Member
 
Registered: Apr 2004
Location: East of Quebec
Distribution: Kubuntu, LFS
Posts: 208

Rep: Reputation: 30
all that information is stored in x config file.
usually /etc/X11/xorg.conf
here is mine (worked with ubuntu 7.xx but not in 8.xx)
i post only the relevent info.
you can compare with yours
if you need more help posting yours would be good.
(note i have intel i945 video on my laptop)
Quote:
Section "Monitor"

Identifier "LappyPanel"
HorizSync 31.5 - 64.3
VertRefresh 50-100

EndSection

Section "Monitor"
Identifier "Sceptre"
HorizSync 30-70
VertRefresh 50.0-75.0
Option "DPI" "85 x 85"
EndSection


Section "Device"
Identifier "** Intel i810 (generic) [i810]"
Driver "i810"
VideoRam 131072
# Option "DRI" "true"
# BusID "PCI:0:2:0"
Option "MonitorLayout" "CRT,LFP"
Screen 0
EndSection
Section "Device"
Identifier "Monitor-i810"
Driver "i810"
VideoRam 131072
# Option "DRI" "true"
# BusID "PCI:0:2:0"
Screen 1
Option "MonitorLayout" "CRT,LFP"
EndSection



Section "Screen"
Identifier "Screen 0"
Device "** Intel i810 (generic) [i810]"
Monitor "LappyPanel"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x800" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x800" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection


Section "Screen"
Identifier "Screen 1"
Device "Monitor-i810"
Monitor "Sceptre"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "1440x900" "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Screen 0" 0 0
Screen "Screen 1" LeftOf "Screen 0"
Option "Xinerama" "true"
InputDevice "Synaptics Touchpad"
Option "AIGLX" "true"

EndSection
 
Old 01-13-2009, 06:24 PM   #3
jmite
Member
 
Registered: Jun 2008
Distribution: Ubuntu
Posts: 266

Original Poster
Rep: Reputation: 36
i have an intel graphics card as well. Here's the xorg.conf from the working ubuntu. *Note, I tried cutting and pasting it into the gentoo /etc/X11, but it didn't reead it, saying a driver was missing, but it still didn't work even after I added a driver line.

Code:
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# 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 "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
	SubSection "Display"
		Virtual	2720 910
	EndSubSection
EndSection

Section "Device"
	Identifier	"Configured Video Device"
EndSection

Here's what X --configure +xinerama generates on my gentoo installation.
Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/share/X11/rgb"
	ModulePath   "/usr/lib64/xorg/modules"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
	Load  "glx"
	Load  "extmod"
	Load  "record"
	Load  "xtrap"
	Load  "dri"
	Load  "dbe"
	Load  "GLcore"
	Load  "type1"
	Load  "freetype"
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"
	#DisplaySize	  320   240	# mm
	Identifier   "Monitor0"
	VendorName   "HWP"
	ModelName    "hp 7550"
 ### Comment all HorizSync and VertRefresh values to use DDC:
	HorizSync    30.0 - 86.0
	VertRefresh  50.0 - 140.0
	Option	    "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	VendorName  "Intel Corporation"
	BoardName   "Mobile Integrated Graphics Controller"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where can I get info on common Linux directories and what's normally stored there? hunterhunter Linux - Newbie 6 04-06-2006 04:40 PM
where is info on free disk space stored (/proc?) eigenyeugen Linux - General 3 01-30-2005 10:45 AM
Where is IP info stored-RH8 kubicon Linux - Networking 2 08-26-2004 06:24 PM
Web Browsers Forgetting stored info BrettPower Linux - Software 0 03-06-2004 01:36 PM
Info displayed to screen at boot stored somewhere? jfi Linux - Newbie 3 12-03-2003 06:19 PM


All times are GMT -5. The time now is 12:59 PM.

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