vstech
Group: Members
Posts: 18
Joined: Oct. 2007 |
|
Posted: Oct. 28 2007,02:48 |
|
I am almost done.. .but I can't get my .xinitrc script to run my script to start the slide show for my digital picture frame project. The script works, when I run it from a shell window, it works fine... just does not seem to want to run from .xinitrc.
Below is the .xinitrc script... I have moved the line that calls the script I want to run,/mnt/hda1/mydsl/scripts/cron_start_frame.sh many different places (before and after the call to start fluxbox), I have put in the full path name, tried running it from the ramdisk home directory, from the hard drive, but the results are the same... no go.
the torsmo command seems to be upset that my laptop battery is dysfunctional, as it gave me an error, so I commented it out..... although I am not sure what that line does.
Any suggestions?
# put X windows programs that you want started here. # Be sure to add at the end of each command the &
KEYTABLE="$(getknoppixparam.lua KEYTABLE)" DESKTOP="$(getoption.lua $HOME/.desktop wm)" ICONS="$(getoption.lua $HOME/.desktop icons)"
umix -lf .umix 2>/dev/null
[ -f .mouse_config ] && sh .mouse_config &
/etc/init.d/dsl-functions
# For non-US Keyboards if [ ${KEYTABLE:0:2} != "us" ]; then xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" & fi if [ "$ICONS" == 1 ]; then for x in `ls -1 .xtdesktop/*.hide 2>/dev/null`; do rm -f ${x%.*}; done iconsnap.lua &>/dev/null & xtdesk.sh fi #if egrep -qv lowram /proc/cmdline 2>/dev/null; then #fi
#torsmo 2 & #>/dev/null & # dillo /usr/share/doc/dsl/getting_started.html &>/dev/null /mnt/hda1/mydsl/scripts/cron_start_frame.sh & # xset s off case $DESKTOP in fluxbox ) fluxter &>/dev/null & wmswallow -geometry 70x80 docked docked.lua & exec fluxbox 2 &>/dev/null ;; jwm ) ./.background sleep 2 exec jwm 2>/dev/null ;; * ) # torsmo 2>/dev/null & exec fluxbox 2 & # >/dev/null ;; esac
|