wok-next view lxde/stuff/lxde-session @ rev 14006

get-wifi-firmware, phpvirtualbox: fix chroot in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 17 18:16:25 2013 +0100 (2013-02-17)
parents
children a0428d77add4
line source
1 #!/bin/sh
2 #
3 # Start LXDE on SliTaz. We start dbus, make sure config files exist
4 # and then start lxsession.
5 #
7 export XDG_CONFIG_HOME="$HOME/.config"
9 # Start DBUS session.
10 if [ ! "$DBUS_SESSION_BUS_ADDRESS" ]; then
11 dbus-launch --sh-syntax --exit-with-session &
12 fi
14 # PCmanFM config file. NOTE: will change with new PCmanFM
15 if [ ! -f "$XDG_CONFIG_HOME/pcmanfm/main.lxde" ]; then
16 mkdir -p $XDG_CONFIG_HOME/pcmanfm
17 cp /usr/share/slitaz/lxde/pcmanfm.main \
18 $XDG_CONFIG_HOME/pcmanfm/main.lxde
19 fi
21 # Start LXSession.
22 exec lxsession -s LXDE -e LXDE