wok-current view lxde/stuff/lxde-session @ rev 23239
updated nitrogen (1.5.2 -> 1.6.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 25 08:54:53 2020 +0100 (2020-03-25) |
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