Topic: conkywonky

I don't know if this is a custom crunchbang script or a standard conky preferences script but it does not appear to exit cleanly -- 'ps aux|grep conky' shows a conkywonky process. I believe the following works better:

#!/bin/bash

killall conky
sleep 2s
conky &
exit 0

Re: conkywonky

I don't see any problems with the way it exits. What is it you are seeing?

Re: conkywonky

It may exit but it leaves a process hanging.  E.g.,

kozimodo    2789  0.0  0.0   4360   884 pts/0    S    15:46   0:00 /bin/bash /usr/bin/conkywonky

Re: conkywonky

is there any real differences between the up conkywonky and this one ??

#!/bin/bash
killall conky &
(sleep 2s && conky) &
exit 0

my conkywonky is in ~/bin , not in /usr/bin/

Last edited by arpbook (2009-01-08 20:53:23)

arpbook is dead - arpinux is born, and became a deviant.

Re: conkywonky

Try them both and check 'ps aux|grep conky'.

Re: conkywonky

kozimodo wrote:

It may exit but it leaves a process hanging

Ok, I'm with you now  smile

Re: conkywonky

arpbook wrote:

is there any real differences between the up conkywonky and this one ??/

Only that conkywonky doesn't exit properly. Editing conkywonky as kozimodo's advice makes it do so smile

Re: conkywonky

thanks smile

arpbook is dead - arpinux is born, and became a deviant.