@JacobVlijm Can you help me? I need to place this script somewhere and I have no idea where to put it: dbus-monitor --session "type=signal,interface=com.canonical.Unity.Session,member=Unlocked" | \
{
while read MSG; do
logger "dbus-lock-screen-timer $MSG"
LOCK_STAT=`echo $MSG | awk '{print $NF}'`
if [[ "$LOCK_STAT" == "member=Unlocked" ]]; then
logger "Screen unlocked"
lock-screen-timer
fi
done
}