分类: BSD
2012-03-11 18:25:08
http://kimux.blogbus.com/logs/36592371.html
.config/openbox/autostart.sh
# This shell script is run before Openbox launches.
# Environment variables set here are passed to the Openbox session.
# D-bus
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi
# Run XDG autostart things. By default don't run anything desktop-specific
# See xdg-autostart --help more info
#DESKTOP_ENV=""
#if which /usr/lib64/openbox/xdg-autostart >/dev/null; then
# /usr/lib64/openbox/xdg-autostart $DESKTOP_ENV
#fi
#xcompmgr -cCfF -t-5 -l-5 -r4 -o.55 &
#xcompmgr -cC -t-3 -l-5 -r5 -I0.02 -O0.03 -D4 -fF &
xcompmgr -cCfF -r7 -o.60 -l-10 -t-8 -D7 & # shadows and fades
#set wallpaper
eval `cat ~/.fehbg` &
# URxvt server
if which urxvtd > /dev/null; then
urxvtd -o -q -f&
fi
#set the tint2
if which tint2 > /dev/null; then
tint2 &
fi
# set the fcitx
if which fcitx > /dev/null; then
(sleep 2 && fcitx) &
fi
.config/openbox/menu.conf
gvim ~/.fonts.conf
gtk-chtheme
gksu gvim /boot/grub/menu.lst
gvim ~/.Xmodmap
urxvtc -e xev
gksu gvim /etc/slim.conf
gvim ~/.xinitrc
gvim ~/.Xresources
gksu gvim /etc/X11/xorg.conf
gksu gvim /etc/X11/xinit/xinitrc
gksu '/sbin/shutdown -r now'
gksu '/sbin/shutdown -h now'
xtrlock
.config/openbox/rc.xml
&nbs