Re: [maemo-developers] Launching browser at startup
On Tue, 2006-09-19 at 12:54, ext Kalle Vahlman wrote: ... As you'll want it to run as user not root, you might want to add it to /etc/osso-af-init/ and edit real-af-base-apps to run the script so you'll get the environment setup for free. You can look at the other scripts there for examples. That seems to be the place but that script system sure is package manager unfriendly. Of course. It's not designed (period ;) to be a general user-configurable startup system. I didn't want that feature, because it would have been exploited by our internal developers (people would have added scripts there from all directions and nobody could be responsible of the outcome). But you are free to do as /etc/init.d/maemo-launcher: source /etc/osso-af-init/af-defines.sh and run the program as the 'user' user. BR, Kimmo ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Launching browser at startup
We are developing a Flash application to run on Nokia 770 devices and we would like this application to be launched automatically when the device is switched on. How can we launch opera browser (in fullscreen mode) at startup? We've tried editing .profile and .ashrc but it does not work. Any help would be appreciate. Thank you in advance. Tomàs ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Launching browser at startup
2006/9/18, [EMAIL PROTECTED] [EMAIL PROTECTED]: We are developing a Flash application to run on Nokia 770 devices and we would like this application to be launched automatically when the device is switched on. How can we launch opera browser (in fullscreen mode) at startup? We've tried editing .profile and .ashrc but it does not work. Any help would be appreciate. Thank you in advance. Tomàs The usual (linux/debian) way of startup scripts are in /etc/init.d and then a link to /etc/rc2.d (with name like S99xx). As you'll want it to run as user not root, you might want to add it to /etc/osso-af-init/ and edit real-af-base-apps to run the script so you'll get the environment setup for free. You can look at the other scripts there for examples. -- Kalle Vahlman, [EMAIL PROTECTED] Powered by http://movial.fi Interesting stuff at http://syslog.movial.fi ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Launching browser at startup
On 9/18/06, Kalle Vahlman [EMAIL PROTECTED] wrote: 2006/9/18, [EMAIL PROTECTED] [EMAIL PROTECTED]:We are developing a Flash application to run on Nokia 770 devices and we would like this application to be launched automatically when the device is switched on. How can we launch opera browser (in fullscreen mode) at startup? We've tried editing .profile and .ashrc but it does not work. Any help would be appreciate. Thank you in advance. TomàsThe usual (linux/debian) way of startup scripts are in /etc/init.d andthen a link to /etc/rc2.d (with name like S99xx). Actually, that would be the place to put system-wide daemon/services startup scripts that have no UI. There should be a script in there that runs the desktop manager and within the desktop manager there should be mechanisms in place to start things up in a particular users session so that all the proper environment variables and user contexts are set. The rc startup scripts are a very wrong place to put a command to start up the browsers in a user's desktop. .ashrc is also not entirely proper either as that is the script that is fired when an ash shell is started up to get a virtual terminal, AFAIK. Not something that happens automatically at Maemo desktop startup. As you'll want it to run as user not root, you might want to add it to /etc/osso-af-init/ and edit real-af-base-apps to run the script soyou'll get the environment setup for free. You can look at the otherscripts there for examples.That seems to be the place but that script system sure is package manager unfriendly. Other distros typically have a script that will call any script placed in an /etc/something.d/ directory. That way a .deb (or rpm or whatever) can add or remove their hooks into the main startup sequence without having to parse (and possibly corrupt) the main start script. Are there other mechanisms around like this or maybe some gconf-2 variables that can be poked that act on the session level rather than system level?/Mike ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers