--- lxde-common-0.99.2/startlxde.in~ 2016-11-21 23:47:05.000000000 +0100 +++ lxde-common-0.99.2/startlxde.in 2016-11-22 09:34:27.830372625 +0100 @@ -4,6 +4,13 @@ export XDG_DATA_HOME="$HOME/.local/share" fi +# Ensure the existance of pcmanfm config file +PCMANFM_CONF_DIR="$XDG_CONFIG_HOME/pcmanfm/LXDE" +if [ ! -f "$PCMANFM_CONF_DIR/pcmanfm.conf" ]; then + mkdir -p "$PCMANFM_CONF_DIR" + cp @sysconfdir@/xdg/pcmanfm/LXDE/pcmanfm.conf "$PCMANFM_CONF_DIR/pcmanfm.conf" +fi + # Ensure the existance of openbox config file OPENBOX_CONF_DIR="$XDG_CONFIG_HOME/openbox" if [ ! -f "$OPENBOX_CONF_DIR/lxde-rc.xml" ]; then