Ticker bugfix sets AppRun so ROXapp works

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

Ticker bugfix sets AppRun so ROXapp works

#1 Post by GuestToo »

Ticker bugfix ... alpha 2

i changed AppRun so the roxapp works if you click it
i changed ticker and ticker2 so they execute the roxapp using rox (as if you clicked it)

i found the ticker scripts did not work well on my machine (adsl internet connection)

i changed the scripts from something like:

wget &
exec ticker.app &

to something like:

rm -f $OUTPUT
ticker.app &
sleep 1
wget

this seems to work with my machine
i don't know how well it would work with dialup
Attachments
ticker-bugfix.pup
Ticker bugfix ... alpha 2
(3.4 KiB) Downloaded 323 times
Last edited by GuestToo on Mon 03 Oct 2005, 10:18, edited 2 times in total.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#2 Post by Lobster »

no reboot - using Chubby 105 - now getting news - thanks as always G2 :)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
puppian
Posts: 537
Joined: Tue 19 Jul 2005, 03:58
Location: PuppyLand
Contact:

#3 Post by puppian »

The above bug-fix won't work well for dial-up users.

It should be like this instead:

ticker.app &
wget

Or,

ticker.app &
sleep 1
wget

Details see this post

And thanks G2 :)
[url=http://puppylinux.org]Puppylinux.org - Community home page of Puppy Linux[/url] hosted by Barry (creator of Puppy), created and maintained by the [url=http://puppylinux.org/user/readarticle.php?article_id=8]Puppy Linux Foundation[/url] since 2005

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#4 Post by GuestToo »

i uploaded version 2 of my ticker bugfix (first post in this thread)

i changed the scripts so they work like this:

rm -f $OUTPUT
ticker.app &
sleep 1
wget

i don't know if rm -f $OUTPUT is a good idea or not
i thought it would ensure that the ticker shows the latest news

sleep 1 is probably unecessary, but it might be safer

AppRun is the same as the alpha 1 version
it checks if it is already running, and does not run if it is
it creates /root/.ticker if it does not exist

Post Reply