4

I am running gnome 3.24.2. When I run notify-send from bash, it seems that the notification is shown for a default of 5 seconds, as expected. But then it seems to linger in the notification tray forever until the user decides to clear it. Is there a way for it to just expire completely without hanging out in the notification tray, much like a popup?

current behaviour:

  1. show notification for 5s
  2. remain in notification message tray

expected behaviour:

  1. show notification for 5s
  2. dissappear from notification tray

I am struggling to find resources that help understand how to use notify-send. notify-send --help is not particularly useful either.

5

This will provide the behavior you're looking for:

notify-send --hint=int:transient:1 hello
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.