Re: xinitrc follies

Carla Schroder <[email protected]>
Newsgroups gmane.org.user-groups.linux.pdxlug
Message-ID <[email protected]>
On Monday 10 May 2004 10:43 am, Jonathan Daugherty wrote:
> # I'm trying to configure .xinitrc so I can choose which window
> # manager to use on a whim, and of course there must be a
> # default. Here is my current version:
> 
> If putting it in .xinitrc doesn't work (and I don't know of a way to
> have startx pass args to .xinitrc), then instead, move your .xinitrc
> to a script -- say ~/bin/startx -- which you run, like
> 
> foo@bar:~$ startx wmaker
> 
> where ~/bin comes before /usr/bin/X11 in your PATH.  Your ~/bin/startx
> might either create ~/.xinitrc using a stub config or call startx with
> some voodoo which has not yet been identified.

Hmm. Yeah, you're right. I'm not crazy about using a display manager, because 
they get in my way, and don't provide a way to log out of X to the console. 
Maybe scripting something using xinit would be a cleaner way to begin.

I love the comment at the beginning of startx:

#This is just a sample implementation of a slightly less primitive
# interface than xinit.  ...
# Site administrators are STRONGLY urged to write nicer versions.

Um, OK! Someday I will devote my life to untangling the eleventy-eight million 
files and scripts that X needs to run, and write a nicer startx. :)

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Carla Schroder
this message brought to you
by Libranet 2.8 and Kmail
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.