[openbox] Req: Make autostart less awkward

Dana Jansens dana at orodu.net
Sun Aug 8 13:17:01 EDT 2010


On Sun, Aug 8, 2010 at 12:24 AM, Cedric Sodhi <manday at gmx.net> wrote:
> Hey Dana,
>
> good news indeed! Thanks for the quick reply. Do these new scripts happen to
> be neutrally named and not .....sh? That's less than a minor concern but I
> thought while you guys are on it I might say that a script without any
> ending which implies a certain interpreter would make more sense (say,
> ~/.openbox/prestart and poststart rather than prestart.sh and poststart.sh)

The environment has to be a shell script, it is run inline from the
launch script.

The other doesn't anymore, which is a good point, that I've accounted
for.  It won't have a .sh suffix by default, but uses it as a fallback
for compatibility at the moment.


- Dana

> just a thought,
> regards,
> --MD
>
> On 08/08/2010 02:08 AM, Dana Jansens 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
>>
>>> thanks for the effort already,
>>> regards,
>>> --MD
>>> _______________________________________________
>>> openbox mailing list
>>> openbox at icculus.org
>>> http://icculus.org/mailman/listinfo/openbox
>>>
>> _______________________________________________
>> openbox mailing list
>> openbox at icculus.org
>> http://icculus.org/mailman/listinfo/openbox
>>
>
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox
>


More information about the openbox mailing list