To add to what sherman said, NickelDBus is as essentially as safe and compatible as NickelMenu (they both have extensive error-checking and a failsafe mechanism through NickelHook).
NickelDBus provides a nicer way to do things which have previously been done with heuristics, hacks, guesswork, or haven't even been possible. This includes detecting when books have been imported, controlling WiFi, cleanly shutting down, detecting the currently open view, and showing confirmation boxes. It also provides a way for scripts to show dialog boxes.
If you want to play with it, you can use qndb over telnet or SSH.
I'll add some examples here later.
Also, if you're wondering why not all NM actions are supported, I review each one to ensure it is safe to call in the background without any user interaction (and I tend to stay on the safer side if possible). This is why, for example, you can't call most actions during USBMS even though it's technically possible to do.
Last edited by geek1011; 08-29-2020 at 01:33 PM.
|