Add StartupWMClass to .desktop files

General questions and answers about FreeOffice 2018 for Linux. Don't post application-specific questions here, but in the appropriate subforum.
Post Reply
jaygambrel
Posts: 1
Joined: Wed Jun 09, 2021 10:42 pm

Add StartupWMClass to .desktop files

Post by jaygambrel » Wed Jun 09, 2021 10:47 pm

I'm not sure if this is the correct place to make this request. When I start TextMaker xprop lists WM_CLASS(STRING) = "tm", "tm" and so the icon for TextMaker doesn't display properly in my dock in Gnome. I added StartupWMClass = tm in the freeoffice-textmaker.desktop file in /usr/share/applications.

This fixed the problem, but I'm guessing that it will break on updates if the .desktop files are overwritten. Any chance you could add StartupWMClass entries to the .desktop files so they will display properly in Gnome?

SuperTech
SoftMaker Team
SoftMaker Team
Posts: 1579
Joined: Wed Mar 11, 2020 5:31 pm

Re: Add StartupWMClass to .desktop files

Post by SuperTech » Wed Jun 16, 2021 9:30 pm

You can make a copy of this file and then make the desired changes. On update, your this copy of the file will retain changes.

Post Reply

Return to “FreeOffice 2018 for Linux (General)”