Created attachment 123841 [details] Screenshot of both instances appearing in menu SUMMARY After installing the Okular snap and then typing okular into the menu on gnome, Iām seeing two icons. Both of them launch the app. In /var/lib/snapd/desktop/applications there appears to be two .desktop files for okular. There is okular_okular.desktop file that I would expect to see, but there is also a okular_org.kde.okular.desktop as well. STEPS TO REPRODUCE 1. Install as snap 2. Type "okular" into menu OBSERVED RESULT Two icons for application are present EXPECTED RESULT Only one icon for the application SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Ubuntu 18.04.3 (installed as a snap) (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
This is the .desktop file for the mobile version. Bhushan, any ideas?
FYI, this secondary desktop file appears in the official okular package on Arch Linux as well. The "main" desktop file of Okular is located here: /usr/share/applications/org.kde.okular.desktop And the one you mentioned, which is meant for the "/usr/bin/okularkirigami" binary, sits here: /usr/share/applications/org.kde.okular.kirigami.desktop Also worth mentioning that desktop file for Okular Kirigami _does not_ have a "Categories" section in it, so when you open the Application Launcher in Plasma, the Okular Kirigami program shows under the "Lost & Found" section instead of "Graphics".
You have to choose which version to compile now