RE: How does X choose between Monitors?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Basically I have an embedded system which can have two potential
monitors connected to it. One is 15 inch and the other is 17inch (both
LCD). I want to boot into 1024 on the 15inch and 1280 on the 17 inch. If
I set in my screen section 1280 as an optional resolution the 15 inch
monitors boots into that resolution and then has the zoom look (Some of
the screen off the to the sides where you have to scroll around). Anyway
the X logs seem to show the monitor being picked up properly, but it
just defaults to the highest resolution. My application looks bad on the
15 in monitor in 1280 and bad on the 17 inch monitor in 1024. Anyway, I
want X to detect the native resolution of the monitor and just boot into
that resolution. Currently it isn't doing that correctly.

-----Original Message-----
From: Bill Chmura [mailto:Bill@xxxxxxxxxxxxx] 
Sent: Monday, October 25, 2004 1:23 PM
To: xfree86@xxxxxxxxxxx
Cc: Michael Hamilton
Subject: Re:  How does X choose between Monitors?


Not sure, but you should not have to copy config files anywhere...
simply call 
a different serverconfig with the layout option...

No idea on monitor probing before X starts.

Can you give an example of the cat you are trying to skin?


On Monday 25 October 2004 03:52 pm, Michael Hamilton wrote:
> Is there a way for me to probe the monitor before X starts so that I
> know the native resolutions? It appears that X does this properly, and
> then has problems. If there is some way to detect this I can copy over
> the X config file before its run with one of my own copy based on the
> supported resolution of each monitor.
>
> -----Original Message-----
> From: Bill Chmura [mailto:Bill@xxxxxxxxxxxxx]
> Sent: Monday, October 25, 2004 12:29 PM
> To: xfree86@xxxxxxxxxxx
> Cc: Michael Hamilton
> Subject: Re:  How does X choose between Monitors?
>
>
> I think you are looking for the ServerConfig section.  This sections
> combines
> all of your monitors, screens, input devices into one "big setting".
>
> The first serverlayout in the file is the default.
>
> You can specify others also, then load then like:
>
> startx -- -layout secondlayoutname
>
> I am not sure on the autodetection thing?  I've done things that
behave
> differently if I am plugged into my network at home (with a monitor)
or
> on
> the road by having my startup detect the network and then running
startx
> the
> way I would want.
>
> Anyway, the stuff on the top should get you started!
>
> On Monday 25 October 2004 02:34 pm, Michael Hamilton wrote:
> > I have two 'Monitor' sections and two 'Screen' sections (A screen
> > section for each monitor that might be plugged in at any given
time).
> >
> > -Does X choose a Monitor based on what it auto detects?
> > -How do I set it up to be able to switch between two different
>
> monitors
>
> > depending on which one is plugged into the computer?
> >
> > Attached is my config file.
> > Thanks for your help,
> > -M

-- 

Bill Chmura
Director of Internet Technology
Explosivo ITG
Wolcott, CT

p: 888.560.YWEB (9932)
e: bill@xxxxxxxxxxxxx
w. http://www.explosivo.com


_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux