--- lxde-common-0.5.6/startlxde.in~ 2014-09-01 16:17:11.000000000 +0200 +++ lxde-common-0.5.6/startlxde.in 2014-09-29 17:35:26.428089859 +0200 @@ -18,6 +18,17 @@ cp @sysconfdir@/xdg/openbox/LXDE/rc.xml "$OPENBOX_CONF_DIR/lxde-rc.xml" fi +# Ensure the existance of lxpanel config file +LXPANEL_CONF_DIR="$XDG_CONFIG_HOME/lxpanel/LXDE" +if [ ! -f "$LXPANEL_CONF_DIR/config" ]; then + mkdir -p "$LXPANEL_CONF_DIR" + cp @sysconfdir@/xdg/lxpanel/LXDE/config "$LXPANEL_CONF_DIR/config" +fi +if [ ! -f "$LXPANEL_CONF_DIR/panels/panel" ]; then + mkdir -p "$LXPANEL_CONF_DIR/panels" + cp @sysconfdir@/xdg/lxpanel/LXDE/panels/panel "$LXPANEL_CONF_DIR/panels/panel" +fi + # Ensure the existance of the 'Desktop' folder if [ -e "$XDG_CONFIG_HOME/user-dirs.dirs" ]; then . "$XDG_CONFIG_HOME/user-dirs.dirs"