AUTO-RUN command on STARTUP (when porteus is up-n-running)
-
- Black ninja
- Posts: 42
- Joined: 07 Jan 2013, 16:44
- Distribution: PORTEUS
- Location: slovenia
AUTO-RUN command on STARTUP (when porteus is up-n-running)
where can i put some command ,
that it will be executed when porteus is up-n-running?
(let-s say if i wish to start gimp automatically)???
thnx for help
that it will be executed when porteus is up-n-running?
(let-s say if i wish to start gimp automatically)???
thnx for help
- Ahau
- King of Docs
- Posts: 1331
- Joined: 28 Dec 2010, 15:18
- Distribution: LXDE & Xfce 32/64-bit
- Location: USA
Re: AUTO-RUN command on STARTUP (when porteus is up-n-runnin
hi testsforknowledge,
To autostart an application when your desktop environment starts up, try copying the .desktop file from /usr/share/applications/ into /etc/xdg/autostart. If you're looking to run a script or something prior to the desktop opening up, you can add a line to /etc/rc.d/rc.local.
To autostart an application when your desktop environment starts up, try copying the .desktop file from /usr/share/applications/ into /etc/xdg/autostart. If you're looking to run a script or something prior to the desktop opening up, you can add a line to /etc/rc.d/rc.local.
Please take a look at our online documentation, here. Suggestions are welcome!
Re: AUTO-RUN command on STARTUP (when porteus is up-n-runnin
@Ahau, It has been confirmed by fanthom that rc.local script is executed before Xserver so no GUI could be executed. I don't think that's the right option as the user want to execute a software such as GIMP which will need at least Xserver 

NjVFQzY2Rg==
- Ahau
- King of Docs
- Posts: 1331
- Joined: 28 Dec 2010, 15:18
- Distribution: LXDE & Xfce 32/64-bit
- Location: USA
Re: AUTO-RUN command on STARTUP (when porteus is up-n-runnin
Yes, Hamza, you are correct. I should have been more clear in my statement that this would not work for opening up an app inside a Desktop Environment.
Please take a look at our online documentation, here. Suggestions are welcome!
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: AUTO-RUN command on STARTUP (when porteus is up-n-runnin
Please remember to give as much info as possible when asking for help. A good start would be which architecture you are using such as 32 or 64bit. Next it would be useful to know which version of Porteus you are running and which desktop environment you are booting into such as xfce, lxde, razor, kde4.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- Black ninja
- Posts: 42
- Joined: 07 Jan 2013, 16:44
- Distribution: PORTEUS
- Location: slovenia
Re: AUTO-RUN command on STARTUP (when porteus is up-n-runnin
- How to start let/s say GIMP(or another prg with GUI) automatically, when PORTEUS is up-n-running?
(but porteus is booted from USB)
- how to make some folder automatically copies from USB (folder of PORTEUS USB) to Desktop
Thank you
i have Porteus 1.2, 32bit
(but porteus is booted from USB)
- how to make some folder automatically copies from USB (folder of PORTEUS USB) to Desktop
Thank you
i have Porteus 1.2, 32bit
- Ed_P
- Contributor
- Posts: 8911
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: AUTO-RUN command on STARTUP (when porteus is up-n-runnin
This thread may interest you:
http://forum.porteus.org/viewtopic.php?f=81&t=1955
Don't let the title throw you.
http://forum.porteus.org/viewtopic.php?f=81&t=1955
Don't let the title throw you.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: AUTO-RUN command on STARTUP (when porteus is up-n-runnin
@ testsforknowledge
Cheers
copy relevant .desktop file from /usr/share/applications to ~/.config/autostart (for LXDE/XFCE/Razor) or ~/.kde4/Autostart (for kde4)How to start let/s say GIMP(or another prg with GUI) automatically, when PORTEUS is up-n-running?
use /etc/rc.d/rc.local for this purpose- how to make some folder automatically copies from USB (folder of PORTEUS USB) to Desktop
Cheers
Please add [Solved] to your thread title if the solution was found.
-
- Black ninja
- Posts: 42
- Joined: 07 Jan 2013, 16:44
- Distribution: PORTEUS
- Location: slovenia
AUTO-RUN command on STARTUP (when porteus is up-n-runnin
fanthom wrote:@ testsforknowledgecopy relevant .desktop file from /usr/share/applications to ~/.config/autostart (for LXDE/XFCE/Razor) or ~/.kde4/Autostart (for kde4)How to start let/s say GIMP(or another prg with GUI) automatically, when PORTEUS is up-n-running?
use /etc/rc.d/rc.local for this purpose- how to make some folder automatically copies from USB (folder of PORTEUS USB) to Desktop
Cheers
tested 1st part: added link into ~/.kde4/Autostart/ folder and when all is loaded, it starts my program.
BUT,
does anyone know why it is started 2x?? I run BLENDER, but i do not know yet, why it opens 2 blenders. when i close one, after it openes one more.
Re: AUTO-RUN command on STARTUP (when porteus is up-n-runnin
Did you added that blender command into 2 files? Did you used '&' tweak in order to run your software in background?
NjVFQzY2Rg==
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: AUTO-RUN command on STARTUP (when porteus is up-n-runnin
tried with avidemux and it does not appear again after closing.
Please add [Solved] to your thread title if the solution was found.