On Thursday, February 7, 2002, at 10:42 , Rolf Arands wrote:

> Problem is, I didn't get this file upon installation, so I have no idea 
> what should go in there. Can someone post the contents of a typical 
> ".xinitrc" file that I could then add to my $HOME? It's probably 
> simple ... I just don't know what is actually in this file.

OK I just navigated on the file tree and found this file:
/usr/X11R6/etc/xinit/xinitrc, you can copy that one to your home adding 
a dot:
cp /usr/X11R6/etc/xinit/xinitrc $HOME/.xinitrc (maybe you need to add 
sudo) you can remove everything after
#start some nice program and add exec YOUR_WINDOW_MANAGER &

My .xinitrc is simpler (& a little bit more buggy also) it contains :

PATH ="$PATH: /sw/bin /usr/bin /usr/X11R6/bin /bin /etc"

exec gnome-session

I tried to add to the PATH these since I had some problems launching 
some commands (were not found but installed), however I guess this is 
unnecessary for you (for me also now). There is a useful command 
something like unset LANG  but I don�t remember exactly, it will remove 
some annoying error messages if you use startx to launch your session 
and don�t use the &. You can also set whatever you want (open a clock, a 
calc,a term window at the start as in the xinitrc demo file). I�m using 
gnome since it can work with a lot a window-manager (I use it with 
Window-Maker) and it allows you to configure everything so easyly from 
gnomecc...

I think you should try with the simplest one:

exec YOUR_WINDOW_MANAGER &

good luck
Eric DUFOUR

_______________________________________________
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie

Reply via email to