SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I rebuilt an iso of Current RC1, based on today's updates in the changelog. Opening Konsole, it still opens in a small scale (oh well), but also I still can't get Konsole to start as a login shell even after saving the profile:
Konsolerc doesn't seem to show /bin/bash -l so I added it manually at the bottom and restarted Konsole, and still no prompt as a login shell.
I realize this is a KDE bug, and it doesn't look like it has been fixed or reported (I will report it then) , but in the mean time what is the suggested work around?
I see konsole build 2 , revert some size patches , now again in the first run of konsole , a rediculous size returns , in to installed system thats not a big problem ,cause after manually resize konsole remember size , but when go in to a live system , every boot same manually action ..mm , i dont like.
No one say nothing arround my other question , why ark , now open destinationdirectiry , when end jobs ??
compress or uncompress ... from servicemenu actions , open other dolphin instance ...not nice.
And of course , i check in ark preferences disabled the option "open destination folder after extraction" , ..but when compress does the same action , default option is NO , but he plays alone.
No one say nothing arround my other question , why ark , now open destinationdirectiry , when end jobs ??
compress or uncompress ... from servicemenu actions , open other dolphin instance ...not nice.
And of course , i check in ark preferences disabled the option "open destination folder after extraction" , ..but when compress does the same action , default option is NO , but he plays alone.
I don't have your issue with ark in Slackware64 current up-to-date at time of writing (Thu Aug 19 18:54:03 UTC 2021)
After uncompressing a zip file with service menu in dolphin, I only get a notification that the job is completed.
The notification box has a button to open the destination directory if I want to do so but the destination directory is not automatically opened.
I see konsole build 2 , revert some size patches , now again in the first run of konsole , a rediculous size returns , in to installed system thats not a big problem ,cause after manually resize konsole remember size , but when go in to a live system , every boot same manually action ..mm , i dont like.
No one say nothing arround my other question , why ark , now open destinationdirectiry , when end jobs ??
compress or uncompress ... from servicemenu actions , open other dolphin instance ...not nice.
And of course , i check in ark preferences disabled the option "open destination folder after extraction" , ..but when compress does the same action , default option is NO , but he plays alone.
So after posting my issue with Konsole and login shell in kde forums, they are alluding that it could be distro related , maybe - but I think that is a very slim chance at best. I don't know if Pat has played with Plasma lately , but it seems that nobody at the kde forums can replicate my issue, but I am at a loss why konsole refuses to open with a login shell prompt instead of showing bash-5.15...
So after posting my issue with Konsole and login shell in kde forums, they are alluding that it could be distro related , maybe - but I think that is a very slim chance at best. I don't know if Pat has played with Plasma lately , but it seems that nobody at the kde forums can replicate my issue, but I am at a loss why konsole refuses to open with a login shell prompt instead of showing bash-5.15...
Mine shows "michael@darkstar:~$" for Konsole.
I opened Xterm, urxt, and others and got the same prompt. Once upon a time it did show only bash-.... whatever. I could not tell you when that happened, but it has been awhile. Maybe there was a new file added to current that you missed? I seem to forget to run install-new ocassionally.
So after posting my issue with Konsole and login shell in kde forums, they are alluding that it could be distro related , maybe - but I think that is a very slim chance at best. I don't know if Pat has played with Plasma lately , but it seems that nobody at the kde forums can replicate my issue, but I am at a loss why konsole refuses to open with a login shell prompt instead of showing bash-5.15...
It's not distro related. I've had this issue in Mageia several times in the past, and I never found out what triggered it. I would guess bash profile for pty.
So after posting my issue with Konsole and login shell in kde forums, they are alluding that it could be distro related , maybe - but I think that is a very slim chance at best. I don't know if Pat has played with Plasma lately , but it seems that nobody at the kde forums can replicate my issue, but I am at a loss why konsole refuses to open with a login shell prompt instead of showing bash-5.15...
So, I was looking into this a bit, since I had the same issue. And now I have the usual konsole user@host setup. Sadly, I can't exactly tell what changed.
At first I tried to change the profile, but that didn't help. So I added a profile and changed the command to /bin/bash -l. It had no effect. I logged out of X as well and back in. Played around with the profiles, and no change. Then I decided to reboot. When I got back it worked. But only conditionally.
The "default profile" is invoked as /bin/bash and not /bin/bash -l. Any other profile that says /bin/bash in the settings does not invoke -l, so you need to specifically set it. Switching between profiles with different settings will make this clear. This solves the "problem", in a way. But normally you don't need to set -l in the konsole settings, so I'm pretty sure it has to do with how the "default" profile is invoked.
It could be down to the global PS1 environmental variable, or the user one. You could try setting the PS1 variable both manually and permanently to test or solve this.
Code:
env
should give some clues as well. My default konsole profile has no PS1 env at all.
Edit.
Looking into this a bit further it turns out I have no .bash_profile and .bashrc
Quote:
When you login to the console, the login program is starting a login shell, which sources .bash_profile, not .bashrc. A GUI terminal emulator typically starts a non-login interactive shell, which sources .bashrc, not .bash_profile, since your GUI was presumably started from a login shell. It's a fairly common practice to include source ~/.bashrc from your .bash_profile, so that .bashrc is sourced for all interactive shells, whether or not they are login shells
Last edited by zeebra; 08-21-2021 at 04:18 PM.
Reason: additional info
But this way it shows, having just /bin/bash as shell on the Konsole profile.
Yes I know, but I stated in previous posts, adding -l in command /bin/bash in the profile in Konsole and hitting apply, and restarting Konsole does not work and it is a KDE issue, but there is no definitive reason as to why.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.