LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-20-2017, 02:17 PM   #1
daweefolk
Member
 
Registered: Sep 2009
Distribution: raspbian
Posts: 94

Rep: Reputation: 15
xorg.conf is setting the wrong monitor as "main"


I had a previous question here regarding a dual monitor setup, turns out my second card was unsupported. I plugged second monitor into first card, now both monitors work.

however. the second, smaller, monitor is where everything launches, so I think it's being detected as the "first" monitor. I've included the relavent portions of xorg.conf, let me know if anything else is helpful.

Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen        "HDMIScreen" 0 0
	Screen	      "VGAScreen" RightOf "HDMIScreen"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Monitor"
	Identifier   "HDMI"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Monitor"
	Identifier "VGA"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"              	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "EnablePageFlip"     	# [<bool>]
        #Option     "ColorTiling"        	# [<bool>]
        #Option     "ColorTiling2D"      	# [<bool>]
        #Option     "RenderAccel"        	# [<bool>]
        #Option     "SubPixelOrder"      	# [<str>]
        #Option     "AccelMethod"        	# <str>
        #Option     "ShadowPrimary"      	# [<bool>]
        #Option     "EXAVSync"           	# [<bool>]
        #Option     "EXAPixmaps"         	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "SwapbuffersWait"    	# [<bool>]
        #Option     "DeleteUnusedDP12Displays" 	# [<bool>]
        #Option     "DRI3"               	# [<bool>]
        #Option     "DRI"                	# <i>
        #Option     "TearFree"           	# [<bool>]
	Identifier  "Card0"
	Driver      "radeon"
	Option "Monitor-HDMI-0" "HDMI" #xrandr -q shows hdmi out as "HDMI-0"
	Option "Monitor-VGA-0" "VGA" #and xrandr -q says vga out is VGA-0
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "VGAScreen"
	Device "Card0"
	Monitor "VGA"
EndSection

Section "Screen"
	Identifier "HDMIScreen"
	Device     "Card0"
	Monitor    "HDMI"
	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

Last edited by daweefolk; 09-20-2017 at 02:19 PM.
 
Old 09-21-2017, 12:54 PM   #2
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 792

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Set the primary monitor in your desktop manager.

For example, in KDE Plasma5, under System Settings -> Display and Monitor -> Displays, there is a combo box to set the "Primary display".
 
  


Reply



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
TV - MONITOR 26" and xorg.conf vivanguarda Slackware 3 06-10-2011 02:54 AM
xorg.conf : Explanation of "Viewport" and "Virtual" uncle-c Linux - Newbie 1 01-24-2011 11:04 AM
Booting puppy live "breaks" my monitor, all xorg.conf's now 800x600!? linus72 Linux - Hardware 1 11-14-2009 06:30 PM
Problems configuring "xorg.conf" with "ATI FGLRX" BlueSpirit Slackware 3 09-16-2006 02:01 PM
"nv" to "nvidia" in xorg.conf causes X not to start jon2kx Ubuntu 10 09-05-2006 08:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:40 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
Open Source Consulting | Domain Registration