4

I would like to know which function on command line that pops up "select audio device":

enter image description here

Vitor Abella
  • 8,015
  • 16
  • 63
  • 115

1 Answers1

3

One way is to run the below command,

gdbus call --session --dest org.gnome.Shell.AudioDeviceSelection --object-path /org/gnome/Shell/AudioDeviceSelection --method org.gnome.Shell.AudioDeviceSelection.Open "['HEADPHONES', 'HEADSET', 'MICROPHONE']"

enter image description here

I am not able to reproduce your use case, as I dont have resources like headset or microphone. So I doubt the Options from above command really activates your choice. Try it.