eclipse-platform / .github

Common contribution content for eclipse-platform repositories
https://www.eclipse.org/eclipse/
5 stars 10 forks source link

IDE launcher duplicated #49

Open o-alquimista opened 2 years ago

o-alquimista commented 2 years ago

You can see in the screenshot below that I have an Eclipse launcher (the one with the Eclipse logo). When clicked, it spawns a new item instead (the one without an icon).

Captura de tela de 2022-08-15 12-35-49

This is the .desktop file I have at ~/.local/share/applications/:

[Desktop Entry]
Name=Eclipse Platform
Exec=/home/user/Eclipse/ide/eclipse/eclipse %u
NoDisplay=false
Icon=/home/user/Eclipse/ide/eclipse/icon.xpm
Type=Application
MimeType=x-scheme-handler/eclipse+command;x-scheme-handler/xdebug;
mickaelistria commented 2 years ago

I don't have this problem. This is what my eclipse.desktop file looks like

[Desktop Entry]
Name=Eclipse SDK (local)
Comment=Eclipse SDK
Exec=/home/mistria/apps/eclipse-SDK/eclipse %u
Icon=/home/mistria/apps/eclipse-SDK/icon.xpm
Terminal=false
Type=Application
StartupNotify=true
Categories=Development;
MimeType=x-scheme-handler/eclipse+mpc;x-scheme-handler/eclipse+command;

The Terminal=false may be interesting.

o-alquimista commented 2 years ago

The Terminal=false may be interesting.

Tried that now, and it didn't work.