diff --git a/usr/bin/startlubuntu b/usr/bin/startlubuntu index d16582c..f581b97 100644 --- a/usr/bin/startlubuntu +++ b/usr/bin/startlubuntu @@ -5,6 +5,7 @@ if [ -z "$XDG_CONFIG_HOME" ]; then fi #Allow custom configuration files in /etc/xdg/lubuntu +#Patch stolen from Xubuntu if test "x$XDG_CONFIG_DIRS" = "x" then XDG_CONFIG_DIRS="/etc/xdg/lubuntu:/etc/xdg" @@ -13,6 +14,14 @@ else fi export XDG_CONFIG_DIRS +if test "x$XDG_DATA_DIRS" = "x" +then + XDG_DATA_DIRS="/etc/xdg/lubuntu:/usr/local/share:/usr/share:/usr/share" + else + XDG_DATA_DIRS="/etc/xdg/lubuntu:$XDG_DATA_DIRS:/usr/share" +fi +export XDG_DATA_DIRS + # Ensure the existance of pcmanfm config file PCMANFM_CONF_DIR="$XDG_CONFIG_HOME/pcmanfm" if [ ! -f "$PCMANFM_CONF_DIR/main.lubuntu" ]; then