Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am looking for the source code for a plasma kind of popup and edit it to display my own messages.

enter image description here

This is the type of the popup i have been looking for. Can anyone suggest me some links. Thank you.

share|improve this question
2  
It's called NotifyOSD. –  Uri Herrera Apr 19 '13 at 7:10

1 Answer 1

up vote 2 down vote accepted

The package you're looking for is notify-osd.

Installation:

  • Open a terminal (Ctrl+Alt+T).
  • 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

enter image description here

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.

share|improve this answer
    
Wow! This is exactly what i needed. Thanks a ton. –  thanmai Apr 19 '13 at 8:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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