Thursday 10 May 2012

Muting from the Command Line in Linux

I often want the sound on my pc to go off after a specific amount of time (usually watching TV in bed) to save it going on all night...this command makes my pc mute after 1800 seconds - the second half might vary if you don't use alsamixer.


sleep 1800 && amixer set PCM 0%

No comments:

Post a Comment

Leave a comment!

Can we just autofill city and state? Please!

Coming from a country that is not the US where zip/postal codes are hyper specific, it always drives me nuts when you are filling in a form ...