Right-click the icon of the application in the task manager when the application is running and select “Pin to task manager”. This will turn it into a launcher.
With the version from the Manjaro repository, after installing and running it, I pinned the application the to the task manager, and it still vanishes from the task manager once I close it.
With the Appimage version from OnlyOffice, and the Flatpak version from Flathub/Discover, the application remains pinned and accessible, hence it seems to be an issue with the Manjaro packaging.
I am running Manjaro KDE with Wayland, testing, latest.
I can run the Appimage or Flatpak versions instead of course, however they have downsides:
a) I can’t edit the template files, which means I’m stuck with changing the font, size, and language every time I start a new document (there is currently no way to change the default in the UI), and
b) only the Manjaro installed version uses the system fonts, the other versions use a limited built-in font set.
In Wayland, the AppId must match the filename of the .desktop file
The app_id is org.onlyoffice.desktopeditors.desktop
In Appimage and Flatpak version this is correctly set
In the Manjaro respository this is set to onlyoffice.desktop
This should be changed in our respository version.
I changed the .desktop filename to org.onlyoffice.desktopeditors.desktop and it works.
If anyone is running Wayland and finds an app that does not either show it’s icons properly, or let you pin it to the task manager, try the following (using Master PDF Editor as an example):
Find the .desktop file for the app and note the name, in this example masterpdfeditor.desktop
It might be in /usr/share/applications or ~/.local/share/applications
Open the .desktop file in a text editor and find out what the application executable file is called
In this example it was: Exec=/opt/master-pdf-editor-5/masterpdfeditor5 %f
So the executable was masterpdfeditor5
Check the app_id
Enter this in a console: WAYLAND_DEBUG=1 your_program_exec_file_name |& grep ‘xdg_toplevel@[0-9]+.set_app_id’
In this example, I replaced your_program_exec with masterpdfeditor5
It should show you the app_id which might look something like
"xdg_toplevel@28.set_app_id(“net.code-industry.masterpdfeditor5”)
Therefore the .desktop file should be named net.code-industry.masterpdfeditor5.desktop
If it’s not change it.
Test the app now works correctly on Wayland.
Inform the packager and/or the application creator and send them the link to this to explain.
Sorry for bothering you, but you did something wrong.
Still onlyoffice.desktop instead of org.onlyoffice.desktopeditors.desktop as was mentioned before. The icon can’t be pinned to Task Manager.
-v: 6.1.0-3
P.S. perhaps it’s because I updated OnlyOffice… but nothing has changed after rebooting/ reinstalling.