wok view openbox/stuff/openbox/autostart.sh @ rev 469

SliTaz theme for Openbox and improved default menu
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 20 23:05:10 2008 +0100 (2008-03-20)
parents 91f7f2145552
children 1d89cf2a8bf1
line source
1 # This shell script is run before Openbox launches.
2 # Environment variables set here are passed to the Openbox session.
4 BG=/usr/share/images/slitaz-background.png
5 #BG=$HOME/Images/background.png
7 # Set a background color usin hsetroot (depends on imlib2) or xsetroot.
8 if which hsetroot >/dev/null; then
9 hsetroot -fill $BG &
10 else
11 if which xsetroot >/dev/null; then
12 xsetroot -solid "#222222" &
13 fi
14 fi
16 # Login sound.
17 #if which alsaplayer >/dev/null; then
18 # alsaplayer -i text /usr/share/sounds/login.ogg &
19 #fi
21 # Start the panel.
22 if which lxpanel >/dev/null; then
23 lxpanel --profile openbox &
24 fi