24

I've tried a number of options, none of them worked:

notify-send 'text'
kdialog --passivepopup 'text' 5
qdbus org.kde.knotify /Notify event "event" 'app' "(" ")" 'title' 'text' 'pixmap' '' 5 0

Update: first two options should work, in my case the problem is a KDE bug with autohiding panel: KDE5 popup notifications not shown if panel is autohidden

4 Answers 4

24

At least first two options should work, I just have a problem with notifications in KDE in general: https://bugs.launchpad.net/ubuntu/+source/kde-runtime/+bug/1547752

notify-send 'text'
kdialog --passivepopup 'text' 5
1
  • 1
    Very helpful re. kdialog! I couldn't get notify-send's urgency=critical to work!
    – DK Bose
    May 27, 2020 at 14:38
18

On my install of Kubuntu 15.10 and KDE neon, notify-send command was not available until I installed the libnotify-bin package.

After installing libnotify-bin, notify-send works fine:

sudo apt-get install libnotify-bin
6
  • Thanks for the info, maybe I deleted some package or disabled some service, but in my case it just returns exit status 0 and I don't see any notifications.
    – int_ua
    Feb 5, 2016 at 5:15
  • Perhaps check if libnotify4 is also installed? This was already present on my system but may have been a dependency from some other package. Feb 5, 2016 at 10:02
  • Installed, the latest version 0.7.6-2svn1
    – int_ua
    Feb 5, 2016 at 23:17
  • 1
    @DavidFoerster This is clearly an attempt to answer the question.
    – Seth
    Feb 6, 2016 at 17:50
  • Looks like none of notification popups work at all on my main installation. I'll recheck on a default installation.
    – int_ua
    Feb 20, 2016 at 1:52
4

first 'notify-send' did not work for me. But when I enabled 'notifications' widget (/icon or whatever) in Tray, it worked.

Try enabling the Tray notifications applet.

2

In my case: I was in Do not disturb mode and had forgotten about it.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .