Here's a patch that lets you load/unload/list UI plugins using the fifo.
This is handy if you use licq from multiple locations, e.g you start licq
at home with the kde-gui, get to work and want to ssh and use the console
plugin - you can just load the console plugin without having licq quit (so
you stay online).

To do this you probably want to start licq from a screen session though,
as it's the terminal that you start licq from that the other plugins load
in. You may have to export your DISPLAY variable from the screen session
to get gui plugins to load properly.

Note that the name of the plugin you use may be different from the name
you have to unload it with, e.g:
echo "load_plugin kde-gui" > ~/.licq/licq_fifo
will load the kde-gui
whereas
echo "unload_plugin \"KDE GUI\"" > ~/.licq/licq_fifo
is needed to unload the kde-gui.

use echo "list_plugins" > ~/.licq/licq_fifo to find the name of the plugin
you want to unload.

Philip

Attachment: fifo.patch
Description: Binary data

Reply via email to