Last Updated: February 25, 2016
·
345
· arminas

Quick toggle Microphone with notification in Ubuntu

Add custom shortcut like Ctrl+Alt+M with command:

bash -c 'amixer set Capture toggle | tail -1 | grep -oP "\[(on|off)\]" | xargs -I {} notify-send "Microphone is {}" -t 1'