SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2009-05-04 14:31:47

ADcomp
Python Script Master
From: Belgium
Registered: 2008-12-22
Posts: 598
Website

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

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


David [aka] ADcomp

Offline

Be excellent to each other!

#2 2009-05-04 14:43:22

Nicky
#! CrunchBanger
From: Paris (France)
Registered: 2009-04-05
Posts: 163

Re: autostart applications when openbox starts

Linux will become too easy with you big_smile

Offline

#3 2009-05-04 14:50:30

Yogi
#! Member
From: France
Registered: 2009-03-25
Posts: 57

Re: autostart applications when openbox starts

I'll test that tonight wink


Asus EeePC 901A (16Gb SSD) - Waldorf
old Toshiba laptop(Celeron 1,5GHz/20Go/512Mo) - Statler

Offline

#4 2009-05-04 15:14:38

Hannus
Member
From: Estonia
Registered: 2009-04-21
Posts: 21

Re: autostart applications when openbox starts

Way to go, nice job (Y)

Offline

#5 2009-05-05 11:21:20

Yogi
#! Member
From: France
Registered: 2009-03-25
Posts: 57

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) - Waldorf
old Toshiba laptop(Celeron 1,5GHz/20Go/512Mo) - Statler

Offline

#6 2009-05-05 11:43:21

Nicky
#! CrunchBanger
From: Paris (France)
Registered: 2009-04-05
Posts: 163

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.

Offline

#7 2009-05-05 12:14:11

Yogi
#! Member
From: France
Registered: 2009-03-25
Posts: 57

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) - Waldorf
old Toshiba laptop(Celeron 1,5GHz/20Go/512Mo) - Statler

Offline

#8 2009-05-05 12:23:25

Nicky
#! CrunchBanger
From: Paris (France)
Registered: 2009-04-05
Posts: 163

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.

Offline

#9 2009-05-05 13:15:28

ADcomp
Python Script Master
From: Belgium
Registered: 2008-12-22
Posts: 598
Website

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)


David [aka] ADcomp

Offline

#10 2009-05-05 14:59:07

ADcomp
Python Script Master
From: Belgium
Registered: 2008-12-22
Posts: 598
Website

Re: autostart applications when openbox starts

Hello ..

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


David [aka] ADcomp

Offline

#11 2009-05-05 15:13:44

kBang
#! Die Hard
From: Calera, AL, USA
Registered: 2009-01-06
Posts: 774

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.

Offline

#12 2009-05-05 15:17:18

Yogi
#! Member
From: France
Registered: 2009-03-25
Posts: 57

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) - Waldorf
old Toshiba laptop(Celeron 1,5GHz/20Go/512Mo) - Statler

Offline

#13 2009-05-05 15:22:43

ADcomp
Python Script Master
From: Belgium
Registered: 2008-12-22
Posts: 598
Website

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)


David [aka] ADcomp

Offline

#14 2009-05-06 10:22:01

xxploit
New Member
Registered: 2008-12-03
Posts: 9

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)

Offline

#15 2009-05-06 20:41:12

ADcomp
Python Script Master
From: Belgium
Registered: 2008-12-22
Posts: 598
Website

Re: autostart applications when openbox starts

@xxploit : Thanks for your feedback

Bye


David [aka] ADcomp

Offline

#16 2009-05-06 21:51:53

Yogi
#! Member
From: France
Registered: 2009-03-25
Posts: 57

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) - Waldorf
old Toshiba laptop(Celeron 1,5GHz/20Go/512Mo) - Statler

Offline

#17 2009-05-16 09:55:31

IsloatedFlame
New Member
Registered: 2009-05-16
Posts: 3

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?

Offline

#18 2009-05-16 10:17:29

Nicky
#! CrunchBanger
From: Paris (France)
Registered: 2009-04-05
Posts: 163

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

Offline

#19 2009-05-16 11:05:28

NuclearStr1der
#! Member
Registered: 2009-05-15
Posts: 66

Re: autostart applications when openbox starts

This is quite cool and useful!

Will give it a try later today.

Offline

#20 2009-05-18 16:49:17

genisis300
New Member
Registered: 2009-05-16
Posts: 3

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

Offline

#21 2009-05-18 17:16:04

ADcomp
Python Script Master
From: Belgium
Registered: 2008-12-22
Posts: 598
Website

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


David [aka] ADcomp

Offline

#22 2011-05-14 13:16:23

pablokal
#! CrunchBanger
From: Nijmegen, Holland
Registered: 2009-12-11
Posts: 232
Website

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

Offline

#23 2011-05-14 17:11:20

johnraff
#!Drunkard
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 2,467
Website

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 )

Offline

#24 2011-05-14 21:00:46

jeffreyC
#! Junkie
Registered: 2010-09-02
Posts: 347

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 500 mb http://db.tt/wAizqw0

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo