-
-
Notifications
You must be signed in to change notification settings - Fork 314
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
Add a XDG desktop file #354
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Desktop Entry] | ||
Type=Application | ||
Name=Arnis | ||
Comment=Generate cities from real life in Minecraft | ||
Comment[lt]=Sugeneruokite tikrovės miestus „Minecraft“ žaidime | ||
Icon=arnis | ||
Exec=arnis | ||
Categories=Game;Utility;Geoscience | ||
Keywords=OSM;OpenStreetMap;Tauri | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What do these keywords do? I see this in the XDG Desktop Entry Specification:
Does this provide additional keywords to discover the app when using the OS's search tool (e.g., KRunner or GNOME search)? If I understand what this does correctly, I don't think arnis should show up if someone searches "Tauri" in their OS search bar, right? It's akin to adding "rust" to this field. I guess "OSM"/"OpenStreetMap" are okay. What about "Minecraft"? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I think that's the main reason for that option |
||
StartupWMClass=arnis |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think
arnis
is an Icon. But there are icons in https://github.com/louis-e/arnis/blob/main/icons/, maybe you could specify one of those?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, when running
desktop-file-install arnis.desktop
, I don't see the icon.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The .desktop file is intended as an alternative to the
tauri bundle
workflow (so the packager/advanced user can definitely put the icon in the correct place)