Results 1 to 1 of 1

Thread: How to Create A Keyboard Shortcut For Mute Microphone

  1. #1
    Join Date
    Jan 2007
    İstanbul / Turkey

    Lightbulb How to Create A Keyboard Shortcut For Mute Microphone

    I was looking for a solution for keyboard shortcut to mute my Logitech C310 webcam microphone and i finally figure out how to do it.
    Just want to share here if anyone looking for a solution.

    Probably it will work for all kind of microphone

    First open System Settings and then go to Keyboard Setting, click Shortcuts tab

    Under the Custom Shortcuts add a new one and name it Toggle Microphone
    See screenshot below.

    In command add this
    amixer -c 1 sset Mic toggle
    İf you want a desktop notification you can type
    amixer -c 1 sset Mic toggle && amixer get -c 1 Mic | grep '\[off\]' && notify-send "MIC switched OFF" || notify-send "MIC switched ON"
    You can use it for internal microphone too but you have to figure it out what is the name of your microphone
    For that you can see all list below command and pick your microphone
    amixer contents
    If your mic is not a USB connected one remove -c 1 in the command.
    Hope it will be usefull.
    Attached Images Attached Images
    Last edited by Erdem; November 9th, 2016 at 01:50 AM. Reason: topic change

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts