[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bash isn't reading ~/.profile file when login from GNOME



On Ma, 20 aug 19, 10:36:19, Greg Wooledge wrote:
> On Tue, Aug 20, 2019 at 02:27:40PM +0000, Vipul wrote:
> > Hi there,
> > 
> > From few days, I'm trying find answer of a question "which program does
> > read ~/.profile if I login from graphical user interface (for ex: GNOME)?".
> 
> https://wiki.debian.org/Xsession
> https://wiki.debian.org/EnvironmentVariables
> 
> These are, of course, incomplete.
> 
> The short answer is: if you login through a Display Manager (a graphical
> login program), NOTHING reads ~/.profile.  Ever.

Some (most?) X terminal emulators have the option to start a login 
shell, which would read ~/.profile.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Attachment: signature.asc
Description: PGP signature


Reply to: