On 23 Jul 2002 13:35:57 -0700, Xan staggered into the Black Sun and
said:
Quote:> I want to know only why the users can't change the resolution of X
> window on the fly
Er, they can. Ctrl-Alt-(keypad +), Ctrl-Alt-(keypad -) , or from the
command line, "xvidtune -prev" , "xvidtune -next". Note that the user
executing these key sequences must have access to the X server (logged
in through xdm/gdm/kdm , granted permissions with xhost or xauth, etc.)
but any user who's got permission can do this.
If the person who set up the X server's configuration file only defined
1 resolution, this won't do anything. That means the system
administrator must add more resolutions to /etc/X11/XF86Config . Here's
the relevant section of mine:
Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1280x1024" "320x200" "640x480" "800x600" "1024x768"
5 modes defined, from 1280x1024 down to 320x200.
Quote:> I'm a newbee, but I think that it's because X window is a server that
> brings us a graphical enviroment. But this graphical enviroment is the
> same for all user (at least for resolution). Why this server can't
> offer different resolution to different user, and why can't offer the
> 'on the fly' change?.
If you meant "why is the actual size of the root window always the
largest mode defined in XF86Config, no matter what the resolution?",
then check
http://groups.google.com/groups?safe=images&ie=UTF-8&oe=UTF-8&
as_umsgid=slrnah917r.t6u.danceswithcrows%40samantha.crow202.dyndns
.org&lr=&hl=en
and the thread that it belongs to for more information.
Quote:> Please, give me simple answer.
Simple men search for simple answers, for they cannot understand the
complex ones.
Half-bright men search for complex answers, for they disdain
the apparent ease of simple ones.
Wise men search for the simplest answer that satisfies the boss, for
they have Counterstrike to play.
Quote:> I'm interested first in 'phylosophy' of the why than in technical
> details.
When the X11 protocol was designed, things were quite a bit different
(much more primitive) than they are now. I don't know for sure, but I
think that the root window never changes size because changing the size
of the root window could break old X client programs that don't know how
to react to the change.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /
http://www.brainbench.com / "He is a rhythmic movement of the
-----------------------------/ penguins, is Tux." --MegaHAL