startx while specifying configuration?

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Mon Aug 29 19:41:29 UTC 2011


On Mon, Aug 29, 2011 at 03:09:18PM -0400, William O'Higgins Witteman wrote:
> I have an nVidia-based video card.  Most of the time, I would rather use
> the nouveau driver - it works, it's snappy, and it doesn't take any
> hoop-jumping to "just work".  It doesn't do OpenGL, however, which I
> occasionally want.  I'd like to specify with xorg.conf to use when I
> startx, rather than "mv"-ing configuration files around.  Is there a way
> to do this?
> 
> man startx and man xinitrc provide no guidance, and I couldn't find
> anything with the aid of Google.

In the past you could do:

startx -- Xserverarguments

Like: startx -- :1

That would launch the X server with :1 as an argument.  So if the 'X'
has an option for configfile to use, that should work there.

So startx options go before '--' and X server options go after '--'.

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list