On Thu, 25 Jun 2020 at 15:30, Patrick Dupre <pdupre@xxxxxxx> wrote:
Thanks for the help.In one case, I getvisible-name='My Profile'[legacy/profiles:/:8f3df3a5-c11c-4d34-a787-a89240dd2e1e]
custom-command=''
login-shell=false
use-custom-command=false
visible-name='test UTF'[legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9]
custom-command=''
login-shell=trueand on the other one, I havelogin-shell=true[legacy/profiles:/:8f3df3a5-c11c-4d34-a787-a89240dd2e1e]
custom-command=''
login-shell=false
use-custom-command=false
visible-name='My Profile'However, this is not a bash issue, but a gnome-terminalActually, I probably made a mistake before.Checking "run command as a login shell" in the right profile, I get .bash_profile sourced.Now.bashrc and .bash_profileare sourced.
Glad it is working. I have been known to get confused over profiles while
teaching a workshop using a special shell environment and fonts that
could be seen from the back of the room. In Gnome's defence, Micros~1
has invested huge sums in interface design and hasn't done much better
than Gnome in keeping users aware of the active settings in a terminal.
_______________________________________________Sent: Thursday, June 25, 2020 at 8:03 PM
From: "George N. White III" <gnwiii@xxxxxxxxx>
To: "Community support for Fedora users" <users@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: .bash_profile_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxxOn Thu, 25 Jun 2020 at 14:15, Patrick Dupre <pdupre@xxxxxxx> wrote:Thanks for the advises.In one case I get from ps -f (when .bash_profile is sourcedpdupre 42749 2634 0 18:47 pts/5 00:00:00 -bashand in the other casepdupre 40749 2634 0 18:47 pts/5 00:00:00 bashThe second case is not a login shell, so should not source "~/.bash_profile".Next, compare the output of "dconf dump /org/gnome/terminal/". Here I get:% dconf dump /org/gnome/terminal/
[legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9]
default-size-rows=34
login-shell=true_______________________________________________In both cases echo $-provideshimBHsIn both cases/etc/bashrcis sourcedSent: Thursday, June 25, 2020 at 6:51 PM
From: "George N. White III" <gnwiii@xxxxxxxxx>
To: "Community support for Fedora users" <users@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: .bash_profile_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxxOn Thu, 25 Jun 2020 at 13:00, Patrick Dupre <pdupre@xxxxxxx> wrote:In both cases,"Run commad as a login shell" is checked.What does "ps -f" show for bash in each terminal?Does "echo $-" give a string that includes the letter "i" in each terminal?Are you using some form of remote access for one of the machines?Sent: Thursday, June 25, 2020 at 5:55 PM
From: "Qiyu Yan" <yanqiyu@xxxxxxxxxxxxxxxxx>
To: "Community support for Fedora users" <users@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: .bash_profilePatrick Dupre <pdupre@xxxxxxx> 于 2020年6月25日周四 下午10:40写道:Hello,
What control the call to .bash_profile?
I am 2 machines and a different behavior while, I cannot see the
difference in the configuration.Whether the shell is a "login shell", a login shell will source .bash_profile and a interactive shell will not.
On both machines .bash_profile is run in text terminal
But on one, it is also run in gnome-terminal
but not on the other one.Gnome terminal has a option said "always run as login shell" or something like that. I am on my phone and can't remember it clearly, but you can switch if a gnome-terminal start bash as login shell.
I check the profile preferences, both are the same (command run: none checked).--George N. White III
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
--George N. White III
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
--
George N. White III
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx