discuss-gnustep
[Top][All Lists]
Advanced

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

Re: NSPasteboard on X, what to do?


From: Pascal Bourguignon
Subject: Re: NSPasteboard on X, what to do?
Date: Fri, 11 Jan 2002 04:51:00 +0100 (CET)

> Date: Fri, 11 Jan 2002 05:40:38 +0200 (EET)
> From: Dan Pascu <dan@services.iiruc.ro>
> 
> On  9 Jan, Pascal Bourguignon wrote:
> > <super-pedantic> I don't see that:
> > 
> > Section "ServerLayout"
> >     Identifier     "Layout[all]"
> >     Screen      0  "Screen[0]" 0 0
> >     Screen      1  "Screen[1]" RightOf "Screen[0]"
> >     InputDevice    "Keyboard[0]" "CoreKeyboard"
> >     InputDevice    "Mouse[1]" "CorePointer"
> >     Option         "Clone" "off"
> >     Option         "Xinerama" "off"
> > EndSection
> > 
> > So I would  say that mouse, keyboard and screens  are connected to the
> > X-server, not to the display. Moreover, note that:
> 
> To be not confused consider a display (X way) to be the same with a
> running instance of the X server. So DISPLAY=localhost:0 is a running
> instance of the X server. that may manage multiple CRTs (screens), a
> kbd and a mouse (it may even be able to manage multiple kbd/mice dunno
> for sure).
> 
> > 
> > Section "Screen"
> >     Identifier "Screen[0]"
> >     Device     "Device[0]"
> >     Monitor    "Monitor[0]"
> >     DefaultDepth     24
> >     SubSection "Display"
> >             Depth     15
> >             Modes    "1152x870" "1024x768" "800x600" "640x480"
> >     EndSubSection
> >     SubSection "Display"
> >             Depth     16
> >             Modes    "1152x870" "1024x768" "800x600" "640x480"
> >     EndSubSection
> >     SubSection "Display"
> >             Depth     24
> >             Modes    "1280x1024" "1152x870" "1024x768" "800x600" "640x480"
> >     EndSubSection
> >     SubSection "Display"
> >             Depth     32
> >             Modes    "1152x870" "1024x768" "800x600" "640x480"
> >     EndSubSection
> >     SubSection "Display"
> >             Depth     8
> >             Modes    "1152x870" "1024x768" "800x600" "640x480"
> >     EndSubSection
> > EndSection
> > 
> > So a 'X-screen', may have  several displays, not only one.  Well, with
> 
> Nope. They are just definitions of visuals. when the X server starts
> selects one from this list, and will use that. By default will select
> what DefaultDepth says (24bpp in this case), but you can select another
> with command line options. the SubSection "Display" is misleading in
> this case. What it wants to say is that the X server (==DISPLAY) will
> use that depth and mode(s) when running (one or possible more of them,
> but they are all on the same DISPLAY==X server).
> 
> again, read display (the X way) as X server. that would make thinks
> clear.

Yes, you're right.  I've been  confused by the terminology used in the
configuration files, and my expectation  of one X server being able to
handle several X  display. That's not the case, at  least of XFree and
derived  servers.  The SubSection  "Display"  should  be better  named
SubSection "Depth".

X server = X display = set of X screens, X keyboards and X mice.

When a computer  has several screens, keyboards and  mice, they may be
dispatched to  several X servers/displays to  run several workstations
on that same computer.

The -display option  too actually let us set the  screen, not only the
display (:0.0 instead of :0).

-- 
__Pascal_Bourguignon__              (o_ Software patents are endangering
()  ASCII ribbon against html email //\ the computer industry all around
/\  and Microsoft attachments.      V_/ the world http://lpf.ai.mit.edu/
1962:DO20I=1.100  2001:my($f)=`fortune`;  http://petition.eurolinux.org/

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d? s++:++(+++)>++ a C+++  UB+++L++++$S+X++++>$ P- L+++ E++ W++
N++ o-- K- w------ O- M++$ V PS+E++ Y++ PGP++ t+ 5? X+ R !tv b++(+)
DI+++ D++ G++ e+++ h+(++) r? y---? UF++++
------END GEEK CODE BLOCK------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]