Comment 2 for bug 354298

Revision history for this message
Martin Pitt (pitti) wrote :

I wonder if this wouldn't be easier to fix directly in the pidgin code, instead of introducing a wrapper script? This could then even go upstream.

If that is too hard, the approach certainly works. However, using pidof is wrong here, since that will also catch pidgin instances from other users, and thus only one user could run pidgin at a time. If you need to pursue the shell approach, I recommend using pgrep or ps u. You also need to add a procps dependency to the package.