Open ghost opened 5 years ago
me@host:~$ desktop-file-validate astree.desktop
astree.desktop: hint: value "Graphics;Engineering;Education;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu
me@host:~$ desktop-file-validate astree.desktop astree.desktop: hint: value "Graphics;Engineering;Education;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu
If this is issue, lets use only Categories=Graphics;
(also do not forget to add Comment=
entry)
[Desktop Entry]
Type=Application
Name=Astree
Comment=Free open-source optical ray tracing and design software
Exec=astree %f
Icon=astree
Terminal=false
Categories=Graphics;
MimeType=application/x-astree;
StartupNotify=true
Hello, do we have a Scientific or Hobbying category? ( Graphics is nice anyway)
Le dim. 18 août 2019 à 17:40, app4soft notifications@github.com a écrit :
me@host:~$ desktop-file-validate astree.desktop astree.desktop: hint: value "Graphics;Engineering;Education;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu
If this is issue, lets use only Categories=Graphics;
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/edeforas/Astree/issues/23?email_source=notifications&email_token=AEBQLG3D5ZW2PJQ6HBCTP7TQFFUPRA5CNFSM4IMSZJ6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4RCQBY#issuecomment-522332167, or mute the thread https://github.com/notifications/unsubscribe-auth/AEBQLG4KXQSKJTO5U6COACLQFFUPRANCNFSM4IMSZJ6A .
do we have a Scientific or Hobbying category? ( Graphics is nice anyway)
Yes, you could set ANY category (and not only one!), but usually other CAD software use Graphics
.
Please see https://standards.freedesktop.org/menu-spec/latest/apa.html and whatever you do, please check your desktop file with the desktop-file-validate
tool to ensure it does not produce errors or warnings. Thanks!
For example,
astree.desktop
:For example,
astree.appdata.xml
(created using @probonopd's generator)