Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #213064

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

From Vipul <finn02@disroot.org>
Newsgroups linux.debian.user
Subject Re: Bash isn't reading ~/.profile file when login from GNOME
Date 2019-08-21 05:10 +0200
Message-ID <yxpax-2ST-1@gated-at.bofh.it> (permalink)
References <yxdj3-3Fh-1@gated-at.bofh.it> <yxdsJ-3Iv-1@gated-at.bofh.it> <yxiVt-7de-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Andrei POPESCU wrote:
> 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.
> 

Probably, gnome-terminal is not a X terminal emulator but, it does able
to recognize variables set in ~/.profile file when login from GNOME
interface. Why is so?

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bash isn't reading ~/.profile file when login from GNOME Vipul <finn02@disroot.org> - 2019-08-20 16:30 +0200
  Re: Bash isn't reading ~/.profile file when login from GNOME Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-20 16:40 +0200
    Re: Bash isn't reading ~/.profile file when login from GNOME Reco <recoverym4n@enotuniq.net> - 2019-08-20 16:50 +0200
    Re: Bash isn't reading ~/.profile file when login from GNOME Andrei POPESCU <andreimpopescu@gmail.com> - 2019-08-20 22:30 +0200
      Re: Bash isn't reading ~/.profile file when login from GNOME Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-20 22:50 +0200
        Re: Bash isn't reading ~/.profile file when login from GNOME Andrei POPESCU <andreimpopescu@gmail.com> - 2019-08-22 23:10 +0200
          Re: Bash isn't reading ~/.profile file when login from GNOME Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-22 23:20 +0200
            Re: Bash isn't reading ~/.profile file when login from GNOME Andrei POPESCU <andreimpopescu@gmail.com> - 2019-08-23 15:00 +0200
      Re: Bash isn't reading ~/.profile file when login from GNOME Vipul <finn02@disroot.org> - 2019-08-21 05:10 +0200
    Re: Bash isn't reading ~/.profile file when login from GNOME Vipul <finn02@disroot.org> - 2019-08-21 04:50 +0200
      Re: Bash isn't reading ~/.profile file when login from GNOME Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-21 15:20 +0200
        Re: Bash isn't reading ~/.profile file when login from GNOME Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-21 16:50 +0200
          Re: Bash isn't reading ~/.profile file when login from GNOME Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-21 17:10 +0200
        Re: Bash isn't reading ~/.profile file when login from GNOME Vipul <finn02@disroot.org> - 2019-08-22 21:10 +0200
          Re: Bash isn't reading ~/.profile file when login from GNOME Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-22 21:30 +0200

csiph-web