Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Kiri2002 opened this issue Jul 17, 2024 · 0 comments
Open

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

Kiri2002 opened this issue Jul 17, 2024 · 0 comments

Comments

@Kiri2002
Copy link

Kiri2002 commented Jul 17, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant