LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-19-2021, 05:16 PM   #886
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,188

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381

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:


Click image for larger version

Name:	Screenshot_2021-08-19_17-07-35.png
Views:	24
Size:	58.6 KB
ID:	36975

konsolerc:
Code:
[Desktop Entry]
DefaultProfile=

[MainWindow]
RestorePositionForNextInstance=false
State=AAAA/wAAAAD9AAAAAAAABY0AAALQAAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAIAAAAWAG0AYQBpAG4AVABvAG8AbABCAGEAcgEAAAAA/////wAAAAAAAAAAAAAAHABzAGUAcwBzAGkAbwBuAFQAbwBvAGwAYgBhAHIBAAAFIP////8AAAAAAAAAAA==
StatusBar=Disabled
ToolBarsMovable=Disabled
VGA-1 Height 1920x1080=796
VGA-1 Width 1920x1080=1421
VGA-1 XPosition 1920x1080=196
VGA-1 YPosition 1920x1080=199
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.

Click image for larger version

Name:	Screenshot_2021-08-19_17-15-09.png
Views:	22
Size:	23.3 KB
ID:	36976

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?
 
Old 08-19-2021, 06:52 PM   #887
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,344

Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
Every plasma update is a "surprise box"

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.

EDIT: Here we go , to try fix konsole ... https://www.linuxquestions.org/quest...ml#post6276872

Last edited by USUARIONUEVO; 08-19-2021 at 07:28 PM.
 
Old 08-20-2021, 02:09 AM   #888
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,834
Blog Entries: 17

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642
Quote:
Originally Posted by Jeebizz View Post
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.
Yeah, I have the same from 17. Aug rc1.

Last edited by zeebra; 08-20-2021 at 04:43 AM.
 
Old 08-20-2021, 04:39 AM   #889
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,979

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Konsole profile information goes in to ~/.local/share/konsole/, so you will not find "/bin/bash -l" in konsolerc.
 
Old 08-20-2021, 06:26 AM   #890
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,162
Blog Entries: 5

Rep: Reputation: 394Reputation: 394Reputation: 394Reputation: 394
Quote:
Originally Posted by USUARIONUEVO View Post
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.
 
Old 08-20-2021, 06:58 AM   #891
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,399

Rep: Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135
Quote:
Originally Posted by USUARIONUEVO View Post
Every plasma update is a "surprise box"

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.

EDIT: Here we go , to try fix konsole ... https://www.linuxquestions.org/quest...ml#post6276872
Maybe you could try to remove $HOME/.config/arkrc
 
Old 08-21-2021, 01:16 PM   #892
richarson
Member
 
Registered: Dec 2020
Location: Argentina
Distribution: Fedora 38 KDE
Posts: 112

Rep: Reputation: Disabled
Quote:
Originally Posted by richarson View Post
I just filed this bug report:

https://bugs.kde.org/show_bug.cgi?id=441056

Yakuake loses focus and doesn't show up in the task switcher anymore.

Very annoying for my use case
I searched https://invent.kde.org/utilities/yakuake/ and found this:

https://invent.kde.org/utilities/yak...ge_requests/42

Which took me to this other bug report:

https://bugs.kde.org/show_bug.cgi?id=439027

I can confirm that forcing yakuake's window type to "normal window" with a window rule also fixes my issue with the task switcher.

Cheers!
 
1 members found this post helpful.
Old 08-21-2021, 01:34 PM   #893
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,144

Original Poster
Rep: Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321
This week's new features, bug fixes and improvements,
https://pointieststick.com/2021/08/2...ool-new-stuff/
 
1 members found this post helpful.
Old 08-21-2021, 02:11 PM   #894
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,188

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
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...

https://forum.kde.org/viewtopic.php?...72349&p=448315

Last edited by Jeebizz; 08-21-2021 at 02:13 PM.
 
Old 08-21-2021, 02:25 PM   #895
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,032

Rep: Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238
Quote:
Originally Posted by Jeebizz View Post
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...

https://forum.kde.org/viewtopic.php?...72349&p=448315
So, you want user@hostname instead of bash5 ?

But this way it shows, having just /bin/bash as shell on the Konsole profile.
 
Old 08-21-2021, 02:30 PM   #896
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
@Jeebizz

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.
 
Old 08-21-2021, 02:32 PM   #897
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,834
Blog Entries: 17

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642
Quote:
Originally Posted by Jeebizz View Post
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...

https://forum.kde.org/viewtopic.php?...72349&p=448315
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.

Last edited by zeebra; 08-21-2021 at 02:35 PM.
 
Old 08-21-2021, 02:56 PM   #898
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
That variable is set in Slackware in /etc/profile. This is whats in mine from Line 45 to 57 for PS1. (PS stands for prompt statement one)

Code:
# Set a default shell prompt:
#PS1='`hostname`:`pwd`# '
if [ "$SHELL" = "/bin/pdksh" ]; then
 PS1='! $ '
elif [ "$SHELL" = "/bin/ksh" ]; then
 PS1='! ${PWD/#$HOME/~}$ '
elif [ "$SHELL" = "/bin/zsh" ]; then
 PS1='%n@%m:%~%# '
elif [ "$SHELL" = "/bin/ash" ]; then
 PS1='$ '
else
 PS1='\u@\h:\w\$ '
fi
The last line tells what's in the prompt statement.

\u@ is the username
\h: is the hostname
\w is the working directory
\$ is a normal user

Check that and I bet you can solve your problem. That also sets that prompt in all shells in Slackware

Last edited by mlangdn; 08-21-2021 at 02:58 PM.
 
Old 08-21-2021, 03:36 PM   #899
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,834
Blog Entries: 17

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642
Quote:
Originally Posted by Jeebizz View Post
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...

https://forum.kde.org/viewtopic.php?...72349&p=448315
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
 
1 members found this post helpful.
Old 08-21-2021, 03:56 PM   #900
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,188

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Quote:
Originally Posted by ZhaoLin1457 View Post
So, you want user@hostname instead of bash5 ?

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.
 
  


Reply

Tags
desktop, kde, slackware -current, startx



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] slackware 14.2 x86_64 plasma 5 installation. when I run "xwmconfig", "xinitrc.plasma" is not listed as an option? rockinroyle Slackware 9 07-31-2016 03:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration