wok-current view lxde/stuff/lxde-session @ rev 18987
Additional themes for Slitaz GNU/Linux.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Thu Mar 17 05:14:19 2016 -0300 (2016-03-17) |
parents | 1df511897a9c |
children |
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"
8 export XDG_MENU_PREFIX="lxde-"
10 # Start DBUS session.
11 if [ ! "$DBUS_SESSION_BUS_ADDRESS" ]; then
12 dbus-launch --sh-syntax --exit-with-session &
13 fi
15 # PCmanFM config file. NOTE: will change with new PCmanFM
16 if [ ! -f "$XDG_CONFIG_HOME/pcmanfm/main.lxde" ]; then
17 mkdir -p $XDG_CONFIG_HOME/pcmanfm
18 cp /usr/share/slitaz/lxde/pcmanfm.main \
19 $XDG_CONFIG_HOME/pcmanfm/main.lxde
20 fi
22 # Start LXSession.
23 exec lxsession -s LXDE -e LXDE