Created attachment 140625 [details] error messages about parsing errors in .desktop files shown in menulibre SUMMARY After installing Okular on Xubuntu 20.04.2 LTS by sudo apt install okular menulibre reports errors in desktop files (see attached screenshot): In the first one, /usr/share/applications/org.kde.kdeconnect_open.desktop, it states Type=Service The error message tells me, Type=Application were right. After changing it accordingly, this error message does not reappear after the next invocation of menulibre. According to the error message, the other .desktop files could be parsed correctly. An unspecified error happende there. STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS: Xubuntu 20.04.2 LTS with kde-cli-tools 4:5.18.4.1-0ubuntu1 Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: 5.12 ADDITIONAL INFORMATION
Type=Service is a valid type for desktop file (which are also used for something else that menu entries), and you shouldn't change the type, or some features will be broken: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.1.html#recognized-keys https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.1.html#kde-items menulibre should support those values and ignore the files, this is not a bug in the desktop files.
On the other hand, the okular-mobile files are Type=Application. Uhm. I guess this is partially a duplicate of bug 439510 (the okular mobile desktop file message) and a menulibre bug (the kdeconnect desktop file). *** This bug has been marked as a duplicate of bug 439510 ***