Do not show this message again. - Generic One Time Popup

Rather than inventing one “Do not show this message again.” per message in python, we now have one-time-popup tool that can be called from command line by any program / script.

Usage:

/usr/lib/msgcollector/one-time-popup /path/to/status-file “window title here” “message text here”

  • If checkbox Do not show this message again. is enabled and OK button pressed, the message will not be shown again.
  • If checkbox Do not show this message again. is disabled and OK button pressed, the message will not be shown again (when the program / script that calls one-time-popup runs it).
  • If that status-file exists, it will not show a popup.

Now part of msgcollector package. Can be found here:

https://github.com/Whonix/msgcollector/blob/master/usr/lib/msgcollector/one-time-popup


Resurrected from year 2014 from here: [Solved] Gateway desktop background notice message is god-awful - #11 by troubadour originally written by @troubadour. Modifications:

  • ported to python3 / Qt5
  • use variables
  • make usable from command line
  • generic