[Pidgin] #11743: [Linux] Include script to globaly save/change/restore status using root privileges
Pidgin
trac at pidgin.im
Fri Feb 25 07:14:50 EST 2011
#11743: [Linux] Include script to globaly save/change/restore status using root
privileges
-------------------------------------------------------------------------------------+
Reporter: harvie | Owner:
Type: patch | Status: pending
Milestone: Patches Needing Review | Component: libpurple
Version: | Resolution:
Keywords: sleep suspend hibernation wake wakeup pm-utils sleep.d linux d-bus dbus |
-------------------------------------------------------------------------------------+
Changes (by harvie):
* status: pending => new
Comment:
deryni: you are not true
1.) when you disconnect from network using nm-applet the pidgin does NOT
disconnect itself from server (it just closes the socket localy)
2.) when you sleep/hibernate your PC network manager does NOT disconnect
itself (it just stay connected to network and checks the connection to the
network when waked again). NM is not meant to be warning other
applications before someone disconnects PC, it's meant to report current
state of network connection only and pidgin definetely can't rely on NM in
this way.
This means that hibernating/halting PC makes IM servers think that you are
still online (eve when your PC is not online anymore)
All i want is to have some piece of maintained code for this to be
included in source distribution. so it can be invoked using some command-
line argument eg.:
# pidgin --sleep-all
# pidgin --wake-all
+ there can be simple sleep.d script that can call pidgin with those
arguments each time PC is hibernated/woken.
(bash script that i've included is bit unreliable and it fails to restore
pidgin after wakeup in 1/30 cases)
This is really an issue. I am getting messages from people who sent me IM
when they thought that i was online (but it was few moments after i've
hibernated my laptop) - of course i've missed the message (and some
services does not even try to send the message again when i get online in
this case so this can lead to actual message loss).
'''It's just polite to say "F*ck Off" and/or close the socket before
leaving!'''
--
Ticket URL: <http://developer.pidgin.im/ticket/11743#comment:5>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list