wok-6.x view lxde/stuff/lxde-session @ rev 15665
network-manager: add bdep, move *.la to dev
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Dec 13 00:29:00 2013 +0000 (2013-12-13) |
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