Getting Pidgin to sign off when you lock your screen
Posted by Admin • Wednesday, October 14. 2009 • Category: Linux
I am signed in to google talk from many places - blackberry, laptops, desktops, etc - and every once in a while, IM's don't go to the right one. Since I lock my workstation at the office whenever I get up, I figured it'd be nice to have Pidgin log off at the same time.
I am not sure how you would do this in Windows, but in Linux (Ubuntu in my case), I did it like this:
Changed my screen lock hotkey (Ctrl-Alt-l for me) to run the following:
I am not sure how you would do this in Windows, but in Linux (Ubuntu in my case), I did it like this:
Changed my screen lock hotkey (Ctrl-Alt-l for me) to run the following:
xlock -startCmd "purple-remote setstatus?status=offline" -endCmd "purple-remote setstatus?status=available"That's it. If you want specific screensaver modes you can stick them in them too:
xlock -mode blank -startCmd "purple-remote setstatus?status=offline" -endCmd "purple-remote setstatus?status=available"

0 Comments
Add Comment