When I lock screen on Ubuntu, I want transmission to open up automatically, and when I unlock the screen, transmission should pause itself or die.
I have searched a lot but cannot find anything worthwhile.
I thought of a solution, of creating a cron job and using
gnome-screensaver-command -q and starting up transmission, seems like a wastage. Is there a better way (something event based)?