You are not logged in.

#1 2017-11-08 20:56:40

ansulev
Member
Registered: 2008-08-09
Posts: 11

Pidgin log out on suspend and restore with systemd

Hello,

I am trying to make work this unit from the wiki:

https://wiki.archlinux.org/index.php/Pidgin#Auto_logout_on_suspend

But simply don't work. I moved pidgin-suspend unit to /usr/lib/systemd/system/pidgin-suspend.service and make symlink in /etc/systemd/system/sleep.target.wants.
This way the unit is parsed but still get an error:

Nov 08 21:48:50 arch purple-remote[9378]: No existing libpurple instance detected.
Nov 08 21:48:50 arch systemd[1]: pidgin-suspend.service: Main process exited, code=exited,
Nov 08 21:48:50 arch systemd[1]: Started TLP suspend/resume.
Nov 08 21:48:53 arch systemd[1]: pidgin-suspend.service: Failed with result 'exit-code'.
Nov 08 21:48:53 arch systemd[1]: Failed to start Suspend Pidgin.
Nov 08 21:48:53 arch systemd[1]: Reached target Sleep.
Nov 08 21:48:53 arch systemd[1]: Starting Suspend...
Nov 08 21:48:53 arch systemd-sleep[9498]: Suspending system..
 $ env | grep DBUS
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus

Googled found that is something dbus related, but don't have enough knowledge to make this unit work. On suspend Pidgin stays connected and lost messages.
Any workaround or chance to get updated wiki article?

Thank you!

Offline

Board footer

Powered by FluxBB