LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 10-10-2012, 07:10 AM   #1
watervaruna
LQ Newbie
 
Registered: Jun 2011
Location: Iowa
Distribution: Debian, Slackware
Posts: 13

Rep: Reputation: Disabled
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.
 
Old 10-10-2012, 10:00 AM   #2
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 871
Blog Entries: 9

Rep: Reputation: 103Reputation: 103
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
 
Old 10-10-2012, 05:58 PM   #3
watervaruna
LQ Newbie
 
Registered: Jun 2011
Location: Iowa
Distribution: Debian, Slackware
Posts: 13

Original Poster
Rep: Reputation: Disabled
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

Last edited by watervaruna; 10-10-2012 at 05:59 PM. Reason: Adding conf info
 
Old 10-15-2012, 05:11 PM   #4
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 871
Blog Entries: 9

Rep: Reputation: 103Reputation: 103
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.xorg.conf.txt (sorry for the delay, I posted a response and then completely forgot about it)

Serafean
 
Old 10-15-2012, 11:20 PM   #5
watervaruna
LQ Newbie
 
Registered: Jun 2011
Location: Iowa
Distribution: Debian, Slackware
Posts: 13

Original Poster
Rep: Reputation: Disabled
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.
 
Old 10-16-2012, 07:23 AM   #6
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 871
Blog Entries: 9

Rep: Reputation: 103Reputation: 103
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
 
  


Reply

Tags
awesome, debian, xorg


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] dual display problem with xorg.conf tramni1980 Slackware 3 04-05-2012 07:04 AM
create an image with /etc/X11/xorg.conf or without? cccc Debian 2 05-02-2011 07:24 PM
Various xorg.conf examples for using (multiple) cards + (multiple) monitors GrapefruiTgirl Linux - Hardware 5 09-01-2009 09:22 PM
No display - xorg.conf corrupted getsha Ubuntu 2 03-14-2009 01:30 PM
is another file for display instead of xorg.conf hitlar Fedora 3 09-08-2006 09:31 PM


All times are GMT -5. The time now is 05:07 AM.

Main Menu
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