I would like to enable or disable the microphone in the Terminal. How can I do it? For example, I use
sudo modprobe -r uvcvideo to disable the webcam and
sudo modprobe uvcvideo to enable it. Is there a command to to the same thing with the microphone?
wutang@shaolin:~$ gsettings list-recursively | grep mic org.gnome.desktop.privacy disable-microphone false org.gnome.shell.overrides dynamic-workspaces true org.gnome.settings-daemon.plugins.media-keys mic-mute [''] org.gnome.settings-daemon.plugins.media-keys mic-mute-static ['XF86AudioMicMute'] com.canonical.unity.settings-daemon.plugins.media-keys mic-mute 'XF86AudioMicMute' org.gnome.mutter dynamic-workspaces true
wutang@shaolin:~$ gsettings set org.gnome.desktop.privacy disable-microphone true
I actually don't know the effect of this... I am using MATE and a lot of gnome stuff doesn't have any effect on MATE so I cannot confirm. There is usually an org.mate counterpart, but not for this one.