This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Dual monitors - Automatic sound output switch

0

Votes
0
0
Tags: audio, hdmi, dual monitors audio, hdmi, dual monitors audio, hdmi, dual monitors
(comma "," separated)
lexikon
Registered Member
Posts
17
Karma
0
Hello! Sorry for bad english.
I have two monitors: laptop and another monitor with HDMI connector.
Desktop extended on second monitor. The second monitor has speakers.
I would like to offer the ability to automatically change the output device(HDMI) when moving windows to the second screen. Sound is output only from the window, which was moved to another desktop.
For example, I move the browser to another monitor. The sound from the browser should play through HDMI
;D
Lachu
Registered Member
Posts
864
Karma
1
OS
This probably impossible. There's no information, which window create which sound.


Lachu, proud to be a member of KDE forums since 2008-Nov.
lexikon
Registered Member
Posts
17
Karma
0
Why I can see in this window list of applications wich play sound?
Image
Its possible.
Example: there is a system event that fires when you change the position of the window(in KDE by default, there are hot keys for placing a window on a different screen, therefore you can find an event that fires when a specified key combination). When this system event can change the sound output to another channel.
fneu
Registered Member
Posts
4
Karma
1
OS
lexikon wrote:Why I can see in this window list of applications wich play sound?


You can see the applications but not the windows that play sound. The same application can have multiple windows on multiple monitors. I think that's what Lachu meant.

If the hotkey functionality is enough for you you might be able to cook up a script for your specific usecase, and bind it to a key.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]