On Sun, 8 Aug 2010 08:47:54 +0100
Folderol <folderol at ukfsn.org> wrote:
| On Sat, 7 Aug 2010 17:08:01 -0700
| Dana Jansens <dana at orodu.net> wrote:
|| > Hi MD,
| >
| > On Sat, Aug 7, 2010 at 2:52 PM, Cedric Sodhi <manday at gmx.net> wrote:
| > > Hello, I've got a small feature request which I bet is quickly implemented,
| > > that is to provide a script which is run *AFTER* openbox is loaded. From the
| > > wiki I've understood that for all those applications which enhance OB post
| > > startup (panels and so forth) one needs to introduce a sleep timeout so they
| > > get called once OB has surely loaded.
| > >
| > > I think I musn't say that this is error prone, unflexible, introduces
| > > unessecary delays and is, tmho, utterly unelegant. You could do great work
| > > if you could let OB take a startup parameter / config option (cant tell
| > > what's more appropriate as I'm new to OB) which designates a script which is
| > > supposed to be run after OB has reach stable running status.
| >
| > Good news.. this is already the case in our under-development version
| > of Openbox. I've set it up with two scripts for autostart - one for
| > setting env variables (which is why autostart runs before openbox in
| > the first place) and one for running applications after openbox has
| > started.
| >
| > Thanks for your input. Cheers,
| > Dana
|| I'm very pleased to read this. It is something that has cause me
| problems in the past.
|
It would be a lot better to tie the client startup to that of openbox.
Currently I have openbox being started by gnome (as it window manager)
and also having gnome run a personal client start up script.
I much prefer openbox to do that.
But you would have to document exactly when a 'poststart' script is
executed.
Does it run it after a -restart or -reconfigure
That is could the script be run multiple times during a single session
in some situations?
If that is true then you can't use the script a auto-launch other
client applications (not without checks for the client already running)
It would only be suitable to tweeking the system afetr openbox runs.
In other words some documentation on what you can and can not use it for
is also a good thing to include.
Anthony Thyssen ( System Programmer ) <A.Thyssen at griffith.edu.au>
--------------------------------------------------------------------------
No one ever listens to Zatheris. "Quite Mad!", thay say. It is good
the Zatheris does not mind. He has even grown to like it. Oh yes!
-- Zatheris's Mumbling, Bablyon 5, "War Without End"
--------------------------------------------------------------------------
Anthony's Castle http://www.cit.griffith.edu.au/~anthony/