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

Post here if you are a new Porteus member and you're looking for some help.
testsforknowledge
Black ninja
Black ninja
Posts: 42
Joined: 07 Jan 2013, 16:44
Distribution: PORTEUS
Location: slovenia

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

Post#1 by testsforknowledge » 08 Mar 2013, 15:27

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
Last edited by testsforknowledge on 14 Mar 2013, 08:04, edited 1 time in total.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

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

Post#2 by brokenman » 09 Mar 2013, 00:45

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.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

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

Post#3 by Hamza » 09 Mar 2013, 00:57

when PORTEUS is up-n-running, i wish that one program is started or one command is executed.
NjVFQzY2Rg==

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

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

Post#4 by brokenman » 09 Mar 2013, 21:27

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?
How do i become super user?
Wear your underpants on the outside and put on a cape.

testsforknowledge
Black ninja
Black ninja
Posts: 42
Joined: 07 Jan 2013, 16:44
Distribution: PORTEUS
Location: slovenia

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

Post#5 by testsforknowledge » 14 Mar 2013, 08:02

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 ...)

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

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

Post#6 by Hamza » 14 Mar 2013, 10:19

Why not uses changes cheatcode ?
NjVFQzY2Rg==

linuxtothebone
Black ninja
Black ninja
Posts: 36
Joined: 17 Dec 2014, 00:25
Distribution: mint, porteus
Location: newzealand

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

Post#7 by linuxtothebone » 25 Dec 2014, 09:54

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

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

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

Post#8 by donald » 25 Dec 2014, 14:00

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.

linuxtothebone
Black ninja
Black ninja
Posts: 36
Joined: 17 Dec 2014, 00:25
Distribution: mint, porteus
Location: newzealand

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

Post#9 by linuxtothebone » 25 Dec 2014, 22:37

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 :)

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

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

Post#10 by donald » 25 Dec 2014, 23:40

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..

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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

Post#11 by francois » 26 Dec 2014, 00:37

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
Prendre son temps, profiter de celui qui passe.

Post Reply