Page 1 of 1

[solved] is there a program like AUTOSTART? AUTOstart 1progr

Posted: 08 Mar 2013, 15:27
by testsforknowledge
i have porteus on USB; on USB 2 folders: PORTEUS and BOOT
when PORTEUS is up-n-running, i wish that one program is started or one command is executed.

Is there any program that does that? Or that will also be okey if i write some command somewhere ... just, where

I have 2 folders(BOOT and PORTEUS) not install on disk, so ...

thnx in advance

Re: is there a program like AUTOSTART? AUTO start one progra

Posted: 09 Mar 2013, 00:45
by brokenman
Please post which Porteus you are using, and which desktop. The commands you want to run at start would also be useful as some require that you already have an xsession while others can be started earlier.

In general you can run a command at boot by placing the command in your /etc/rc.d/rc.local file.

Re: is there a program like AUTOSTART? AUTO start one progra

Posted: 09 Mar 2013, 00:57
by Hamza
when PORTEUS is up-n-running, i wish that one program is started or one command is executed.

Re: is there a program like AUTOSTART? AUTO start one progra

Posted: 09 Mar 2013, 21:27
by brokenman
Yes i understood the quote. It doesn't say when 'Desktop' is up and running though. OP could be in text mode for all we know.

I have 2 folders(BOOT and PORTEUS) not install on disk, so ...
This is also rather vague. Where are the two folders? On USB, CD/DVD?

Re: is there a program like AUTOSTART? AUTO start one progra

Posted: 14 Mar 2013, 08:02
by testsforknowledge
everything is on USB ...

somehow i solved it, but not 100%.
For people who have Porteus on USB and boot copy2ram and wish to make some CHANGES:
- you need to go to modules and check module#4 in base folder
- Extract folder #4 (name is KDE or something like it)
- make changes and
- finnaly make XZM again (mouse right click)
- then replace old XYM with new one and it's working ...
(don't forget to make extra copies of these files if something goes wrong so that u can return ...)

Re: [solved] is there a program like AUTOSTART? AUTOstart 1p

Posted: 14 Mar 2013, 10:19
by Hamza
Why not uses changes cheatcode ?

Re: [solved] is there a program like AUTOSTART? AUTOstart 1p

Posted: 25 Dec 2014, 09:54
by linuxtothebone
I also want to autostart a programme/s once desktop is loaded so my email and internet browser are automatically run.

have things evolved since this thread was started and is there now a straight forward solution?

thanks

Re: [solved] is there a program like AUTOSTART? AUTOstart 1p

Posted: 25 Dec 2014, 14:00
by donald
Please read /boot/docs/cheatcodes.txt :wink:

Example:
guiexec=firefox;pidgin

... Execute specified command(s) in runlevel 4, when the graphical
interface is loaded; unlike 'cliexec' this cheatcode can be
used to start graphical applications.
Use semicolons (;) as command separators with no spaces.
... If you need to use spaces in the command line, replace them
with '~'.
Example: 'guiexec=firefox~kernel.org' will open the firefox
browser on the 'kernel.org' website.

Re: [solved] is there a program like AUTOSTART? AUTOstart 1p

Posted: 25 Dec 2014, 22:37
by linuxtothebone
Hi there thanks for your help,

I have learned about what you recommended and also read the info on the following link...

http://www.porteus.org/component/conten ... -them.html

I have located and opened and studied the porteus.cfg file, the problem I am having now is where is the APPEND line that I can add to there are many lines in the document but they all seem associated with the boot gui and there is no bland APPEND line that I can just add my custom cheat codes too. Would I just add and an APPEND line at the bottom of the document with a blank space to make it separate from any of the entries above?

This is what I think I should do...

APPEND guiexec=opera;thunderbird

Am I on the right track?

Thanks again for your help, I will be away for a couple of days celebrating christmas with my family so wont be back online for a little bit. Hope you have a good festive season and again I really appreciate your time helping me thanks so much id be completely lost without it :)

Re: [solved] is there a program like AUTOSTART? AUTOstart 1p

Posted: 25 Dec 2014, 23:40
by donald
Hi
--> Am I on the right track? <--...almost
Each paragraph in the porteus.cfg refers to one of the different boot options.
For the default/normal boot option,place this cheatcode at the end of the first
APPEND line.

yup,the family comes first...enjoy this christmas time..

Re: [solved] is there a program like AUTOSTART? AUTOstart 1p

Posted: 26 Dec 2014, 00:37
by francois

Code: Select all

APPEND initrd=initrd.xz changes=/porteus login=root
How can I customize the porteus iso:
http://www.porteus.org/faq.html#twenty2