[tuxdroid-user] TuxDroid FIX for Email / Clock GUI - and init.d Daemon start/stop
Status: Beta
Brought to you by:
ks156
From: xAD <xa...@xb...> - 2007-04-17 23:42:30
|
Hi all, I'm David , i have received today the TuxDroid .. i'm a developer and i love it ;-D My photo of the tux: http://www.tuxisalive.com/author/xad this is a fix for email and clock gui , both apps crash (on_bt_cancel_clicked and window1_destroy) if used with the latest SVN code (tuxdaemon) fix for both : cut out: tux.disconnect_from_daemon() and paste: tux.destroy() - this is a easy script for run tuxTTSdaemon and TuxDaemon via /etc/init.d/ (Debian) TUXTTSDAEMON: #! /bin/sh DAEMON=/usr/local/bin/tuxttsdaemon NAME=tttsdaemon DESC="TuxDroid TTS Daemon" . /lib/lsb/init-functions test -x $DAEMON || exit 0 case "$1" in start) $DAEMON -d ;; stop) killproc $DAEMON ;; reload|force-reload|restart) killproc $DAEMON sleep 1 $DAEMON -d ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start|stop|restart|reload| force-reload}" >&2 retval=2 ;; esac exit $retval TUXDAEMON: #! /bin/sh DAEMON=/usr/local/bin/tuxdaemon NAME=tdaemon DESC="TuxDroid Daemon" . /lib/lsb/init-functions test -x $DAEMON || exit 0 case "$1" in start) $DAEMON -d ;; stop) killall -q -9 $DAEMON ;; reload|force-reload|restart) killall -q -9 $DAEMON sleep 1 $DAEMON -d ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start|stop|restart|reload| force-reload}" >&2 retval=2 ;; esac exit $retval |