Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37761248
en ru br
ALT Linux repos
S:0.99.2-alt7.1
5.0: 0.3.2.1-alt2

Group :: Graphical desktop/Other
RPM: lxde-common

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: lxde-common-XDG_DATA_DIRS.patch
Download


diff --git a/startlxde.in b/startlxde.in
index fd20816..692965c 100755
--- a/startlxde.in
+++ b/startlxde.in
@@ -41,6 +41,16 @@ if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
 fi
 
 export XDG_MENU_PREFIX="lxde-"
+
+# Since shared-mime-info-0.90-alt3 XDG_DATA_DIRS not exported. We need to define
+# the set of base directories explicitly.
+if [ -n "$XDG_DATA_DIRS" ]; then
+	XDG_DATA_DIRS="/usr/share/lxde:$XDG_DATA_DIRS"
+else
+	XDG_DATA_DIRS="/usr/share/lxde:/usr/share:/usr/local/share"
+fi
+export XDG_DATA_DIRS
+
 export XDG_CURRENT_DESKTOP="LXDE"
 
 # Start the LXDE session
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin