Notification with desktop-entry disappears immediately
In order to be able to turn notifications on and off, I created a desktop-entry called foobar.desktop according to :
[Desktop Entry] Name=Foobar ... X-GNOME-UsesNotifications=true
But when I execute the following code the notification pops up and disappears immediately (see gif attached), is this a bug or am I doing something wrong?
notify-send "foo" "bar" --hint=string:desktop-entry:foobar
Same behaviour with zenity:
zenity --notification --text="foobar" --hint="desktop-entry:foobar"