wok-current annotate lxde/stuff/lxde-session @ rev 24547
updated findutils (4.7.0 -> 4.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 07:40:37 2022 +0100 (2022-02-25) |
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 |