For GNOME based desktops, a python utility to read previous notifications via dbus, pair with notify-send
$ ./install.sh
- Install enables a desktop file addition to the startup applications that will run a notifications monitor on startup.
- Desktop notifications sent by applications and notify-send are logged by timestamp to ~/.cache/notifications.log
$ watch cat ~/.cache/notifications.log
$ notify-read -n50 -a "notify-send"
$ notify-read -n1 -a "spotify"
$ notify-read -n20 -a "networkmanager"
$ grep -i "networkmanager" ~/.cache/notifications.log