Where can I find a canonical list of categories for desktop files in XFCE?












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:




  • How do I create an Xfce application menu containing only the contents
    of one category?

  • Add icons/menu items for applications in XFCE

  • Empty XFCE Applications menu


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;









share|improve this question





























    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:




    • How do I create an Xfce application menu containing only the contents
      of one category?

    • Add icons/menu items for applications in XFCE

    • Empty XFCE Applications menu


    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;









    share|improve this question



























      1












      1








      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:




      • How do I create an Xfce application menu containing only the contents
        of one category?

      • Add icons/menu items for applications in XFCE

      • Empty XFCE Applications menu


      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;









      share|improve this question
















      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:




      • How do I create an Xfce application menu containing only the contents
        of one category?

      • Add icons/menu items for applications in XFCE

      • Empty XFCE Applications menu


      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;






      xfce






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 5 hours ago









      Rui F Ribeiro

      39.6k1479132




      39.6k1479132










      asked 5 hours ago









      MikeyEMikeyE

      1106




      1106






















          1 Answer
          1






          active

          oldest

          votes


















          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.



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






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f495853%2fwhere-can-i-find-a-canonical-list-of-categories-for-desktop-files-in-xfce%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            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.



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






            share|improve this answer




























              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.



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






              share|improve this answer


























                1












                1








                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.



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






                share|improve this answer













                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.



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







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 5 hours ago









                WorBluxWorBlux

                23413




                23413






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f495853%2fwhere-can-i-find-a-canonical-list-of-categories-for-desktop-files-in-xfce%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Entries order in /etc/network/interfaces

                    新発田市

                    Grub takes very long (several minutes) to open Menu (in Multi-Boot-System)