Is there a way to log this?
Say I need to go away from the keyboard for a time. I click on the 'padlock' button to lock the system, thus if anyone touches a key on the keyboard or moves the mouse, the little window pops up asking for the user password.
What I want to know is if there is a way to log if someone hits a key or moves the mouse and makes the system wake up from hibernate/suspend (this is a desktop, not an laptop system) *along with* an attempt(s) to type in a password.
This way I will know if someone made the system wake up, but got too scared to try to type in a password attempt.
I'm running Slackware 14, KDE/OpenBox and have it set so that a screensaver comes up after ten minutes of inactivity and then the system goes to sleep five minutes after that so that all there is is a blank, black screen.