Bug 400578 - Allow active screen edges to control volume
Summary: Allow active screen edges to control volume
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-02 09:12 UTC by Thomas Vde
Modified: 2018-11-04 12:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Vde 2018-11-02 09:12:22 UTC
This is a feature request:

To allow active screen edges to control the system volume.
Scroll up in the screen corner would turn up the volume, scroll down ... down and middle click would mute the volume.

Use cases:

Because I heard loud music a few hours ago the system-volume is still up at 100%.
Now I'm sitting in complete silence, open some web-page and a video automatically starts to play. It is screaming at me and I am shocked to the bone. 

I want to turn down the volume as fast as possible. 
Moving to the corner of the screen would be by far the fastest and convenient.
Comment 1 Martin Flöser 2018-11-02 17:59:40 UTC
This is a classic case for KWin scripts. You can bind screen edges in a script and from there control volume through dbus calls.

But this is nothing which should be added to KWin in general. It's a too specific personal use case.
Comment 2 Thomas Vde 2018-11-04 08:27:31 UTC
Thank you Martin, for your reply and your hint!

Now before I get into KWin-scripting (I am not a programmer (yet)), can you confirm, that through this avenue, I could not just trigger one single event, like launching a program for example, but a whole series of actions ... because scrolling up and down in a hot corner without moving the cursor ... would be sort of many events in succession?

If you could clarify this for me, that would be really appreciated!
Comment 3 Martin Flöser 2018-11-04 12:55:28 UTC
The screenedge functionality always triggers only one event. E.g. you could trigger and it mutes, trigger again and unmute. Our screen edge functionality is movement based, we neither support clicks nor wheel.
Comment 4 Thomas Vde 2018-11-04 12:58:51 UTC
That's a pity!

But thanks for clarifying!