Is there a way to see/display notifications' history on Ubuntu 18.04?

I installed indicator-notifications following this answer but, contrary to what was told in the answer,

You will find a little mailbox in the panel:

there was no icon of the tool appearing on my top-bar after I rebooted my PC.
Also, I tested the tool using : notify-send 'test message', I got a normal notification as I used to get before installing the tool, but my question is about viewing the history of notifications (like in a log file or something like that), which I didn't get using this tool (may be I miss-used it).

  • @karel I edited my post with more details, check it please. – singrium Oct 24 '18 at 17:48
  • 1
    What version are you using? (via apt-cache policy indicator-notifications). I have indicator-notifications: 0.3.3-0~ppa~bionic and it isn't working for me either in gnome-shell. I see this recent bug report saying that a fix was uploaded Bug #1763425 “Not working on bionic” : Bugs : recent-notifications , but I can't find the actual code update either at code.launchpad.net/~jconti/recent-notifications – nealmcb Nov 5 '18 at 13:13
  • 2
    Thank you for asking this question! When notify-osd was part of Ubuntu (Unity), it could be run with the "LOG=1" environment variable to log notifications. Now that gnome-shell seems to have taken over that notification function itself, I wonder if it has (or should have) a similar way to enable logging. It seems crazy to me that some of the most important events in Ubuntu show up as notifications, but not in the /var/log files, with helpful timestamps. E.g. the ephemeral warnings that The volume “Filesystem root” has only xxx MB disk space remaining! – nealmcb Nov 5 '18 at 13:36
  • 1
    See also this, though it seems kludgy and hard to parse out all the info you really want with shell commands How can I log all notify-send actions? - Ask Ubuntu – nealmcb Nov 5 '18 at 13:41
  • 2
    @nealmcb Unfortunately gnome-shell in 18.04 does not support normal indicators (only app-indicators) so indicator-notifications will not work. (The fix in that bug was just an upload to my ppa of a version compatible with unity and mate on 18.04). – Jason Conti Nov 5 '18 at 14:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.