Ask Ubuntu Asked by fedeUbuntu on November 14, 2021
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.
Answered by WU-TANG on November 14, 2021
You could try
amixer sset Capture toggle
which will toggle the capture of your mic (on/off). You could even connect it to a key (e.g. XF86AdioMicMute -if you've got a key that invokes this event), so you would not even have to open a terminal for this.
Answered by kanehekili on November 14, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP