Commit 3a275463 authored by Fabian Vogt's avatar Fabian Vogt

Revert "Remove blocking qtpaths call at boot"

This reverts commit d90c63ac.

The global config path needs to be considered as well for
/etc/xdg/plasma-workspace/env/*.sh
parent b96fb9f8
......@@ -151,11 +151,13 @@ fi
# For anything else (that doesn't set env vars, or that needs a window manager),
# better use the Autostart folder.
scriptpath=$configDir
scriptpath=`qtpaths --locate-dirs GenericConfigLocation plasma-workspace | tr ':' '\n'`
# Add /env/ to the directory to locate the scripts to be sourced
for file in "$scriptpath"/plasma-workspace/env/*.sh; do
for prefix in `echo $scriptpath`; do
for file in "$prefix"/env/*.sh; do
test -r "$file" && . "$file" || true
done
done
# Activate the kde font directories.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment