wok-6.x view lxde/stuff/lxde-session @ rev 14545

firefox-langpack-pt_PT: Up to 17.0.6esr
author Dominique Corbex <domcox@slitaz.org>
date Wed May 22 21:57:02 2013 +0200 (2013-05-22)
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