From a84397aebb34c846cda46dcefe8c381085c73312 Mon Sep 17 00:00:00 2001 From: Bernhard Reiter Date: Tue, 30 Sep 2025 17:48:13 +0200 Subject: [PATCH] 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 --- starttde | 2 ++ 1 file changed, 2 insertions(+) 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