wok-current view lxde/stuff/lxde-session @ rev 15488
Up: firefox-dev (17.0.10esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 17 16:28:53 2013 +0100 (2013-11-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