10/22/2012, 12:02 PM
EDIT: Added a bad quality vid showing the widget/app startup after a reboot.
This is probably a horrible dirty way to auto start an app on bootup, currently i use this with Garrets 1st Weather Widget, not his second one as that requires pressing a button to launch the widget.
Im aware "proper" apps do this sort or thing another way? the wallpaper switching apps etc seem to manage it without doing it this way which is probably safer?
just edit /etc/palm/luna-platform
amend the [LaunchAtBoot] and add in the app name of the app you wish to install, so mine reads
i removed a phone related entry as im not using or requiring that function atm, no idea if it even makes a difference.
Ive tried the above changes then removing the app, leaving the app name in the luna-platform config, the deleted app with the leftover entry didnt crash or blow anything up, and re-installing the app makes it auto-launch every boot seemingly without any issues, and ive had this going for quite a while now.
the old weather app, opened a window and required you to discard it to get the widget in the dashboard, this way on bootup, the window seems to not appear at all which is ideal.
If there are other clever boffins out there, then im guessing 1 obvious thing would be a proper app to launch other apps/widgets/etc thus not cluttering up the luna-platform file, another would be for apps to auto-dashboard when launched, who knows tbh.
I know of a few apps that already goto dash when their main windows/cards are tossed away, is it a simple or stupidly dumb idea to add a command somewhere to have a card auto dismiss so they are forced to dashboard (if the app supports that in the first place ofc, like datajog/mplayer remix etc).