[SOLVED] Volume notification steals focus from panel slider

Everything about X, Gnome, KDE, ... and everything running on it

[SOLVED] Volume notification steals focus from panel slider

Postby marc1uk » 2018-03-02 05:01

Hi all,
I'm running Debian 9 with XFCE and have the PulseAudio panel applet running, with notifications enabled.
The notifications are handy to give visual feedback of volume level when changing the volume with the keyboard media keys.
The panel applet has a popout slider from which the volume can be changed with the mouse, which is also nice.
Unfortunately, though, the two don't play nice together, despite both being part of the Pulseaudio panel plugin. The notifications and the panel slider occupy the same position on the screen, so that as soon as the slider is touched - changing the volume - the notification bubble pops up over the top of it, stealing focus. Unfortunately, this renders the slider useless.

Image

Does anyone know if there's a fix for this? It seems bizarre to have two basic features counteract each other in this way.
Last edited by marc1uk on 2018-03-22 03:47, edited 1 time in total.
marc1uk
 
Posts: 17
Joined: 2011-12-31 15:27

Re: Volume notification steals focus from Pulseaudio slider

Postby bw123 » 2018-03-02 09:06

drag the notification out of the way?
User avatar
bw123
 
Posts: 3572
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Volume notification steals focus from Pulseaudio slider

Postby marc1uk » 2018-03-02 16:09

The notification balloon isn't draggable.
marc1uk
 
Posts: 17
Joined: 2011-12-31 15:27

Re: Volume notification steals focus from Pulseaudio slider

Postby ruffwoof » 2018-03-02 17:33

Something like (I'm not running xfce but recall getting rid of the volume bubble)

Settings->Session and Startup->Application Autostart and disable the xfce volume daemon
ruffwoof
 
Posts: 280
Joined: 2016-08-20 21:00

Re: Volume notification steals focus from Pulseaudio slider

Postby marc1uk » 2018-03-02 19:02

I suppose that would work to disable the notification, but the notification has it's uses (e.g. when using multimedia keys).
Ideally i'd like to keep both features, but not them interfere - e.g. not have the notification bubble show when using the slider. Or have the notification not steal focus.
Maybe i'm just asking to both have my cake and eat it. :|
marc1uk
 
Posts: 17
Joined: 2011-12-31 15:27

Re: Volume notification steals focus from Pulseaudio slider

Postby bw123 » 2018-03-02 20:34

The notification app is probably a separate program from the vol applet, so it needs tweaking. Look for it's name with $ ps ax | grep notify and read the man page. Or maybe try websearch for 'xfce notification position' there's almost always a way.
User avatar
bw123
 
Posts: 3572
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Volume notification steals focus from Pulseaudio slider

Postby marc1uk » 2018-03-03 02:22

You're right, the sound applet is xfce4-pulseaudio-plugin, which sends the notifications through to xfce4-notifyd. Unfortunately neither are particularly configurable; i guess the most sensible solution would be for xfce4-pulseaudio-plugin not to send notification triggers when the slider is used, but perhaps that's easier said than done. I've raised the issue on the xfce4 bug tracker.
in the meantime, i guess disabling one of the two :( or switching notification daemon to something like notify-osd, which has clickthrough so shouldn't steal focus (probably) are the workarounds...
marc1uk
 
Posts: 17
Joined: 2011-12-31 15:27

Re: Volume notification steals focus from Pulseaudio slider

Postby None1975 » 2018-03-03 13:14

marc1uk wrote:You're right, the sound applet is xfce4-pulseaudio-plugin, which sends the notifications through to xfce4-notifyd.

Instead of xfce4-notifyd, you can use dunst. This is a lightweight replacement for the notification-daemons provided by most desktop environments.
User avatar
None1975
 
Posts: 701
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Volume notification steals focus from Pulseaudio slider

Postby marc1uk » 2018-03-22 01:12

Thanks for the suggestion. I'd prefer a fix than a replacement, really. And it seems i'm in luck! This bug is in xfce-pulseaudio-plugin v2.4, it was fixed in v2.5! :D
marc1uk
 
Posts: 17
Joined: 2011-12-31 15:27


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable