On Sunday, 19.05.2019 at 12:42, Jamie Zawinski wrote: > Wow, this seems like a huge amount of code to do such a simple thing! Is > that... normal? Is this really how insane the world has gotten?
Unfortunately, yes, this is the simplest I could do. It's also why I abandoned all my previous attempts to make this work, before finding out today about sd-bus all the other existing DBUS APIs I tried are either totally insane or force you to buy into all of the glib object proxy nonsense just to do a simple method call. > Also: I thought that -deactivate would power on the screen by itself, so that > xset isn't necessary? Without it my screen remains off (no backlight, so actually hard off) and I have to press a key to get the dialog to show. However, this might be an artifact of my hardware (Panasonic CF-SX3, uncommon outside of Japan). I'd appreciate if others can test and let me know if the xset is mandatory. -mato

