You are not logged in.

#1 2017-04-16 18:16:10

Bull3tM0nk3y
Member
Registered: 2016-11-22
Posts: 24

How to easily switch audio profiles/outputs on KDE 5 Plasma?

Hi there, first post here, so go easy on me if you're willing to.

How could I switch from speakers on my laptop, to HDMI output? I like to watch some things on my TV, and this would make it easier.

I know how to do it manually, but is there any package that would let me switch with a click of a button? The settings manager for KDE is close, but could I configure a button combonation to swap between HDMI to speakers for an open application? Such as firefox, MPV, etc.

Thank you for reading this, Bull3tM0nk3y.


Noobie to Arch, FLOSS advocate, and geek. Runner and lover of KDE Plasma.

Offline

#2 2017-04-20 13:33:24

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,515

Re: How to easily switch audio profiles/outputs on KDE 5 Plasma?

No idea, but scripting the actions needed for the switch and assigning them to shortcuts seems easiest way to achieve this.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2017-04-20 14:29:22

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,423

Re: How to easily switch audio profiles/outputs on KDE 5 Plasma?

Just to verify, you are aware that if you use plasma-pa you can, while having the corresponding tray menu in the systray open, go the the applications tab and start to drag $application to switch between devices? You mention the settings manager, which I understand to be you going systemsettings -> multimedia -> and move the priority there. Which indeed is a bit cumbersome.

If you really want to make it faster and on button press, I agree that writing a script and assigning it a combination is likely the most straight forward way. There's an example to cycle all open applications  to the next available sink on the Pulse FAQ page which might serve well as a starting point

Offline

#4 2017-04-20 18:53:16

Bull3tM0nk3y
Member
Registered: 2016-11-22
Posts: 24

Re: How to easily switch audio profiles/outputs on KDE 5 Plasma?

Thank you for the answers guys!


Noobie to Arch, FLOSS advocate, and geek. Runner and lover of KDE Plasma.

Offline

Board footer

Powered by FluxBB