I am looking for the source code for a plasma kind of popup and edit it to display my own messages.
This is the type of the popup i have been looking for. Can anyone suggest me some links. Thank you.
The package you're looking for is notify-osd
.
Installation:
Run the following command:
sudo apt-get install notify-osd
Usage:
You can run it using notify-send
.
For example, to make a notification:
notify-send <message>
where <message>
is the message you'd like in the notification.
So, if you write notify-send "Hello World"
, the output would be something like
There are plenty of other options which you can read on the man page.
-u, --urgency=LEVEL Specifies the urgency level (low, normal, critical).
-t, --expire-time=TIME Specifies the timeout in milliseconds at which to expire the notification.
-i --icon=ICON[,ICON...] Specifies an icon filename or stock icon to display.
P.S.: If you'd like to modify the notifications, here is an answer that does just that.