This script workarounded by run 2nd instance of pidgin that show window, then kill all pidgin instances on exit via dbus-monitor whatching. NOTE: change line 29: win=$(echo "$l" | sed -n '/^.*Lista\scontatti$/p') according to your language of pidgin window title (in italian "Lista contatti", in english maybe "Contact list").