pynotifier icon indicating copy to clipboard operation
pynotifier copied to clipboard

Update or close notification

Open sebastian-65 opened this issue 2 years ago • 5 comments

It would be useful to have an ability to:

  • update existing notification with new content
  • close existing notification

Or maybe I'm just missing some way to do this?

sebastian-65 avatar Jun 01 '22 08:06 sebastian-65

It is possible to implement the update functionality, on Linux at least, with the patched version of libnotify-bin library. I will do it as soon as possible. Now I can not say if it can be done for macOS and Windows.

YuriyLisovskiy avatar Aug 04 '22 09:08 YuriyLisovskiy

That would be awesome! Thank you so much, Yuriy!

sebastian-65 avatar Aug 04 '22 10:08 sebastian-65

That would be awesome! Thank you so much, Yuriy!

Unfortunately, after some research, I found out that there is no stable release of libnotify-bin package with notification updating functionality for Ubuntu 20.04 or older. There is a stable release only for Ubuntu 22.10. I will try to test if it works on Ubuntu 22.10 and add this functionality in the future.

If you are using another Linux distro, please let me know, and I will check if libnotify-bin is available there.

YuriyLisovskiy avatar Nov 30 '22 21:11 YuriyLisovskiy

I'm on Arch linux.

sebastian-65 avatar Dec 01 '22 13:12 sebastian-65

I was looking for this too. Do you plan to implement it?

(In any case, thank you for your work!)

hmijail avatar Aug 10 '23 04:08 hmijail