Bug 321785 - startkde: Also source scripts in /etc/kde/env and /etc/kde/shutdown
Summary: startkde: Also source scripts in /etc/kde/env and /etc/kde/shutdown
Status: RESOLVED FIXED
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-30 10:40 UTC by Heiko Becker
Modified: 2018-11-10 09:17 UTC (History)
0 users

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


Attachments
allows startkde to also search in /etc/kde/env and /etc/kde/shutdown (1.27 KB, patch)
2013-06-30 10:40 UTC, Heiko Becker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Becker 2013-06-30 10:40:00 UTC
Currently the startkde script is looking for scripts in $PREFIX/env/ and $KDEHOME/env.  The former location is odd, especially considering that it isn't obvious KDE could use something in there. No other package installs something to /usr/env/, at least on my system. Furthermore it violates the FHS in my opinion.

FHS 4.1:
"/usr is the second major section of the filesystem. /usr is shareable, read-only data. That means that /usr should be shareable between various FHS-compliant hosts and must not be written to. Any information that is host-specific or varies with time is stored elsewhere."

The attached, exemplary patch also allows searching in /etc/kde/env  (and /etc/kde/shutdown for shutdown scripts).

Reproducible: Always
Comment 1 Heiko Becker 2013-06-30 10:40:51 UTC
Created attachment 80861 [details]
allows startkde to also search in /etc/kde/env and /etc/kde/shutdown
Comment 2 Andrew Crouthamel 2018-11-10 03:15:40 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Heiko Becker 2018-11-10 09:17:34 UTC
I think this was solved when Plasma switched to Qt5.