in the desktop file.
DesktopAppInfo.getStartupWmClass
string getStartupWmClass()Retrieves the StartupWMClass field from info. This represents the WM_CLASS property of the main window of the application, if launched through info.
Returns
the startup WM class, or null if none is set