openpaperwork / paperwork

Personal document manager (Linux/Windows) -- Moved to Gnome's Gitlab
https://gitlab.gnome.org/World/OpenPaperwork/paperwork
2.43k stars 149 forks source link

Run scripts on trigger events #337

Open jflesch opened 10 years ago

jflesch commented 10 years ago

TODO: Find good examples of use cases

Running scripts on some events could be handy. The scripts to run could be defined by the user using hidden options in the configuration file (--> no GUI modification).

Events:

Possible problem: Paperwork has many file descriptors opened (mostly due to a problem with PDF support). When forking+exec, scripts will inherit these file descriptors. Hopefully it shouldn't be much of a problem.

jflesch commented 10 years ago

See #214

jflesch commented 7 years ago

Example of use case: https://groups.google.com/forum/#!topic/paperwork-gui/sFRYc89QMSA