wok-current diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lxde/stuff/lxde-session Sat Oct 13 10:52:34 2012 +0200 1.3 @@ -0,0 +1,22 @@ 1.4 +#!/bin/sh 1.5 +# 1.6 +# Start LXDE on SliTaz. We start dbus, make sure config files exist 1.7 +# and then start lxsession. 1.8 +# 1.9 + 1.10 +export XDG_CONFIG_HOME="$HOME/.config" 1.11 + 1.12 +# Start DBUS session. 1.13 +if [ ! "$DBUS_SESSION_BUS_ADDRESS" ]; then 1.14 + dbus-launch --sh-syntax --exit-with-session & 1.15 +fi 1.16 + 1.17 +# PCmanFM config file. NOTE: will change with new PCmanFM 1.18 +if [ ! -f "$XDG_CONFIG_HOME/pcmanfm/main.lxde" ]; then 1.19 + mkdir -p $XDG_CONFIG_HOME/pcmanfm 1.20 + cp /usr/share/slitaz/lxde/pcmanfm.main \ 1.21 + $XDG_CONFIG_HOME/pcmanfm/main.lxde 1.22 +fi 1.23 + 1.24 +# Start LXSession. 1.25 +exec lxsession -s LXDE -e LXDE