Resuming Pidgin
March 31st, 2008I noticed that there were some options for Gaim in the bottom of /etc/hibernate/common.conf. Obviously, since Gaim isn’t even in the Portage tree any more, these are a bit outdated. I did some research and found someone who had been successful at getting Pidgin to work on resume. Apparently the requirements still stand – Pidgin must be compiled with dbus support, and the purple-remote must be installed (I think this is default with the current stable Pidgin package).
In addition, in order to provide similar functionality to that available for Gaim, you need to add a file called pidgin to /usr/share/hibernate/scriptlets.d/. The contents of the file can be found in this post on the tuxonice mailing lists. I tested it out, and it seems to work. I made one small modification – I commented the first and third lines in the block below:
pidgin scriptlet:
if [ -n "$PIDGIN_LOGIN_MESSAGE" ]; then
purple_remote_cmd=”$purple_remote_cmd&message=$PIDGIN_LOGIN_MESSAGE”
fi
This way, I can use the following configuration in /etc/hibernate/common.conf to set an empty status message on resume:
from /etc/hibernate/common.conf
### pidgin
## You must have dbus support compiled into Pidgin and the purple-remote installed
LogoutPidgin yes
PidginRestoreStatus yes
PidginLogoutMessage Hibernating
PidginLoginMessage

Leave a Reply