I’ve written a tool to filter and bundle journal entries for forwarding via DBUS to raise desktop notifications. I use it in two ways:
- I have various timer jobs that I like to say aware of. For example, my desktop backup timer-jobs.
- I want to be more aware of things that are happening in my desktop system. For example, a little while ago an application’s background task was constantly dumping core due to a library mismatch, the only outward sign was my desktop bogged down.
In the past I’ve used email to keep me informed about my own timer jobs, but that was always too reliant on my taking the time to read the emails. Last year I wrote notify-desktop script that allows root jobs to raise DBUS notifications for the currently desktop user:
My notify-desktop script is OK for jobs I’ve written, but not helpful for anything else, such as the offending application mentioned above.
Recently it occured to me that I could filter the journal and forward notifications to the desktop via DBUS. So I wrote a python Qt application, here’s a screenshot:
I’ve pretty much added all the features I need. Jouno is not a historical-view backward-searching tool, it’s more a tool for staying aware of what’s going on right now or staying current with recent events. It can optionally be used more like GUIfied journalctl -f, notifications can be turned off, and it does feature incremental and regular-expression search. It could be used quite narrowly by filtering down to the exact task or more widely by leaving the filtering open and just filtering to ignore the noise (most of the KDE logging is annoying noise).
If it’s something that might be of interest, there is a full rundown of features at github:
The application is a single python script, so there’s not much to install, but as detailed on github I have also used the OpenSUSE build service to make community RPM’s:
But it’s just as easy to grab the script and run it (providing a user already has journal access, no additional permissions are required).