I am trying to send a simple notification with
And nothing shows up. However
notify-send "Linux" -t 0
shows a dialog box like this
How can I make notify-send to send a normal notification in the top corner?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
notify-send time out parameter is set with
-t switch. In your case it is
-t 0 or 0 seconds which is translated as "forever". As such rather than a normal pop-up bubble in the top right it is displayed as a dialog box.
So for this part of your question the system is performing normally.
The urgency level can be passed as "low", "normal" or "critical" using the
-u switch. In your environment (for reasons yet to be discovered) only messages with urgency level "critical" are appearing:
notify-send --urgency=critical "Critical test"
If you're watching a video the normal urgency messages will not appear. This is known as "Do Not Disturb" mode introduced in Ubuntu 10.04.
I tested this in both FireFox and Chrome in both full screen and non-full screen under Kernel versions 4.4.0-104 and 4.4.10-42.