Load a plugin from the command line?

Luke Schierer lschiere at pidgin.im
Wed Jul 25 13:29:01 EDT 2007


On Wed, Jul 25, 2007 at 01:26:48PM -0400, Greg Chagnon wrote:
> Hi,
> I was wondering if there was a way to load/unload a plugin from the command
> line.  I would like to be able to have a running instance of Pidgin and send
> it a command to unload a plug in, then load another one.
> 
> Thanks for any advice!

I think your best bet here would be to write your plugin to listen to
something that dbus can send, and then use that to notify it to
load/unload.  You could use a script similar to the
purple-client-example script to send the signal.

luke




More information about the Devel mailing list