I want to query the messages that were already sent with notify-send in the running session from within a script. Is that possible?

  • I don't think you can unless you start listening to notifications (at session start-up, that is) and log them to a file. – don_crissti Jul 26 '15 at 18:46
  • What approach would enable me 'to listen' to libnotify processes? – Cutú Chiqueño Jul 26 '15 at 18:49
  • Have a look here... You'll have to adapt those python scripts to your needs (extract only the message text and save it to a log file) – don_crissti Jul 26 '15 at 18:56

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.