From c28349da21661fd9bba2b1365be59341f7fd93ce Mon Sep 17 00:00:00 2001 From: Simon Graband Date: Wed, 4 Sep 2024 13:42:12 +0200 Subject: [PATCH] Fix desktop entries Change StartupWMClass to Theia IDE so it can be added to favorites. Change the name of the entries to Theia IDE for consistency. Contributed on behalf of STMicroelectronics --- theia-extensions/launcher/src/node/desktopfile-endpoint.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/theia-extensions/launcher/src/node/desktopfile-endpoint.ts b/theia-extensions/launcher/src/node/desktopfile-endpoint.ts index 4f9d1a2d8..2b82e4c4c 100644 --- a/theia-extensions/launcher/src/node/desktopfile-endpoint.ts +++ b/theia-extensions/launcher/src/node/desktopfile-endpoint.ts @@ -126,19 +126,19 @@ export class TheiaDesktopFileServiceEndpoint implements BackendApplicationContri protected getDesktopFileContents(appImagePath: string, imagePath: string): string { return `[Desktop Entry] -Name=TheiaIDE +Name=Theia IDE Exec=${appImagePath} %U Terminal=false Type=Application Icon=${imagePath} -StartupWMClass=TheiaIDE +StartupWMClass=Theia IDE Comment=Eclipse Theia IDE product Categories=Development;`; } protected getDesktopURLFileContents(appImagePath: string, imagePath: string): string { return `[Desktop Entry] -Name=TheiaIDE - URL Handler +Name=Theia IDE - URL Handler Exec=${appImagePath} --open-url %U Terminal=false Type=Application