[neon/snap-packaging/snapcraft-desktop-integration] common: desktop-exports: reintroduce the theme fix patch

Soumyadeep Ghosh null at kde.org
Thu Feb 27 13:17:36 GMT 2025


Git commit 27f454046e14f1d11b5d49e2c101c926d73974be by Soumyadeep Ghosh.
Committed on 27/02/2025 at 13:16.
Pushed by scarlettmoore into branch 'master'.

desktop-exports: reintroduce the theme fix patch

M  +4    -0    common/desktop-exports

https://invent.kde.org/neon/snap-packaging/snapcraft-desktop-integration/-/commit/27f454046e14f1d11b5d49e2c101c926d73974be

diff --git a/common/desktop-exports b/common/desktop-exports
index 19ff4bb..8973fe9 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