summaryrefslogtreecommitdiffstats
path: root/starttde
diff options
context:
space:
mode:
authorBernhard Reiter <bernhard@intevation.de>2025-09-30 17:48:13 +0200
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-10-03 12:51:58 +0900
commitcea9fcba158a092c2fc9b621152754a8ef712254 (patch)
treefab75c7882fca2de43dcf8c9e8fc249918d55886 /starttde
parent981802ad7bedd8f5ff29bfaa8460989291315048 (diff)
downloadtdebase-cea9fcba.tar.gz
tdebase-cea9fcba.zip
add minor diagnostics to starttde
.. to see which XDG_CONFIG_DIRS are set by the script. This is interesting on platform which use this environment varialble to find the desktop files from the trinity installation. See https://mirror.git.trinitydesktop.org/gitea/TDE/tde/issues/232 for a use case where this kind of output is useful. Signed-off-by: Bernhard Reiter <bernhard@intevation.de> (cherry picked from commit a84397aebb34c846cda46dcefe8c381085c73312)
Diffstat (limited to 'starttde')
-rwxr-xr-xstarttde2
1 files changed, 2 insertions, 0 deletions
diff --git a/starttde b/starttde
index 66360e228..0c745a548 100755
--- a/starttde
+++ b/starttde
@@ -279,6 +279,8 @@ if [ "$XDG_CONFIG_DIRS" != "" ]; then
export XDG_CONFIG_DIRS
fi
+echo "[starttde] XDG_CONFIG_DIRS: $XDG_CONFIG_DIRS" 1>&2
+
# Explicitly set $XDG_DATA_DIRS only when Trinity is not installed in /usr.
# Explicitly declaring $XDG_DATA_DIRS will override the default search path of /usr/share.
# Explicitly declaring $XDG_DATA_DIRS will override $TDEDIRS, which must then be