LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Xorg.conf, $DISPLAY variable, and multiple background image issues. (http://www.linuxquestions.org/questions/linux-newbie-8/xorg-conf-%24display-variable-and-multiple-background-image-issues-4175431476/)

watervaruna 10-10-2012 07:10 AM

Xorg.conf, $DISPLAY variable, and multiple background image issues.
 
Basically my short term goal was to have two monitors not be clones of each other and have different background images on each monitor. I figured out the first by using xrandr but as for the other I have found nothing that works. I found an article saying that change the $DISPLAY varaible to :0.1 before changing the background but I couldn't get that to work. I found out that it was was something to do with xorg but I can't seem to find any good documentation on writting xorg.conf.

So my question is does anybody know a quick answer to solving my background image problem or does anybody know of good documentation on writting the xorg.conf and if changing the $DISPLAY will work.

I am running debian with an ati radeon hd 4890 graphic card if that matters.

serafean 10-10-2012 10:00 AM

Hi,

what you're looking for is Dual screen X. Most tutorials on the net are for nvidia twinview.
In a nutshell you need 2 Screen sections in you xorg.conf.
Later today I'll post my xorg.conf with this setup using the nouveau driver. I don't know how this will apply to the fglrx driver.

Searafean

watervaruna 10-10-2012 05:58 PM

Well this is some of my xorg.conf file I have two screen sections but without using xrandr they are still clones and one of seems to have the sync rates off

Section "ServerLayout"
Identifier "X.org Configured"
Screen "Screen0"
Screen "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Monitor"
Identifier "DVI-I_1"
VendorName "Asus"
ModelName "VS238"
EndSection

Section "Monitor"
Identifier "DVI-I_2"
VendorName "Asus"
ModelName "VS238"
Option "RightOf" "DVI-I_1"
DisplaySize 1920 1080
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "DVI-I_1"
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

Section "Screen"
Identifier "Screen1"
Device "Card0"
Monitor "DVI-I_2"
EndSection

serafean 10-15-2012 05:11 PM

1 Attachment(s)
Hi,

I had to make to separate device sections, even though I only have one card. Attached is my xorg.conf, I hope you can get some inspiration from it, even though I have an nvidia.Attachment 10977 (sorry for the delay, I posted a response and then completely forgot about it)

Serafean

watervaruna 10-15-2012 11:20 PM

That helped a lot thanks. It came down to turning Xinerama off however once I did that one side font became really small and it wouldn't allow me to open firefox on both screens which I can live with but not the font thing.

serafean 10-16-2012 07:23 AM

For the font problem, I suggest you force the DPI. This can be done by starting X with the -DPI x parameter, where x is the DPI of your screen. I have no idea how to set different DPIs for different screens though.

Serafean


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