wok-current view lxde/stuff/lxde-session @ rev 23184
updated mobile-broadband-provider-info (20190116 -> 20190618)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 19 17:17:33 2020 +0100 (2020-03-19) |
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