Skip to content

Commit

Permalink
extensions/kde-neon-6: fix XDG_CONFIG_DIRS
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyaDghosh committed Oct 8, 2024
1 parent 82fa41a commit e119025
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions extensions/desktop/kde-neon-6/launcher-specific
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ append_dir LD_LIBRARY_PATH "$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/blas"
# lapack
append_dir LD_LIBRARY_PATH "$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/lapack"

# 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"

# Add QT_PLUGIN_PATH (Qt Modules).
append_dir QT_PLUGIN_PATH "$SNAP/usr/lib/$ARCH/qt6/plugins"
append_dir QT_PLUGIN_PATH "$SNAP/usr/lib/$ARCH"
Expand Down

0 comments on commit e119025

Please sign in to comment.