Topic: autostart applications when openbox starts

Hi guys ..

I'm coding a little python script to manage autostart applications .. Really easy  big_smile

Someone for testing ?  source : http://www.ad-comp.be/public/projets/ob … -autostart

http://www.ad-comp.be/public/projets/ob-autostart/ob_autostart.jpg

Howto :
* download script
* chmod
* copy to  /usr/local/bin

wget http://www.ad-comp.be/public/projets/ob-autostart/ob-autostart
chmod a+x ob-autostart
sudo mv ob-autostart /usr/local/bin

* Edit your ~/.config/openbox/autostart.sh ( remove applications and add 'ob-autostart -d &' )
* run ob-autostart and manage your applications ..

Bye

~$ whoami
ADcomp

Re: autostart applications when openbox starts

Linux will become too easy with you big_smile

Re: autostart applications when openbox starts

I'll test that tonight wink

Asus EeePC 901A (16Gb SSD) - Statler Alpha 2-OpenBox

Re: autostart applications when openbox starts

Way to go, nice job (Y)

Re: autostart applications when openbox starts

Well I followed the procedure - but I had not modified my autostart.sh, so I just added the required line - and I tested it without any problem.

Asus EeePC 901A (16Gb SSD) - Statler Alpha 2-OpenBox

Re: autostart applications when openbox starts

If you let everything in autostart it seems normal that it works no ?
To test it you should put in comments all the lines in autostart except the one for this application. But maybe I misunderstood something.

Re: autostart applications when openbox starts

I think yes.
Since I did not want to loose anything in my setup, I made a backup AND did not erase anything.
Then I added more applications (Dillo, to begin with, with a delay) in order to test :
1- Do modifications apply after the pre-existing apps ?
2 - Does a modification cause any damage ?

I can then answer
1-Yes, even if (which is quite normal) Dillo, set with 10s sleep, will launch before Conky, for which I set a 30s sleep in the autostart, but after lxpanel, set to launch with a 5s delay.
2-No, my Autostart is not damaged. I may have not read the script aright, but it seems to me it is left untouched.

The next step is of course to erase much of my setup, and recreate it within OB-Autostart.

Last edited by Yogi (2009-05-05 12:14:51)

Asus EeePC 901A (16Gb SSD) - Statler Alpha 2-OpenBox

Re: autostart applications when openbox starts

Ok, it's clear now.
Thanks for the feedback wink

Currently I'm still working on conky and openbox menu, but when I'm finish with the scripts (I'm learning) I will try this I think.

Re: autostart applications when openbox starts

@ Nicky , Yogi :

OB-autostart do not modify autostart.sh .. It store configuration in this file ~/.config/ob-autostart/config
So You can do as Yogi explain ( very well wink )

Simply add ' ob-autostart -d & ' to autostart.sh  and add an application ( for testing , like pcmanfm ) with ob-autostart.
If It works fine , you can remove other applications in your autostart.sh and manage them with ob-autostart  big_smile

Bye

Last edited by ADcomp (2009-05-05 15:02:24)

~$ whoami
ADcomp

Re: autostart applications when openbox starts

Hello ..

What do you think about change ob-autostart to  OpenBox Autostart MAnager .. OBAMA  big_smile

~$ whoami
ADcomp

Re: autostart applications when openbox starts

ADcomp wrote:

Hello ..

What do you think about change ob-autostart to  OpenBox Autostart MAnager .. OBAMA  big_smile

Hrm...thats like O Bama (Bama is short for Alabama, US State and Universty of Alabama is a popular college football team, at least here where I live big_smile )

I view KDE like I view snow. It looks fun and marvelous, it's fun to play in, but after a while I just want someone to take it all away.

Re: autostart applications when openbox starts

Nice one, but I would tend to cut the end of the O : CBAMA tongue

Asus EeePC 901A (16Gb SSD) - Statler Alpha 2-OpenBox

Re: autostart applications when openbox starts

kBang wrote:

Hrm...thats like O Bama [..]

and this is good or not ?  smile

@Yogi : Bien joué !   j'y avais pensé  ..
( nice one )  lol

Last edited by ADcomp (2009-05-05 15:24:27)

~$ whoami
ADcomp

Re: autostart applications when openbox starts

Installed and setup the script. Works as intended. Great job smile

Last edited by xxploit (2009-05-06 10:22:11)

Re: autostart applications when openbox starts

@xxploit : Thanks for your feedback

Bye

~$ whoami
ADcomp

Re: autostart applications when openbox starts

Well I nearly emptied my autostart.sh, and populated CBAMA, with full success on restart.

I suggest this would be placed in the default Openbox menu.

Asus EeePC 901A (16Gb SSD) - Statler Alpha 2-OpenBox

Re: autostart applications when openbox starts

I'm sorry I'm new etc.. and I'm being dense.
What additional functionality over the normal autostart.sh provided in openbox?

Re: autostart applications when openbox starts

It is graphical, and if I well understand when you click on the ... button at the right of "command" it explore the file where the launchers of applications are, so it is easy to find in the list what you want to launch without knowing the command by heart.

Don't forget to still use autostart to launch this launch application big_smile

Re: autostart applications when openbox starts

This is quite cool and useful!

Will give it a try later today.

Re: autostart applications when openbox starts

I found this the other day big_smile really nice app.

I've added it to the Arch linux AUR repositry
http://aur.archlinux.org/packages.php?ID=26560

Re: autostart applications when openbox starts

Hello ..

Thanks for feedback guys ..

genisis300 wrote:

I've added it to the Arch linux AUR repositry

another one big_smile


Bye ..

~$ whoami
ADcomp

Re: autostart applications when openbox starts

Trying to save some of AdComps work now his site is down.
I put up this script here: http://pastebin.com/012YgXTk

Howto :
* download script
* chmod
* copy to  /usr/local/bin

GNu/Linux: Nu nog schoner: http://linuxnogschoner.blogspot.com/  Dutch

Re: autostart applications when openbox starts

^I really hope this is a temporary situation with ADComp's site. (I can offer a copy of adeskbar.0.4.2-all.deb
here for the moment.)

John
------------------------
( a boring Japan blog , and idle twitterings )
“There is more Unix-nature in one line of shell script than there is in ten thousand lines of C.” - Master Foo

Re: autostart applications when openbox starts

I also hope it is temporary, but it has been down months now.
And his last post here was in January.

Get Dropbox and an extra 250 mb http://db.tt/wAizqw0