Summary: | KDE should execute scripts in .kde/env only if they have the executable permission set | ||
---|---|---|---|
Product: | [I don't know] kde | Reporter: | Alvaro Manuel Recio Perez <amrecio> |
Component: | general | Assignee: | Unassigned bugs <unassigned-bugs-null> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | adaptee |
Priority: | NOR | ||
Version First Reported In: | 4.6 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Alvaro Manuel Recio Perez
2011-01-29 15:22:39 UTC
I think you misunderstood the purpose of those files under ~/.kde4/env. They are used for setting up extra environment variables for your KDE session. So they will and have to be *sourced*, not *executed*, by /usr/bin/startkde. The detail is listed below : libpath=`kde4-config --path lib | tr : '\n'`$(echo -e '\n/etc/kde/lib/') for prefix in `echo "$libpath" | sed -n -e 's,/lib[^/]*/,/env/,p'`; do for file in "$prefix"*.sh; do test -r "$file" && . "$file" done done So only read permission matters, and execution permission does not make difference. Yes, you're right, I mixed up the concepts. Sorry. |