Skip to content

[bug] auto generate desktop entry when start program #316

@Kiri2002

Description

@Kiri2002

In Archlinux, when launch imagej2, it will auto generate :

/home/kiri/.local/share/applications/ImageJ2.desktop

Contains:

[Desktop Entry]
Version=1.0
Name=ImageJ
GenericName=ImageJ
X-GNOME-FullName=ImageJ
Comment=Scientific Image Analysis
Type=Application
Categories=Education;Science;ImageProcessing;
Exec=/usr/share/imagej2/ImageJ-linux64 %F
TryExec=/usr/share/imagej2/ImageJ-linux64
Terminal=false
StartupNotify=true
MimeType=image/*;
Icon=/usr/share/imagej2/images/icon.png
StartupWMClass=net-imagej-launcher-ClassLauncher

If installed fiji, when start fiji, it will generate same name file, and contains:

[Desktop Entry]
Version=1.0
Name=ImageJ
GenericName=ImageJ
X-GNOME-FullName=ImageJ
Comment=Scientific Image Analysis
Type=Application
Categories=Education;Science;ImageProcessing;
Exec=/opt/fiji/ImageJ-linux64 %F
TryExec=/opt/fiji/ImageJ-linux64
Terminal=false
StartupNotify=true
MimeType=image/*;
Icon=/opt/fiji/images/icon.png
StartupWMClass=net-imagej-launcher-ClassLauncher

It may cause icon issues.
Any way to ban this aoto-generate behavior when building?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions