Sample Header Ad - 728x90

Switch audio output by keyboard in KDE Plasma

1 vote
2 answers
1836 views
I would like to have a way of switching the audio output device (internal speakers/headphones to bluetooth speakers etc) by keyboard actions (which I usually can do without searching, finding and putting my glasses on my nose). Plasma tray elements can be activated with shortcuts, and thus I can connect, disconnect, switch between bluetooth devices by keyboard, because when the drop-down menu is visible, selection with arrow-keys and Enter to activate does the trick. enter image description here enter image description here But that doesn't work when trying to switch between audio devices themselves. I can bring forth the audio volume tray element with a shortcut: enter image description here but further interaction by keyboard is limited to volume level. There is a widget called [audio device switcher](https://store.kde.org/p/1195707/) which brings the options more to the front, but its shortcut does nothing. Overall, it lacks keyboard interaction. The closest thing to what I want is to simply disable bluetooth by the first method *IF* that device is the one that is currently playing...
Asked by cipricus (1779 rep)
Nov 21, 2023, 12:41 PM
Last activity: Jul 16, 2025, 01:36 PM