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.
This extension does not play well with the Quick Settings Audio Panel extension. Its option to "Always show microphone volume slider" might not work when Quick Settings Audio Devices Hider is enabled. A workaround could be to install [QSTweak] Quick Setting Tweaker, which has a similar functionality under the toggle "Always show input" under the "Input/Output" tab.