If I walk away from my PC, then there is a good chance I might miss certain notifications. I've seen in KDE that notifications get stored and stacked until you click them (or whatever).
Unless I'm missing something, Ubuntu doesn't seem to have a history of clickable notifications.
Is there a way to do this?
Take Recent Notifications.
In a terminal run:
Alternatively you could download the package directly on the launchpad-site. For Ubuntu 11.10 Oneiric on an i386-machine choose
indicator-notifications_0.1.4-2~ppa~oneiric_i386.deb
. (Don't installrecent-notifications
)After installing run Alt+F2
unity --replace
.You will find a little mailbox in the panel:
It is possible to align the icon to your desktop theme, i. e. when you use Faenza:
To stop it you need to unistall it:
Then again run Alt+F2
unity --replace
.To remove the ppa run:
The comment linked here, Is there a way to view notification history?, asked:
Yes
Open two terminal windows (Ctrl+Alt+T+T). The extra window is needed only for test purposes.
Monitor notifications in one of the terminal windows with:
(to stop it, close the window or type Ctrl+C)
Note that running this script only shows those notifications occurring from the time it is started and must be run prior to the processes and aps. for which the history is desired. If the terminal window has an insufficient scrollback size either change the scrollback lines in Edit > Profile Preferences > Scrolling or record the history as described next.
To record the output in a permanent log just redirect it to a file by adding
>>path/filename.ext
to the end of thegrep
line. To record and view the notices append| tee >>path/filename.ext
to thegrep
line.Test it.
Results
Judicious use of
grep
andsed
etc. can pretty print the notifications that are crudely shown below for these monitored examples. The text that matches the graffiti in the notification pop-up bubbles is shown inbold
. The two strings preceding those are the ap. making the graffiti (ie. "NetworkManager" or "notify-send") and the name of the icon, if any, (ie. "notification-network-wireless-disconnected") to show in the pop-up bubble.. . .
cross references:
... to be done ...
How to do this in 18.04 and beyond:
Keyboard shortcut:
Cmd-V
Via the mouse: Click on the clock in the top center of the screen.
The notifications appear in the left half of the pane that pops up.