wok-6.x annotate lxde/stuff/lxde-session @ rev 18817

Add python-pyte
author Paul Issott <paul@slitaz.org>
date Sat Jan 16 09:15:31 2016 +0000 (2016-01-16)
parents 1df511897a9c
children
rev   line source
pankso@12416 1 #!/bin/sh
pankso@12416 2 #
pankso@12416 3 # Start LXDE on SliTaz. We start dbus, make sure config files exist
pankso@12416 4 # and then start lxsession.
pankso@12416 5 #
pankso@12416 6
pankso@12416 7 export XDG_CONFIG_HOME="$HOME/.config"
pankso@16766 8 export XDG_MENU_PREFIX="lxde-"
pankso@12416 9
pankso@12416 10 # Start DBUS session.
pankso@12416 11 if [ ! "$DBUS_SESSION_BUS_ADDRESS" ]; then
pankso@12416 12 dbus-launch --sh-syntax --exit-with-session &
pankso@12416 13 fi
pankso@12416 14
pankso@12416 15 # PCmanFM config file. NOTE: will change with new PCmanFM
pankso@12416 16 if [ ! -f "$XDG_CONFIG_HOME/pcmanfm/main.lxde" ]; then
pankso@12416 17 mkdir -p $XDG_CONFIG_HOME/pcmanfm
pankso@12416 18 cp /usr/share/slitaz/lxde/pcmanfm.main \
pankso@12416 19 $XDG_CONFIG_HOME/pcmanfm/main.lxde
pankso@12416 20 fi
pankso@12416 21
pankso@12416 22 # Start LXSession.
pankso@12416 23 exec lxsession -s LXDE -e LXDE