Now xubuntu have dispensed with the xfce-mixer applet in preference to pavucontrol, I have to enable or unmute my microphone/line-in input with alsamixer. There doesn't appear to be any other way of doing it, or have I missed something?
Now xubuntu have dispensed with the xfce-mixer applet in preference to pavucontrol, I have to enable or unmute my microphone/line-in input with alsamixer. There doesn't appear to be any other way of doing it, or have I missed something?
No longer participating......
Try using the amixer command. Something like:
...andCode:amixer sset 'Internal Mic',0 mute
You need to replace 'Internal Mic',0 with the actual mixer name that can be obtained by running just:Code:amixer sset 'Internal Mic',0 unmute
Code:amixer
OK Toz, that's a good cli alternative,
I have been using:
to good effect on another little projectCode:amixer set 'Mic',0 'Playback' <'on'/'off'>
but is there no applet that will do it?
No longer participating......
You could create a new launcher that runs a microphone mute toggling script something like this:
Then by clicking on the launcher it will toggle the state of the microphone.Code:#!/bin/bash #get mic status MIC_STATUS=off amixer get 'Internal Mic',0 | grep "\[off\]" > /dev/null || MIC_STATUS=on case $MIC_STATUS in on) amixer sset 'Internal Mic',0 mute ;; off) amixer sset 'Internal Mic',0 unmute ;; *) ;; esac
OK, had a pour over synaptic and found xfce4-mixer. Installed that, and got the old volume mixer back, by adding the volume plugin from Panel (right click) > Add New Items.
No longer participating......
Bookmarks