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.
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...