LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Puppy (https://www.linuxquestions.org/questions/puppy-71/)
-   -   starting an application automaticly on powerup (https://www.linuxquestions.org/questions/puppy-71/starting-an-application-automaticly-on-powerup-515484/)

flyereddie 01-01-2007 11:15 PM

starting an application automaticly on powerup
 
Hi all
I'm pretty new to linux i have a need to start internet explorer6 using wine on a small dedicated system .I have ie6 running well but would like it to start when the machine is powered up ( no user input) any ideas. I also plan to load an old machine for my mother-inlaw who is having fun typing her diaries into an old laptop, the laptop screen is getting a bit small for her and i am about to set up an old desktop machine for her but it would be nice if it started into her text editor the same way her win3.2 machine dose . All help most appreciated and by the way HAPPY NEW YEAR to ALL

j-ray 01-02-2007 04:19 AM

you could put a short shell script into
/etc/init.d/rc5.d
that starts wine and other apps

flyereddie 01-04-2007 03:51 PM

not altogether sucessfull
 
thanks for the help but it didnt work out quiet that easy !I am running pizza pup so i modified rc.local in /etc/rc.d ,I dont have an /ect/int.d directory. This tries to run wine before the x display is fully up and running i think so it bombs out with errors i need to start wine after everything else is loaded . Any ideas thanks

marksouth2000 01-05-2007 01:08 PM

To j-ray: Puppy is not ubuntu or suse, nor is it related to either.

To flyereddie: rc.local should work, but you should make sure that wine is started right at the end. ISTR that rc.local0 is sourced at the end of rc.local. Use a "sleep 20" or something to make sure X has time to start before wine comes up.

flyereddie 01-13-2007 04:00 AM

stil not quite there yet
 
hi guys
thanks for your input but it still seems wine is starting before x gets up and runs, i put a sleep 20 into the script and if i run it in x it all seems to go fine but on startup wine kicks in straight off before the x display
thanks


All times are GMT -5. The time now is 06:46 PM.