Date: Thu, 5 Nov 2009 22:49:44 +0100 From: Polytropon <freebsd@edvax.de> To: "Alexandre L." <axelbsd@ymail.com> Cc: FreeBSD Question <freebsd-questions@freebsd.org> Subject: Re: SLIM and XFCE4 Message-ID: <20091105224944.a6ce3874.freebsd@edvax.de> In-Reply-To: <424233.42925.qm@web24816.mail.ird.yahoo.com> References: <20091105001628.3cd0319a.freebsd@edvax.de> <424233.42925.qm@web24816.mail.ird.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 4 Nov 2009 23:01:19 -0800 (PST), "Alexandre L." <axelbsd@ymail.com> wrote: > mmm. I don't know. > But with this config file, XFCE4 launch is OK (or seems OK). That may be possible, as well as correct. I have learned - many many years ago, so it may already have changed - that .xinitrc is a SHELL SCRIPT that is executed on X startup. So all the "rules" for shell scripts do apply, such as declaring the interpreter with the #! special comment. Furthermore, .xinitrc serves as a kind of "init process", so that the "exec" statement is needed to replace the .xinitrc process by the window manager. See that .xsession serves a similar process and needs a certain form so that programs that use it (e. g. xdm) do the right thing. My .xsession does look like this: #!/bin/csh source ~/.cshrc exec ~/.xinitrc It is needed so that xterms running csh inherit the settings from my .cshrc, and then .xsession continues running as .xinitrc, which finally runs as the window manager (here: WindowMaker, last line "exec wmaker"). But as I said, it may be handled completely differently today. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091105224944.a6ce3874.freebsd>