Description
Dbus activated processes currently live in transient units with the scheme dbus-<unique>-<ServiceName>@<instance>.service
. The systemd Desktop Environments Integration specification says that applications should be in service or scopes which follow the following scheme app[-<launcher>]-<ApplicationID>[@<RANDOM>].service
.
xdg-desktop-portal relies on this convention to derive the app id of a calling process (when the application is not authenticated by a sandboxing specific code path). This however breaks for apps started by dbus-broker. It would be nice if it followed the convention.
Can we change the schema to app-dbus-<ServiceName>@<unique><instance>.service
? Not all services are applications. Should we change the schema only if the service has a corresponding desktop file?