wok-current annotate lxde/stuff/lxde-session @ rev 24145

ventoy: set arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 17 10:14:59 2021 +0000 (2021-11-17)
parents 1df511897a9c
children
rev   line source
pankso@12416 1 #!/bin/sh
pankso@12416 2 #
pankso@12416 3 # Start LXDE on SliTaz. We start dbus, make sure config files exist
pankso@12416 4 # and then start lxsession.
pankso@12416 5 #
pankso@12416 6
pankso@12416 7 export XDG_CONFIG_HOME="$HOME/.config"
pankso@16766 8 export XDG_MENU_PREFIX="lxde-"
pankso@12416 9
pankso@12416 10 # Start DBUS session.
pankso@12416 11 if [ ! "$DBUS_SESSION_BUS_ADDRESS" ]; then
pankso@12416 12 dbus-launch --sh-syntax --exit-with-session &
pankso@12416 13 fi
pankso@12416 14
pankso@12416 15 # PCmanFM config file. NOTE: will change with new PCmanFM
pankso@12416 16 if [ ! -f "$XDG_CONFIG_HOME/pcmanfm/main.lxde" ]; then
pankso@12416 17 mkdir -p $XDG_CONFIG_HOME/pcmanfm
pankso@12416 18 cp /usr/share/slitaz/lxde/pcmanfm.main \
pankso@12416 19 $XDG_CONFIG_HOME/pcmanfm/main.lxde
pankso@12416 20 fi
pankso@12416 21
pankso@12416 22 # Start LXSession.
pankso@12416 23 exec lxsession -s LXDE -e LXDE