It feels good to finally scratch my own itch and add support for reacting to sleep/suspend events in #wxwidgets under #Linux, see
https://wxwidgets.org/blog/2025/02/linux-power/
With these changes, my wx programs can finally save/close files/network connections when I put my machine to sleep and reopen/restore them later. I hope others find this as useful as I do!