[Pidgin] #11743: [Linux] Include script to globaly save/change/restore status using root privileges

Pidgin trac at pidgin.im
Mon Apr 26 12:17:41 EDT 2010


#11743: [Linux] Include script to globaly save/change/restore status using root
privileges
-------------------------------------------------------------------------------------+
 Reporter:  harvie                                                                   |        Owner:           
     Type:  patch                                                                    |       Status:  new      
Milestone:  Patches Needing Improvement                                              |    Component:  libpurple
  Version:                                                                           |   Resolution:           
 Keywords:  sleep suspend hibernation wake wakeup pm-utils sleep.d linux d-bus dbus  |  
-------------------------------------------------------------------------------------+
Changes (by harvie):

  * milestone:  => Patches Needing Improvement


Old description:

> Hello,
> there should be some script (or command-line option) which will enable
> root to disconnect/reconnect all users from pidgin, finch and other
> libpurple sessions using dbus.
>
> It should be usefull to call from:
> - init hook (halt,reboot)
> - sleep.d hook script for pm-utils (sleep,hibernate,wakeup)
>
> Why it should be done?
> - When halting or suspending pc there are open connections and zombie
> users left on IM servers which is not much appreciated by server
> operators...
>
> i am attaching sample sleep.d script i made, but it does not work 100%
> surely and pidgin is left disconnected after wakeup sometimes...
> definetely there should be something more reliable in distribution of
> pidgin.

New description:

 Hello,
 there should be some script (or command-line option) which will enable
 root to disconnect/reconnect all users from pidgin, finch and other
 libpurple sessions using dbus.

 It should be usefull to call from:[[BR]]
 - init hook (halt,reboot)[[BR]]
 - sleep.d hook script for pm-utils (sleep,hibernate,wakeup)[[BR]]

 Why it should be done?[[BR]]
 - When halting or suspending pc there are open connections and zombie
 users left on IM servers which is not much appreciated by server
 operators...[[BR]]


 i know that there is already purple-remote, but:[[BR]]
 - it does not have simple way to affect all users at once[[BR]]
 - it cannot store and unset saved login status and later set it back[[BR]]

 i am attaching sample sleep.d script i made, but it does not work 100%
 surely and pidgin is left disconnected after wakeup sometimes...
 definetely there should be something more reliable in distribution of
 pidgin. can you please modify my script to be 100% and add it to linux
 distribution?

--

-- 
Ticket URL: <http://developer.pidgin.im/ticket/11743#comment:1>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list