[plug] X resolutions for presentations using a laptop

Leon Blackwell leon at lostrealm.com
Tue Aug 6 11:41:02 WST 2002


On Tue, Aug 06, 2002 at 10:56:27AM +0800, Anthony J. Breeds-Taurima wrote:
> Make yourself a script to set the "default" X res and then startx for you
> ie:
> 	$ runX 1024x768
> The main problem with this approach is, you need to be able to write to 
> /etc/X11/XF86Config-4 to do it, It is effecyivly what you currently do
> but less manual.

Of course, you could just put multiple "Screen" sections in your
XF86Config-4 (the first is always the default) and invoke the desired
screen when you startx:

# startx -- -screen NameOfDesiredScreen

This should allow users without write access to XF86Config-4 to start up
with different screens (so long as they are already configured).  The
same can be performed with layouts as well.

With this, you could also have multiple servers running, allowing you to
do all sorts of weirdness:

# startx -- :0 &
# startx -- :1 &


-- 
 Leon Blackwell                | Be a part of the Open Source
 http://www.lostrealm.com/     | Community, not the Open Source
 jabber:lionfire at lostrealm.com | Collective.



More information about the plug mailing list