This is already covered, in that case find_package_desktopfile() returns None.
> only look for .desktop files in /usr/share/applications/ within the package
But that would exclude autostart desktop files, which we specifically want to include as those kinds of packages are also "user-visible" in most cases, so we don't want to describe them as "system service". But we can certainly filter for only those and /usr/share/applications/.
> (1) A package contains multiple .desktop files.
This is already covered, in that case find_package_ desktopfile( ) returns None.
> only look for .desktop files in /usr/share/ applications/ within the package
But that would exclude autostart desktop files, which we specifically want to include as those kinds of packages are also "user-visible" in most cases, so we don't want to describe them as "system service". But we can certainly filter for only those and /usr/share/ applications/ .