Why does this constitute a bug?

It is perfectly possible to start dock applications multiple times, and
IMHO this is not a bug in itself.

I usually start dockapps via a short script, which first checs whether
the application is already running before unnecessarily spawning a
superfluous new instance:

Example for $HOME/GNUstep/AutoStart/Enabled/10_wicd-client :

------- snip -------
#!/bin/sh
#set -x
GREP=$(which grep)

if [ "$(/bin/ps -ef | $GREP $USER | $GREP -v AutoStart | $GREP -c
[w]icd-client)" = "0" ]
then
    [ -x /usr/bin/wicd-client ] && /usr/bin/wicd-client -t &
fi
------- snip -------

Hope this helps!

Best regards,
Paul

On 12/28/2012 02:49 PM, Paulo Silva wrote:
> hi everyone:
> how can we prevent situations like this:
> http://img268.imageshack.us/img268/5189/wmakerbug.png
> i imagine this is a bug, and it happens regularly on you all as well?
> thanks and best wishes!
> p.
> 
> 


-- 
To unsubscribe, send mail to [email protected].

Reply via email to