powermate-linux icon indicating copy to clipboard operation
powermate-linux copied to clipboard

Show libnotify message on volume change.

Open etiam opened this issue 10 years ago • 6 comments

i added desktop notifications of the volume change via libnotify as i was missing that feedback. if you're interested.

update: didn't test it that much. after running for a few minutes notifications don't appear. first time using libnotify so i'm probably missing something.

etiam avatar Jan 04 '16 04:01 etiam

That's very cool. I'll try it out tomorrow.

I'd be happy to hear any other suggestions that you might have. Thanks.

stefansundin avatar Jan 04 '16 06:01 stefansundin

I tried it and it works good for me. I would probably make it an option though (or probably a command line switch), so I have to figure that out.

It would be cool if we could somehow invoke the system's built in volume notification. I was looking for a way to do it but couldn't find any.

stefansundin avatar Jan 06 '16 04:01 stefansundin

i think i figured out a workaround for the notifications stopping appearing. it's been running for an hour for me with no problems.

i looked for a way to trigger the default volume notification with no luck as well. on mint it seems that there's a separate system for listening for XF86AudioXXX messages and popping something up. i think recent gnome is just using libnotify.

if you want some help with a build setup for only building libnotify stuff if it's available i can include an autoconf setup.

etiam avatar Jan 07 '16 06:01 etiam

I didn't have any problems with notifications stopping appearing. Maybe there's a difference in libnotify versions between Mint and Ubuntu.

stefansundin avatar Jan 07 '16 07:01 stefansundin

i'm using 0.7.6 on mint. maybe it's just a bug. does seem strange to need to restart it.

On Wed, Jan 6, 2016 at 11:44 PM Stefan Sundin [email protected] wrote:

I didn't have any problems with notifications stopping appearing. Maybe there's a difference in libnotify versions between Mint and Ubuntu.

— Reply to this email directly or view it on GitHub https://github.com/stefansundin/powermate-linux/pull/1#issuecomment-169587392 .

etiam avatar Jan 07 '16 08:01 etiam

+1 for this

timmillwood avatar Feb 01 '17 10:02 timmillwood