Choose Audio Devices in Ubuntu System Tray Menu via Extension

Last updated: September 25, 2021

For laptop and desktop PC with more than one audio input and output devices, it’s possible to switch between audio devices quickly with upper right corner system tray menu.

It’s a common situation that users have more than one audio devices connected to the computer. GNOME, the default Ubuntu Desktop Environment, provides Sound settings to choose which input and/or output device to use.

To make life easier, a Gnome extension is available to integrate the settings into system tray status menu under volume control slider. So users can quickly choose a speaker, HMDI, microphone or other input device via few clicks.

The extension offers a setting dialog allows to select which device, e.g., HDMI , Speakers, microphone etc, you would like to display or hide in menu. It’s possible to hide the menu when there’s only one choice, or manually toggle visible of either menu, as well as audio profiles.

Install the audio device chooser extension:

The extension supports up to GNOME 40, it works on Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.04, and next Ubuntu 21.10. As well, all recent GNOME based Linux distros, e.g., Debian 11, Fedora 34, CentOS 8, and Manjaro are supported.

1.) Firstly, open terminal by either searching from activities overview or pressing Ctrl+Alt+T on keyboard.

2.) When terminal opens, run command to install the chrome-gnome-shell package which allows to install Gnome extensions using your web browser. Also install gnome-shell-extension-prefs (Gnome Extensions app) package, the tool to manage all installed extensions.

sudo apt install chrome-gnome-shell gnome-shell-extension-prefs

3.) Finally, go to the link button below and turn on the slider icon to install the extension.

Don’t worry if you don’t see the toggle icon, install the browser extension via ‘Click here to install the browser extension’ link and refresh the web page will make it visible.

After installation, search for and open “Gnome Extensions” from the overview screen. Then click on the gear button for this extension to configure the audio device chooser menu.

That’s all. Enjoy!

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected] Buy me a coffee: https://ko-fi.com/ubuntuhandbook1 |

4 responses to Choose Audio Devices in Ubuntu System Tray Menu via Extension

  1. That’s awesome, that’ll save me a lot of time because I have too many microphones :)

  2. Awesome extension! Thanks for the tutorial. Any idea how to use this with multiple displays? (I have two joined displays, but the extension only shows up on one of the two panels)

  3. Nasty software.

    Completely messed with the Ubuntu settings. Now, despite having it removed, it is impossible to switch to a different source output when headphones are connected – headphones become the only working output device and it is no longer possible to change the output device in Settings – Ubuntu Settings are being ignored.

    It is not worthy to install this software. Going to Ubuntu Settings perhaps was a bit unpleasant, but at least it gave a choice, and Ubuntu Settings is not permanently damaging the sound settings in undocumented way. Now I have a prospect of hours of my time wasted to see where the devs fucked their code.

  4. You can remove my rant above (got perhaps too angry). Still, not a good software in my opinion – but was relatively easy to revert the damage: rm ~/.config/pulse/* + killall pulseaudio (or restart)