I have two audio devices on my Ubuntu 20.04 machine: Built-in Audio and a USB sound device, and I only want to use the USB device; I don't need the Built-in Audio at all, and I'd like to disable it (because then I never have to worry about selecting a sound device in video conferencing apps and the like). I can disable the Built-in Audio device in PulseAudio Volume Control (pavucontrol
) by setting "Built-in Audio" to "off", and I can also do this same action from the command line with pactl set-card-profile alsa_card.pci-0000_00_03.0 off
and that all works. However, if I lock the screen and then unlock it again, that card gets re-enabled! How can I set it to off so that it stays off?
Asked
Active
Viewed 383 times
0

sil
- 4,297
pulseaudio --kill
andpulseaudio --start
– d1bro Jun 22 '20 at 22:17pacmd suspend-sink alsa_card.pci-0000_00_03.0 1
andpacmd suspend-source alsa_card.pci-0000_00_03.0 1
any difference? and i guess you had a look at this https://askubuntu.com/questions/71863/how-to-change-pulseaudio-sink-with-pacmd-set-default-sink-during-playback/72076#72076 – d1bro Jun 22 '20 at 22:34pacmd list-sources
andpacmd list-sinks
would be the commands to find the proper sinks and sources and there is alsopacmd list-cards
– d1bro Jun 24 '20 at 12:56