[neon/snap-packaging/snapcraft-desktop-integration/work.core24] common: bring in xdg fix
Scarlett Moore
null at kde.org
Mon Apr 7 09:49:45 BST 2025
Git commit 1d5f2e145de927919879b50235f915108ef141db by Scarlett Moore.
Committed on 07/04/2025 at 08:49.
Pushed by scarlettmoore into branch 'work.core24'.
bring in xdg fix
M +4 -0 common/desktop-exports
https://invent.kde.org/neon/snap-packaging/snapcraft-desktop-integration/-/commit/1d5f2e145de927919879b50235f915108ef141db
diff --git a/common/desktop-exports b/common/desktop-exports
index ad1e179..f8a3ef8 100644
--- a/common/desktop-exports
+++ b/common/desktop-exports
@@ -140,6 +140,10 @@ export GST_PLUGIN_SYSTEM_PATH="$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/gstreamer-1.0
export GST_PLUGIN_SCANNER="$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner"
# XDG Config
+# KConfig uses QStandardPaths:GenericConfigLocation to get the config dir paths
+# and checks for the kdeglobals file there for theming. The kdeglobals file is
+# stored in $SNAP_REAL_HOME/.config folder.
+prepend_dir XDG_CONFIG_DIRS "$SNAP_REAL_HOME/.config"
prepend_dir XDG_CONFIG_DIRS "$SNAP_DESKTOP_RUNTIME/etc/xdg"
prepend_dir XDG_CONFIG_DIRS "$SNAP/etc/xdg"
More information about the Neon-commits
mailing list