Skip to content

marcinjahn/gnome-quicksettings-audio-devices-hider-extension

Repository files navigation

project icon Quick Settings Audio Devices Hider Gnome Extension

Get it on GNOME Extensions

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.

Gnome Outputs in Quick Settings

Tip

Also try the Quick Settings Audio Devices Renamer extension!

Configuration

The shown/hidden devices may be configured via preferences window.

Output Devices

Output Settings

Input Devices

Input Settings

Contributing

In case of problems, it's a good idea to open an Issue. If you know how to fix it, open a Pull Request!

Local Development

To run the extension locally "from sources":

git clone git@github.com: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/quicksettings-audio-devices-hider@marcinjahn.com, 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

Remarks

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.

Mentions

About

A Gnome Shell extension that allows you to hide selected devices from the Quick Settings audio devices panel

Topics

Resources

License

Stars

Watchers

Forks