Bug 352129 - Start up fails with ~/.zprofile running eval $(dircolors ~/.dir_colors)
Summary: Start up fails with ~/.zprofile running eval $(dircolors ~/.dir_colors)
Status: RESOLVED WORKSFORME
Alias: None
Product: ksmserver
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR grave
Target Milestone: ---
Assignee: Lubos Lunak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-01 21:02 UTC by Andrea Scarpino
Modified: 2019-11-14 04:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Scarpino 2015-09-01 21:02:12 UTC
I don't know if there's something wrong with my ~/.*profile configuration I use since years, but this only happened after the update to either KDE Frameworks 5.13.0 or Plasma 5.4.

The problem only occurs if I've a ~/.zprofile sourcing ~/.profile.

Reproducible: Always

Steps to Reproduce:
1. Use ZSH as shell
2. Add a ~/.zprofile which sources ~/.profile:
if [[ -r ~/.profile ]]; then
  emulate sh -c 'source ~/.profile'
fi
3. Try to login

Actual Results:  
Plasma login takes several minutes and after that time *only* KWin is started. You get a black background and the mouse cursor.

Expected Results:  
Plasma shows up successful.

KDE Frameworks 5.13.0
Plasma 5.4.0
Comment 1 Andrea Scarpino 2015-09-02 17:32:47 UTC
The command that brokes it is: eval $(dircolors ~/.dir_colors)

I moved that code to ~/.zshrc instead and everything works, but if I move it back to ~/.zprofile plasma breaks.
Comment 2 David Edmundson 2019-10-15 11:44:02 UTC
Is this still an issue? Especially with Plasma 5.17 with the startkde rewrite?
Comment 3 Bug Janitor Service 2019-10-30 04:33:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2019-11-14 04:33:10 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!