Romain FRANCOISE wrote:
> 
> Hi !
> 
> i'm using blackbox 0.61.1 and bbpager 0.3.0, and sometimes when i switch
> desktops using the pager and the middle-button of the mouse (nothing
> happens using bbkeys), blackbox kills itself, saying that it has caught
> signal 11 and that it was dumping a core. All X apps running are killed.
> 
> It does not seem to be related to any software running on the desktops,
> and it's very annoying :(
> 
> What can i do ?
> 

Well heres one way to atleast get around all X apps being killed.

Don't have exec blackbox as the last call in .xinitrc (or equivalent). 
What I do is have the 'last call' exec a script that is just an infinite
loop of long sleeps.  By doing this when blackbox crashes, it doesn't
take X with it.  You can then just start another blackbox.  

But now, when you want to exit X (gracefully) you will have to kill that
sleep script instead.  I've made my 'sleep script' output its pid to a
tmp file, and I made my exit look at that tmp file and kill the process
it contains.

Well, that's how I do it anyway.

Reply via email to