I just randomly got this idea of putting an old mic on the bottom of my squeaky chair so that every time I sat down, Ubuntu would wake up automatically. How would I program something like this? I couldn't find any command to monitor the microphone. Don't have too much knowledge about programming in Linux. Any help appreciated!