Friday, March 3, 2017

gnome - How to clear system tray notification via command line

I have an application which produces system notification every 5 seconds.



Overtime the notification tray I have (Gnome env) gets crowded.



How can I clear it like every minute but I need to do this via bash so that I can automate it later.



EDIT



I think I haven't made my question clear hence this edit.




I want to see the notifications. But as this is in GNOME env it gets accumulated in the notifications tray unless manually cleared.



I don't want to clear it manually... I want to clear it automatically after every 1 min. So I am looking for a way to do that from the command line so that I can later on code that into my application



Hope I have made my question clear...

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...