Remove openbox menu generator from the menu.xml.
[lxde/lxde-common.git] / startlxde.in
CommitLineData
2c453b37 1#!/bin/sh
9b8d9fdb 2
16d76acb 3if [ -z "$XDG_CONFIG_HOME" ]; then
dcccc368 4 export XDG_CONFIG_HOME="$HOME/.config"
16d76acb
HJYP
5fi
6
7# Ensure the existance of pcmanfm config file
8PCMANFM_CONF_DIR="$XDG_CONFIG_HOME/pcmanfm"
9if [ ! -f "$PCMANFM_CONF_DIR/main.lxde" ]; then
10 mkdir -p "$PCMANFM_CONF_DIR"
11 cp @prefix@/share/lxde/pcmanfm/main.lxde "$PCMANFM_CONF_DIR/main.lxde"
12fi
9b8d9fdb
HJYP
13
14# Ensure the existance of openbox config file
16d76acb 15OPENBOX_CONF_DIR="$XDG_CONFIG_HOME/openbox"
9b8d9fdb 16if [ ! -f "$OPENBOX_CONF_DIR/lxde-rc.xml" ]; then
16d76acb
HJYP
17 mkdir -p "$OPENBOX_CONF_DIR"
18 cp @prefix@/share/lxde/openbox/rc.xml "$OPENBOX_CONF_DIR/lxde-rc.xml"
9b8d9fdb
HJYP
19fi
20
16d76acb 21# Start the LXDE session
2c453b37 22exec @prefix@/bin/lxsession -s LXDE