That's the LSB way more than the PulseAudio/systemd way.
LSB way fails for very simple reason: a lot of "useful and obvious" stuff is done in different way on different distros. How to show a notification? How to play sound or video? How to add your program as a default handler for files it creates? All these task are not standardized by LSB because different distributions do this differently - but these are mundane tasks which are needed to be supported for good user experience! Windows supported them twenty years ago and Android supported them from the day one!
Sadly it does not look like we have anyone who can do such API: Canonical is too small and RedHat ignores desktop. Thus we are stuck with this hodge-podge for now. Perhaps Valve can solve this problem? We'll see.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds