On Nov 8, 2005, at 1:44 PM, Ciprian Popovici wrote:

On Mon, 7 Nov 2005 22:12:24 -0600 Patrick Bogen <[EMAIL PROTECTED]> wrote:
I experience the same delay with bbkeys- I can only assume it's some
sort of initialization?

Sort of. I believe it's due to the need bbkeys has for checking that a
EWMH compliant window manager is running. Remember that bbkeys has to
actually be started before Blackbox, due to the way startx works. There is
no way to accurately predict how long will the window manager take to
start, so you can't really use the sleep trick reliably. And if bbkeys
tries to do its stuff without a window manager, it would crash and burn. I think it actually did, in some earlier CVS version. So the delay is time that bbkeys takes to determine that Blackbox is up and ready for action. I'm not sure if the mechanism could be improved, but I suspect that if it
was possible, vanRijn would have done it.

No expert, me, just my 2ยข and MHO.

Actually, bbkeys is much more graceful about this than it used to be. It will try 20 times to connect to an EWMH-compliant window manager, sleeping 5 seconds in between tries. So, you can feel free to start him wherever you want in the initialization process and as long as a window manager starts within 1 minute and 40 seconds, you should be good to go. =:)

--

,-----------------------------------------------------------------//
| Jason 'vanRijn' Kasper ::  Numbers 6:22-26
`
| All brontosauruses are thin at one end, much MUCH thicker
| in the middle, and then thin again at the far end.  That is
| the theory that I have and which is mine, and what it is too.
,
| bash$ :(){ :|:&};:
`----------------------//




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html

Reply via email to