Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2006 16:23:36 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Peter <petermatulis@yahoo.ca>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   aterm -e screen does not source .bashrc (was: Re: been buggin' me for a while now (console resolution))
Message-ID:  <20060711132336.GB77495@gothmog.pc>
In-Reply-To: <20060711130938.72503.qmail@web60014.mail.yahoo.com>
References:  <20060711125448.GA77175@gothmog.pc> <20060711130938.72503.qmail@web60014.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-07-11 09:09, Peter <petermatulis@yahoo.ca> wrote:
> I have the following in my .xinitrc file:
> 
> aterm -e screen &
> 
> What is happening is that neither /etc/profile nor ~/.profile are
> being read.  How can I get either of them to be sourced?

By default, xterm, rxvt, aterm and various other terminal emulators
start non-login shells.  This means that .profile is not sourced by the
shell spawned by the terminal.  You can enable a `login shell' inside
one of these terminal emulators with the -ls option:

	aterm -ls -e screen &



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060711132336.GB77495>