wok annotate lxde/stuff/lxde-session @ rev 16097

ARM: add links (at least we have a GUI browser)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 16 21:54:03 2014 +0100 (2014-03-16)
parents
children a0428d77add4
rev   line source
pankso@12416 1 #!/bin/sh
pankso@12416 2 #
pankso@12416 3 # Start LXDE on SliTaz. We start dbus, make sure config files exist
pankso@12416 4 # and then start lxsession.
pankso@12416 5 #
pankso@12416 6
pankso@12416 7 export XDG_CONFIG_HOME="$HOME/.config"
pankso@12416 8
pankso@12416 9 # Start DBUS session.
pankso@12416 10 if [ ! "$DBUS_SESSION_BUS_ADDRESS" ]; then
pankso@12416 11 dbus-launch --sh-syntax --exit-with-session &
pankso@12416 12 fi
pankso@12416 13
pankso@12416 14 # PCmanFM config file. NOTE: will change with new PCmanFM
pankso@12416 15 if [ ! -f "$XDG_CONFIG_HOME/pcmanfm/main.lxde" ]; then
pankso@12416 16 mkdir -p $XDG_CONFIG_HOME/pcmanfm
pankso@12416 17 cp /usr/share/slitaz/lxde/pcmanfm.main \
pankso@12416 18 $XDG_CONFIG_HOME/pcmanfm/main.lxde
pankso@12416 19 fi
pankso@12416 20
pankso@12416 21 # Start LXSession.
pankso@12416 22 exec lxsession -s LXDE -e LXDE