[Linux] desktop file is lacking a Categories= entry
See original GitHub issueThe desktop file is lacking a Categories=
entry in the *.desktop
file.
According to the menu spec,
By including one of the Main Categories in an application’s desktop entry file, the application will be ensured that it will show up in a section of the application menu dedicated to this category. If multiple Main Categories are included in a single desktop entry file, the entry may appear more than once in the menu.
Hence, please add at least one of the following in the Categories=
key.
Main Category | Description | Notes |
---|---|---|
AudioVideo | Application for presenting, creating, or processing multimedia (audio/video) | |
Audio | An audio application | Desktop entry must include AudioVideo as well |
Video | A video application | Desktop entry must include AudioVideo as well |
Development | An application for development | |
Education | Educational software | |
Game | A game | |
Graphics | Application for viewing, creating, or processing graphics | |
Network | Network application such as a web browser | |
Office | An office type application | |
Science | Scientific software | |
Settings | Settings applications | Entries may appear in a separate menu or as part of a “Control Center” |
System | System application, “System Tools” such as say a log viewer or network monitor | |
Utility | Small utility application, “Accessories” |
In addition, you could specify one or more from the longer list of Additional Categories.
Please test the result with desktop-file-validate
and make sure it passes.
electron-builder offers native support for this since v19.22.1.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Categories= key missing in Linux desktop file · Issue #1914
The desktop file is lacking a Categories= entry in the *.desktop file. According to the menu spec,. By including one of the Main...
Read more >When creating a .desktop file, what are valid categories?
I added the category "Games" and it gave me an error when running desktop-file-validate, and won't show in the Games lens. – cosmoflop12....
Read more >Desktop entries - ArchWiki - Arch Linux
Desktop entries for applications, or .desktop files, are generally a combination of meta information resources and a shortcut of an application.
Read more >Guide to Desktop Entry Files in Linux
Desktop entry files are a standard way for creating and ordering graphical user interface (GUI) shortcuts. Most major Linux desktop ...
Read more >Why are my application.desktop files not showing up in ...
If the file is not present or if it is not executable, the entry may be ignored (not be used in menus, for...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fixed in the latest release: https://github.com/irccloud/irccloud-desktop/releases/tag/v0.4.0
https://github.com/electron-userland/electron-builder/issues/2136