wok view lxde/stuff/lxde-session @ rev 25041

Up fatattr (1.0.1), puzzles (20220128)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 27 17:15:46 2022 +0000 (2022-05-27)
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