There are a few applications I would like to start automatically when the computer boots into linux... is there a configuration file that can be modified to load programs at startup ? and what exactly do I do ?
Monkey server is one of the programs I would like to see loaded automatically...
/usr/local/apps/Monkey
Tommy
How to load programs automatically at startup?
How to load programs automatically at startup?
Last edited by tommyhill on Thu 13 Jul 2006, 21:21, edited 1 time in total.
Here I am again one year later... I just downloaded the latest version of Puppy linux and would like to setup "Monkey" and "PureFTP" to start automatically...
/root/my-roxapps/Monkey
( not sure where PureFTP is located )
The scripts that are used to provide a GUI interface for Monkey and PureFTP prevent the program from starting automatically... Is there a way around these scripts to automatically start the programs without manually selecting "start" "stop" and "Kill" I would like to start these programs automatically when Puppy when Puppy loads into memory...
Any help will be much appreciated...
/root/my-roxapps/Monkey
( not sure where PureFTP is located )
The scripts that are used to provide a GUI interface for Monkey and PureFTP prevent the program from starting automatically... Is there a way around these scripts to automatically start the programs without manually selecting "start" "stop" and "Kill" I would like to start these programs automatically when Puppy when Puppy loads into memory...
Any help will be much appreciated...
i think the idea is to run commandline programs, by adding the appropriate line to /etc/rc.d/rc.local, but to use /root/.xinitrc for graphical apps. where you would start the program in the background by adding the appropriate command before the line that starts the window manager. e.g.
Code: Select all
exec your-command-here &
#exec $CURRENTWM
Thanks muggins...
There are 2 programs I would like to autostart and 2 applications I would like to stop from loading...
#1 I would like to autostart a small web server and ftp server... "monkey" and "pureFTP" These are both great commandline programs but I am not sure how to configure the pup version of these programs... They now have interfaces that ask questions before the program is loaded...
#2 I would also like to turn off the "Do Not Save to File" ( when shutting down puppy ) along with the Dillo welcome, woof, woof screen...
I don't know where the configuration information is stored... I checked a few files and could not find them...
Tommy
There are 2 programs I would like to autostart and 2 applications I would like to stop from loading...
#1 I would like to autostart a small web server and ftp server... "monkey" and "pureFTP" These are both great commandline programs but I am not sure how to configure the pup version of these programs... They now have interfaces that ask questions before the program is loaded...
#2 I would also like to turn off the "Do Not Save to File" ( when shutting down puppy ) along with the Dillo welcome, woof, woof screen...
I don't know where the configuration information is stored... I checked a few files and could not find them...
Tommy
Another Way
Tommy - I think the answers above give you two ways of doing it:
/etc/rc.d/rc.local and .xinitrc
However there is a third way - install a small autostart utility, see:
http://murga-linux.com/puppy/viewtopic. ... 872&t=6084
I struggled for ageas to get VNCserver to start in my .xinitrc - it would start but then JWM would die and leave me a grey window. The trick above is probably not very eligant but it does work for me.
Alison
PS I would like to do away with the woof-woof too is anyone knows how...
/etc/rc.d/rc.local and .xinitrc
However there is a third way - install a small autostart utility, see:
http://murga-linux.com/puppy/viewtopic. ... 872&t=6084
I struggled for ageas to get VNCserver to start in my .xinitrc - it would start but then JWM would die and leave me a grey window. The trick above is probably not very eligant but it does work for me.
Alison
PS I would like to do away with the woof-woof too is anyone knows how...
The barks are only made when you boot into ram, if you boot using a pup_save they will not happen.
In puppy 2.16 using xorg /usr/sbin/delayedrun line 50 is the culprit
wavplay /usr/share/audio/2barks.wav &
In puppy 2.16 using xorg /usr/sbin/delayedrun line 50 is the culprit
wavplay /usr/share/audio/2barks.wav &
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]