sts view sts-session @ rev 3

Add a small wallpaper
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 26 22:08:27 2014 +0200 (2014-04-26)
parents
children 57eaff95ad15
line source
1 #!/bin/sh
2 #
3 # Start SliTaz Tiny/Touch Screens desktop session
4 #
6 export STS_DESKTOP_WM="openbox"
7 export XDG_CACHE_HOME="$HOME/.cache"
8 export XDG_CONFIG_HOME="$HOME/.config"
9 export XDG_DATA_HOME="$HOME/.local/share"
11 data="/usr/share/slitaz/sts"
12 obconf="${XDG_CONFIG_HOME}/openbox"
14 # Ob sts-rc.xml
15 if [ ! -f "${XDG_CONFIG_HOME}/openbox/sts-rc.xml" ]; then
16 mkdir -p ${obconf}
17 cp ${data}/openbox/sts-rc.xml ${obconf}
18 fi
20 # Ob sts-autostart
21 if [ ! -x "${XDG_CONFIG_HOME}/openbox/sts-autostart" ]; then
22 cp ${data}/openbox/sts-autostart ${obconf}
23 fi
25 # LXpanel configs
26 if [ ! -d "${XDG_CONFIG_HOME}/openbox/lxpanel/sts" ]; then
27 cp -rf ${data}/lxpanel ${XDG_CONFIG_HOME}
28 fi
30 # Start Openbox
31 exec openbox --config-file ${obconf}/sts-rc.xml \
32 --startup ${obconf}/sts-autostart