Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2019 21:19:13 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Mrityunjoy Ghosh <mgofbbk@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Clarification about creating .xinitrc file for xfce
Message-ID:  <20190923211913.dee65a38.freebsd@edvax.de>
In-Reply-To: <CA%2BQya0B4Z8v9V%2BOADg=GZcez7TTbBHzEt=_khttyLxSE2LdSdw@mail.gmail.com>
References:  <CA%2BQya0B4Z8v9V%2BOADg=GZcez7TTbBHzEt=_khttyLxSE2LdSdw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 23 Sep 2019 18:19:48 +0530, Mrityunjoy Ghosh wrote:
> Section 5.7.3 for creating .initrc and  .xsession file for xfce  written as
> given below. My question is what is the need of dot after inverted commas
> (i.e.    ".   /usr    )? What will happen if it is done this way?
> 
> % echo ". /usr/local/etc/xdg/xfce4/xinitrc" > ~/.xinitrc
> 
> % echo ". /usr/local/etc/xdg/xfce4/xinitrc" > ~/.xsession

The sh shell command ". <filename>" inputs the specified file
at the current position. You can find a typical use at the top
of /etc/rc.bsdextended or at the end of /etc/defaults/rc.conf
where external files are included.

The C shell's equivalent it "source <filename>".

See "man sh" for details.

Note: File .xinitrc is used by startx, .xsession is used by display
managers such as xdm or slim. Both are ignored by gdm. ;-)



-- 
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?20190923211913.dee65a38.freebsd>