Skip to content

fix: .desktop file#215

Merged
bpozdena merged 1 commit intobpozdena:mainfrom
Integral-Tech:fix-desktop-file
Jun 19, 2025
Merged

fix: .desktop file#215
bpozdena merged 1 commit intobpozdena:mainfrom
Integral-Tech:fix-desktop-file

Conversation

@Integral-Tech
Copy link
Contributor

  • An example .desktop file of PyQt application (Anki):
[Desktop Entry]
Name=Anki
Comment=An intelligent spaced-repetition memory training program
GenericName=Flashcards
Exec=anki %f
TryExec=anki
Icon=anki
Categories=Education;Languages;KDE;Qt;
Terminal=false
Type=Application
Version=1.0
MimeType=application/x-apkg;application/x-anki;application/x-ankiaddon;
#should be removed eventually as it was upstreamed as to be an XDG specification called SingleMainWindow
X-GNOME-SingleWindow=true
SingleMainWindow=true
StartupWMClass=anki

@MightyMirko
Copy link

hi @Integral-Tech

quick question: your icon and appimage lies next to the desktop entry?

@Integral-Tech
Copy link
Contributor Author

Integral-Tech commented May 22, 2025

@MightyMirko I am not using AppImage :(
The icon file is in /usr/share/icons/, while the desktop entry is in /usr/share/applications/.

@bpozdena bpozdena merged commit 4aed0c3 into bpozdena:main Jun 19, 2025
@Integral-Tech Integral-Tech deleted the fix-desktop-file branch June 19, 2025 03:20
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

Successfully merging this pull request may close these issues.

3 participants