Knock-Based Commands for Linux Laptop

For the first time, you can hit your computer and get a meaningful response! Knock some sense into your computer with a Hard Drive Active Protection System-aware kernel, an accelerometer-enabled laptop, and a Perl script. Double tap to lock the screen, and knock in your secret code to unlock. Tap the display lid once to move your mp3 player to the next track. The possibilities are endless.

  • The article covers the security risks involved in using this as an authentication mechanism in the Security and Caveats section towards the end.
  • How about some cool games using this feature (tetris, any one?).
  • A fun little app like vibrating a window when you tap the side of the screen or play a small mp3 file that shouts “Ow! That hurts”.


  1. 2008-07-31 5:32 pm
  2. 2008-07-31 6:03 pm
  3. 2008-07-31 6:40 pm
    • 2008-08-02 1:35 am
  4. 2008-07-31 8:57 pm
    • 2008-07-31 10:11 pm
    • 2008-07-31 10:51 pm
      • 2008-07-31 11:02 pm
        • 2008-08-01 4:16 am