man bash and search bash_profile it details when it gets called or not.
The short details are there are interactive shells, login shells, and
non-interactive shells and each have slightly different rules for what
gets sourced.
On Thu, Jun 25, 2020 at 9:40 AM Patrick Dupre <pdupre(a)gmx.com> wrote:
>
> 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.
>
> 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.
>
> I check the profile preferences, both are the same (command run: none checked).
>
>
>
> Thanks
>
> ===========================================================================
> Patrick DUPRÉ | | email: pdupre(a)gmx.com
> Laboratoire interdisciplinaire Carnot de Bourgogne
> 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
> Tel: +33 (0)380395988
> ===========================================================================
> _______________________________________________
> users mailing list -- users(a)lists.fedoraproject.org
> To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
> 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@lists.fedoraproject.org