Correct way to create a Desktop Entry file of Directory type?












3














What elements should I define in a Desktop Entry file of Directory type for xfce? Although it can be created using thunar file manager by right clicking on the folder, so what I want to know is that if its possible to create one manually.



I wish XFCE was well documented as other DEs










share|improve this question





























    3














    What elements should I define in a Desktop Entry file of Directory type for xfce? Although it can be created using thunar file manager by right clicking on the folder, so what I want to know is that if its possible to create one manually.



    I wish XFCE was well documented as other DEs










    share|improve this question



























      3












      3








      3







      What elements should I define in a Desktop Entry file of Directory type for xfce? Although it can be created using thunar file manager by right clicking on the folder, so what I want to know is that if its possible to create one manually.



      I wish XFCE was well documented as other DEs










      share|improve this question















      What elements should I define in a Desktop Entry file of Directory type for xfce? Although it can be created using thunar file manager by right clicking on the folder, so what I want to know is that if its possible to create one manually.



      I wish XFCE was well documented as other DEs







      xfce






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Sep 28 '12 at 2:14

























      asked Sep 27 '12 at 10:23









      Aman Sharma

      113211




      113211






















          3 Answers
          3






          active

          oldest

          votes


















          0














          You will find detailed information on desktop entry files here.



          I'm unable to find XFCE's desktop entry specifications, but in Gnome desktop entry specifications, the desktop entry for a directory must be ending with .directory, and not .desktop.






          share|improve this answer

















          • 1




            Actually that link is the origin of my question. I tried setting type to Directory but xfce perceives it as an invalid .desktop file and it does not recognize .directory.
            – Aman Sharma
            Sep 27 '12 at 12:32





















          0














          Create a symlink for example:



          ln -s /home/pi/resources /home/pi/Desktop/Course Resources



          The first mart is the folder you want to link and the second part is the link on the desktop.






          share|improve this answer























          • And what does the third argument (Resources) mean?
            – mook765
            Sep 19 at 19:14



















          0














          If I understand this correctly, Type=Directory does not create a launcher, but provides metadata for a menu.



          Although I couldn't find any official documentation how to create a directory launcher, this worked for me:



          [Desktop Entry]
          Name=foobar
          Exec=xdg-open /path/to/foobar
          Icon=folder
          Terminal=false
          Type=Application





          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            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: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            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%2faskubuntu.com%2fquestions%2f193577%2fcorrect-way-to-create-a-desktop-entry-file-of-directory-type%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            You will find detailed information on desktop entry files here.



            I'm unable to find XFCE's desktop entry specifications, but in Gnome desktop entry specifications, the desktop entry for a directory must be ending with .directory, and not .desktop.






            share|improve this answer

















            • 1




              Actually that link is the origin of my question. I tried setting type to Directory but xfce perceives it as an invalid .desktop file and it does not recognize .directory.
              – Aman Sharma
              Sep 27 '12 at 12:32


















            0














            You will find detailed information on desktop entry files here.



            I'm unable to find XFCE's desktop entry specifications, but in Gnome desktop entry specifications, the desktop entry for a directory must be ending with .directory, and not .desktop.






            share|improve this answer

















            • 1




              Actually that link is the origin of my question. I tried setting type to Directory but xfce perceives it as an invalid .desktop file and it does not recognize .directory.
              – Aman Sharma
              Sep 27 '12 at 12:32
















            0












            0








            0






            You will find detailed information on desktop entry files here.



            I'm unable to find XFCE's desktop entry specifications, but in Gnome desktop entry specifications, the desktop entry for a directory must be ending with .directory, and not .desktop.






            share|improve this answer












            You will find detailed information on desktop entry files here.



            I'm unable to find XFCE's desktop entry specifications, but in Gnome desktop entry specifications, the desktop entry for a directory must be ending with .directory, and not .desktop.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Sep 27 '12 at 10:50









            January

            25k106688




            25k106688








            • 1




              Actually that link is the origin of my question. I tried setting type to Directory but xfce perceives it as an invalid .desktop file and it does not recognize .directory.
              – Aman Sharma
              Sep 27 '12 at 12:32
















            • 1




              Actually that link is the origin of my question. I tried setting type to Directory but xfce perceives it as an invalid .desktop file and it does not recognize .directory.
              – Aman Sharma
              Sep 27 '12 at 12:32










            1




            1




            Actually that link is the origin of my question. I tried setting type to Directory but xfce perceives it as an invalid .desktop file and it does not recognize .directory.
            – Aman Sharma
            Sep 27 '12 at 12:32






            Actually that link is the origin of my question. I tried setting type to Directory but xfce perceives it as an invalid .desktop file and it does not recognize .directory.
            – Aman Sharma
            Sep 27 '12 at 12:32















            0














            Create a symlink for example:



            ln -s /home/pi/resources /home/pi/Desktop/Course Resources



            The first mart is the folder you want to link and the second part is the link on the desktop.






            share|improve this answer























            • And what does the third argument (Resources) mean?
              – mook765
              Sep 19 at 19:14
















            0














            Create a symlink for example:



            ln -s /home/pi/resources /home/pi/Desktop/Course Resources



            The first mart is the folder you want to link and the second part is the link on the desktop.






            share|improve this answer























            • And what does the third argument (Resources) mean?
              – mook765
              Sep 19 at 19:14














            0












            0








            0






            Create a symlink for example:



            ln -s /home/pi/resources /home/pi/Desktop/Course Resources



            The first mart is the folder you want to link and the second part is the link on the desktop.






            share|improve this answer














            Create a symlink for example:



            ln -s /home/pi/resources /home/pi/Desktop/Course Resources



            The first mart is the folder you want to link and the second part is the link on the desktop.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Oct 17 '14 at 15:20









            Luís de Sousa

            8,952175197




            8,952175197










            answered Oct 17 '14 at 14:18









            Dirk

            1




            1












            • And what does the third argument (Resources) mean?
              – mook765
              Sep 19 at 19:14


















            • And what does the third argument (Resources) mean?
              – mook765
              Sep 19 at 19:14
















            And what does the third argument (Resources) mean?
            – mook765
            Sep 19 at 19:14




            And what does the third argument (Resources) mean?
            – mook765
            Sep 19 at 19:14











            0














            If I understand this correctly, Type=Directory does not create a launcher, but provides metadata for a menu.



            Although I couldn't find any official documentation how to create a directory launcher, this worked for me:



            [Desktop Entry]
            Name=foobar
            Exec=xdg-open /path/to/foobar
            Icon=folder
            Terminal=false
            Type=Application





            share|improve this answer


























              0














              If I understand this correctly, Type=Directory does not create a launcher, but provides metadata for a menu.



              Although I couldn't find any official documentation how to create a directory launcher, this worked for me:



              [Desktop Entry]
              Name=foobar
              Exec=xdg-open /path/to/foobar
              Icon=folder
              Terminal=false
              Type=Application





              share|improve this answer
























                0












                0








                0






                If I understand this correctly, Type=Directory does not create a launcher, but provides metadata for a menu.



                Although I couldn't find any official documentation how to create a directory launcher, this worked for me:



                [Desktop Entry]
                Name=foobar
                Exec=xdg-open /path/to/foobar
                Icon=folder
                Terminal=false
                Type=Application





                share|improve this answer












                If I understand this correctly, Type=Directory does not create a launcher, but provides metadata for a menu.



                Although I couldn't find any official documentation how to create a directory launcher, this worked for me:



                [Desktop Entry]
                Name=foobar
                Exec=xdg-open /path/to/foobar
                Icon=folder
                Terminal=false
                Type=Application






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jun 12 '17 at 12:04









                T S

                1213




                1213






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • 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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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%2faskubuntu.com%2fquestions%2f193577%2fcorrect-way-to-create-a-desktop-entry-file-of-directory-type%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

                    mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

                    How to change which sound is reproduced for terminal bell?

                    Can I use Tabulator js library in my java Spring + Thymeleaf project?