wok view lxde/stuff/lxde-session @ rev 16562
Ad Potamus audio player (may replace unmaintanied Alsaplayer)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 01 11:03:42 2014 +0200 (2014-05-01) |
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