Hi for song on lock or/and unlock, slide on /off, use lockdaemon. as root: apt-get install lockdaemon