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
Posts: 1
Joined: Wed Jun 09, 2021 10:42 pm

Add StartupWMClass to .desktop files

Post by jaygambrel »

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?
SoftMaker Team
SoftMaker Team
Posts: 1626
Joined: Wed Mar 11, 2020 5:31 pm

Re: Add StartupWMClass to .desktop files

Post by SuperTech »

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)”