That modification to 'konsole' invocation isn't the right way to do things.  
I'd recommend undoing that.
When logging in, you'd always be at a point where .bash_profile is run, as part 
of logging to the computer; has nothing to do, per se, with plasma regardless 
of version.  Plasma 6 won't have 'fixed' this.

.bash_profile is only invoked during session login.  Konsole is not 
accomplishing a login session (and you could have dozens of them open); thus 
.bashrc is invoked for each one of them.

Since you are already 'logged in' by the time you are able to start 'konsole', 
then '.bash_profile' was already run for your login session.If you are making 
changes to '.bash_profile', then that will take effect the next time you login 
in.  So, make the change(s), log out completely (no need to reboot) and then 
log back in.  Then when you open konsole, you should see the change you made be 
in effect.
Plasma doesn't affect usage/implementation of bash, or the bash user 
environment, per se.  'bash' being the shell, traditionally defined in 
/etc/passwd for a given local user, will invoke things upon login, and then for 
terminal sessions.
Thank you.-Joe

    On Thursday, December 12, 2024 at 11:01:42 AM EST, Barry 
<ba...@barrys-emacs.org> wrote:  
 
 

> On 11 Dec 2024, at 22:27, Stephen Morris <steve.morris...@gmail.com> wrote:
> 
> Just relative to this, with konsole, which is a bash shell apparently, are 
> you saying that when you create a new tab that .bashrc is run in the new tab, 
> but .bash_profile is not and is only run at the initial console startup?

I modify konsole to run `bash -l` so that the .bash_profile is forced to be run.
At one point you could be in the position that .bash_profile was never run in 
plasma.
I have not checked if plasma 6 fixed this.

Barry


-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@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
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue
  
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@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
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to