wok-current annotate lxde/stuff/lxde-session @ rev 13498
Add libaio
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 13 10:52:34 2012 +0200 (2012-10-13) |
parents | |
children | a0428d77add4 |
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@12416 | 8 |
pankso@12416 | 9 # Start DBUS session. |
pankso@12416 | 10 if [ ! "$DBUS_SESSION_BUS_ADDRESS" ]; then |
pankso@12416 | 11 dbus-launch --sh-syntax --exit-with-session & |
pankso@12416 | 12 fi |
pankso@12416 | 13 |
pankso@12416 | 14 # PCmanFM config file. NOTE: will change with new PCmanFM |
pankso@12416 | 15 if [ ! -f "$XDG_CONFIG_HOME/pcmanfm/main.lxde" ]; then |
pankso@12416 | 16 mkdir -p $XDG_CONFIG_HOME/pcmanfm |
pankso@12416 | 17 cp /usr/share/slitaz/lxde/pcmanfm.main \ |
pankso@12416 | 18 $XDG_CONFIG_HOME/pcmanfm/main.lxde |
pankso@12416 | 19 fi |
pankso@12416 | 20 |
pankso@12416 | 21 # Start LXSession. |
pankso@12416 | 22 exec lxsession -s LXDE -e LXDE |