22

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

int_ua
  • 8,394
  • 12
  • 78
  • 144

4 Answers4

21

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
int_ua
  • 8,394
  • 12
  • 78
  • 144
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
mertyildiran
  • 1,956
  • 2
  • 15
  • 21
Andrew Davison
  • 304
  • 2
  • 4
  • 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 05 '16 at 05: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. – Andrew Davison Feb 05 '16 at 10:02
  • Installed, the latest version `0.7.6-2svn1` – int_ua Feb 05 '16 at 23:17
  • 1
    @DavidFoerster This is clearly an attempt to answer the question. – Seth Feb 06 '16 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 '16 at 01:52
  • Filed this bug report: https://bugs.launchpad.net/ubuntu/+source/kde-runtime/+bug/1547752 Can you please verify that kdialog option works for you? – int_ua Feb 20 '16 at 02:25
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.

mockingjay
  • 91
  • 1
  • 6
2

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

Hugo
  • 121
  • 3