View Single Post
Old 8th May 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,277
Default

Quote:
Originally Posted by Shredder View Post
And if I have multiple users should I make .xinitrc in each of their home folders?
This depends upon whether users need/want customization or whether the defaults are sufficient.

When startx is invoked, the script checks for the presence of ~/.xinitrc (note the period...). If present, this file is executed. If not, /etc/X11/xinit/xinitrc is executed (note no period...). In this manner users can customize how X starts by changing the contents of ~/.xinitrc. Note that the default window manager is fvwm(1) as can be found at the bottom of /etc/X11/xinit/xinitrc.

If you want to change the defaults (window manager, applications started at X's invocation, etc.), edit /etc/X11/xinit/xinitrc.

For more information, see Section 11 of the FAQ:

http://openbsd.org/faq/faq11.html

Last edited by ocicat; 8th May 2008 at 03:27 PM.
Reply With Quote