Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Q: How to make Qt KDE tray notification from Bash script ?

A: @SO: Activating KDE 4 notifications from bash scripts

Q: How to make notifications from scripts running as root ?

A: @Unix.SE: Show a notification across all running X displays

Q1: Ok... I see kdialog and notify-send send tray notification. Am I right only notify-send -i allows to setup notification icon?

Q2: In example there is notify-send -i 'dialog-information' icon -> what are other icons available by default ?

Q3: Will it work with other window managers ?

share|improve this question

notify-send --icon=/path/to/XX.png will only set the icon displayed in the dialog,

But for the tray icon, you need to refer to your KDE plasma theme, which is theme_dir/icons/notification.svgz

To find all your kde plasma themes installed, check out these two locations,

/usr/share/kde4/apps/desktoptheme/ (system location)

And ~/.kde4/share/apps/desktoptheme/

share|improve this answer
Could you improve your answer to make it useful for others ? Could you provide an example how to find KDE plasma theme to check pictures available there. Is there any standard which should be provided by all themes (like "notification") ? – Grzegorz Wierzowiecki Aug 24 '12 at 20:47
@GrzegorzWierzowiecki yeah, that's a standard – warl0ck Aug 25 '12 at 1:37
By "standard" I meant: What icons have to be provided by standard? I assume there must be some minimum set required. – Grzegorz Wierzowiecki Aug 25 '12 at 9:06

Your Answer


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.