This is a Gnome Shell Extension that allows you to hide the devices that you do not need in the Quick Settings Audio Panel. It supports both output and input devices. It makes it easier to switch fast between your audio devices when the panel is decluttered from the entries you're not going to ever choose anyway.
Tip
Also try the Quick Settings Audio Devices Renamer extension!
The shown/hidden devices may be configured via preferences window.
In case of problems, it's a good idea to open an Issue. If you know how to fix it, open a Pull Request!
To run the extension locally "from sources":
git clone [email protected]:marcinjahn/gnome-quicksettings-audio-devices-hider-extension.git
cd gnome-quicksettings-audio-devices-hider-extension
npm i
npm run build
npm run linkdist
The last command will creae a soft link at
~/.local/share/gnome-shell/extensions/[email protected]
,
which allows you to enable the extension on your system (e.g., via Extensions
Manager).
Anytime you change anything, rebuild the extension with npm run build
, and
restart the session:
- on Wayland, log out and log in (I know, it's painful),
- on X11, open "Run a Command" dialog (Alt + F2), type "r" and press Enter
Note that the extension does not disable the device in the system. All the devices are still going to be visible in the Control Panel. All this extension does is to hide the unneeded devices from the Quick Settings panel.