wok-current view lxde/stuff/lxde-session @ rev 17572
Fix: harfbuzz
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Feb 07 20:40:29 2015 +0000 (2015-02-07) |
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