I have in .xinitrc.d
#!/bin/sh --login
/bin/date >> ~/log &
echo $program >> ~/log
test -r /sw/bin/init.sh && . /sw/bin/init.sh
echo $PATH >> ~/log
/sw/bin/dbus-daemon --nofork --session
esd
x=`(cat ~/program)`
echo $x >> ~/log
case $x
in
blackbox) say "blackbox"
/sw/bin/buici-clock --geometry 100x100-700+400 &
xterm -bg yellow &
/sw/bin/gkrellm --geometry 100x664+1-1 &
exec /sw/bin/blackbox
;;
ctwm) test -r /sw/bin/ctwm && exec /sw/bin/ctwm
;;
fluxbox) say "flux box" &
/sw/bin/buici-clock --geometry 100x100-700+400 &
xterm -bg yellow &
/sw/bin/gkrellm --geometry 100X664+1-1 &
test -r /sw/bin/startfluxbox && exec /sw/bin/startfluxbox
;;
gnome) say "gnome"
/sw/bin/buici-clock --geometry 100x100-700+400 &
quartx-wm &
metacity --replace &
exec /sw/bin/gnome-session
;;
icewm) [ -x ~/.icewm/restart ] && source ~/.icewm/restart
test -r /sw/bin/icewm-session && exec /sw/bin/icewm-session
;;
kde3) say "KDE3"
/sw/bin/buici-clock --geometry 100x100-700+400 &
test -r /sw/bin/startkde && /sw/bin/startkde
;;
kde4) test -r /sw/opt/kde4/X11/bin/startkde &&
/sw/opt/kde4/X11/bin/startkde
;;
wmaker) export G_FILENAME_ENCODING=@locale
test -r /sw/bin/wmaker && exec /sw/bin/wmaker
;;
xfce4) quartz-wm --only-proxy &
test -r /sw/bin/xfce4-session && exec /sw/bin/xfce4-session
;;
pwm) test -r /sw/bin/pwm && exec /sw/bin/pwm
;;
dwm) /sw/bin/dmenu &
test -r /sw/bin/dwm && exec /sw/bin/dwm
;;
evilwm) test -r /sw/bin/evilwm && exec /sw/bin/evilwm
;;
ratpoison) test -r /sw/bin/ratpoison && exec /sw/bin/ratpoison
;;
openbox) /sw/bin/gnome-terminal &
test -r /sw/bin/openbox && exec /sw/bin/openbox
;;
ion3) test -r /sw/bin/ion3 && exec /sw/bin/ion3
;;
jwm) /sw/bin/buici-clock --geometry 100x100-700+400 &
xsetroot -solid Blue &
xterm -bg yellow &
test -r /sw/bin/jwm && exec /sw/bin/jwm
;;
echinus) test -r /sw/bin/echinus && exec /sw/bin/echinus
;;
oroborus) /sw/bin/dmenu &
test -r /sw/bin/oroborus && exec /sw/bin/oroborus
;;
musca) dmenu &
test -r /sw/bin/musca && exec /sw/bin/musca
;;
amiwm) test -r /sw/bin/amiwm && exec /sw/bin/amiwm
;;
esac
Richard Miles
[email protected]
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users