1

I am running Debian 9 (stretch) and XFCE. I am creating a desktop file so I can launch Mozilla Thunderbird from the Whisker menu. I would like Thunderbird to have the right value for its Categories attribute. I generated a list of categories using the following command. An example of the command's output also follows.

cd /usr/share/applications
grep -i -P -e "^[Cc]ategories[=].*" ./*.desktop | sort | uniq

List of Categories enter image description here

However, the list I generated might not be complete. I have read other questions including:

Where can I find a complete and canonical list of categories?

Here is the desktop file I created.

[Desktop Entry]
Version=1.0
Name=Thunderbird
GenericName=Thunderbird mail client
Comment=Check email using a local Thunderbird mail client
Exec=/opt/thunderbird/thunderbird %F
Icon=/home/username/Pictures/Icons/thunderbird-256.png
Terminal=false
Type=Application
Categories=Network;Office;Email;
MimeType=message/rfc822;message/x-gnu-rmail;
X-XFCE-MimeType=x-scheme-handler/mailto;
1

freedesktop.org maintains a lot of the xdg standards, including categories.

https://standards.freedesktop.org/menu-spec/latest/apa.html

Email is an additional category that can be used with the Network or Office category. Some of the additional categories should be used with one of the main categories. Others can be used with any of them.

Whether this is well enforced or merely a suggestion, I don't know.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.