How can you keep a record of notifications?

I'm using Radio-Tray and I would like to keep a list of the tracks which get played and I was wondering if it was possible to do this by keeping a record of the Ubuntu notifications?


Solution 1:

You can use the NotifyOSD logs from ~/.cache/notify-osd.log and extract your data. Note that the log is cleared at each login.