Why one Thunar folder doesn't show icons as in the other one?












2














I've been trying to solve Docky not showing Xfce and Thunar icons, and did with the help of this thread.



However in the process of it I started wondering, why these two folders (/usr/share/applications/ and ~/.local/share/applications/) are showing file icons differently?
screenshot



I've not found any setting in Thunar options regarding this.










share|improve this question





























    2














    I've been trying to solve Docky not showing Xfce and Thunar icons, and did with the help of this thread.



    However in the process of it I started wondering, why these two folders (/usr/share/applications/ and ~/.local/share/applications/) are showing file icons differently?
    screenshot



    I've not found any setting in Thunar options regarding this.










    share|improve this question



























      2












      2








      2







      I've been trying to solve Docky not showing Xfce and Thunar icons, and did with the help of this thread.



      However in the process of it I started wondering, why these two folders (/usr/share/applications/ and ~/.local/share/applications/) are showing file icons differently?
      screenshot



      I've not found any setting in Thunar options regarding this.










      share|improve this question















      I've been trying to solve Docky not showing Xfce and Thunar icons, and did with the help of this thread.



      However in the process of it I started wondering, why these two folders (/usr/share/applications/ and ~/.local/share/applications/) are showing file icons differently?
      screenshot



      I've not found any setting in Thunar options regarding this.







      xubuntu icons .desktop thunar-custom-actions






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 4 '18 at 20:59









      pomsky

      28.8k1188115




      28.8k1188115










      asked Dec 4 '18 at 8:05









      Ne Nenne

      132




      132






















          1 Answer
          1






          active

          oldest

          votes


















          1














          The folder /usr/share/applications is handled in a special way and the icons displayed for a .desktop-file are defined in the .desktop-file itself. If you take a deeper look you will see that Thunar also does not display the real file names in /usr/share/applications but an alias which is also defined in the .desktop-file.



          For the folder ~/local/share/applications all this is not the case, Thunar displays the real file names and the default icons for the different file types.



          The question Can Nautilus display a .desktop file by its real name? is heavily related, at least regarding the displayed file names.



          Trick with soft-link:



          If you want to display the files in ~/.local/share/applications in the same way as files are displayed in /usr/share/applications, you could do it with a soft-link placed in /usr/share which points to ~/.local/share/applications:



          sudo ln -s ~/.local/share/applications /usr/share/applicationsinhome


          Now you can browse in Thunar to /usr/share/applicationsinhome. This will display the files located in ~/.local/share/applications in the same way as the files in /usr/share/applications and you would still be able to delete, create or edit files without root-privileges.



          Please take a look at my answer in the linked question too, there I explained how to do it the other way around.






          share|improve this answer























          • I see. Your answer explains how to make it show real names. Is there a way to make ~/.local/share/applications show stuff in the same way as /usr/share/applications?
            – Ne Nenne
            Dec 6 '18 at 7:31










          • The answers in the linked questions explain how to show real file names in /usr/share applications. My answer just explains that the mentioned folders are handled differently by Thunar, it's also the case in Nautilus. For me it doesn't matter, as long as I know what's going on I don't care about how things are going to be displayed. But take a look at my edit please...
            – mook765
            Dec 6 '18 at 11:48











          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%2f1098317%2fwhy-one-thunar-folder-doesnt-show-icons-as-in-the-other-one%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














          The folder /usr/share/applications is handled in a special way and the icons displayed for a .desktop-file are defined in the .desktop-file itself. If you take a deeper look you will see that Thunar also does not display the real file names in /usr/share/applications but an alias which is also defined in the .desktop-file.



          For the folder ~/local/share/applications all this is not the case, Thunar displays the real file names and the default icons for the different file types.



          The question Can Nautilus display a .desktop file by its real name? is heavily related, at least regarding the displayed file names.



          Trick with soft-link:



          If you want to display the files in ~/.local/share/applications in the same way as files are displayed in /usr/share/applications, you could do it with a soft-link placed in /usr/share which points to ~/.local/share/applications:



          sudo ln -s ~/.local/share/applications /usr/share/applicationsinhome


          Now you can browse in Thunar to /usr/share/applicationsinhome. This will display the files located in ~/.local/share/applications in the same way as the files in /usr/share/applications and you would still be able to delete, create or edit files without root-privileges.



          Please take a look at my answer in the linked question too, there I explained how to do it the other way around.






          share|improve this answer























          • I see. Your answer explains how to make it show real names. Is there a way to make ~/.local/share/applications show stuff in the same way as /usr/share/applications?
            – Ne Nenne
            Dec 6 '18 at 7:31










          • The answers in the linked questions explain how to show real file names in /usr/share applications. My answer just explains that the mentioned folders are handled differently by Thunar, it's also the case in Nautilus. For me it doesn't matter, as long as I know what's going on I don't care about how things are going to be displayed. But take a look at my edit please...
            – mook765
            Dec 6 '18 at 11:48
















          1














          The folder /usr/share/applications is handled in a special way and the icons displayed for a .desktop-file are defined in the .desktop-file itself. If you take a deeper look you will see that Thunar also does not display the real file names in /usr/share/applications but an alias which is also defined in the .desktop-file.



          For the folder ~/local/share/applications all this is not the case, Thunar displays the real file names and the default icons for the different file types.



          The question Can Nautilus display a .desktop file by its real name? is heavily related, at least regarding the displayed file names.



          Trick with soft-link:



          If you want to display the files in ~/.local/share/applications in the same way as files are displayed in /usr/share/applications, you could do it with a soft-link placed in /usr/share which points to ~/.local/share/applications:



          sudo ln -s ~/.local/share/applications /usr/share/applicationsinhome


          Now you can browse in Thunar to /usr/share/applicationsinhome. This will display the files located in ~/.local/share/applications in the same way as the files in /usr/share/applications and you would still be able to delete, create or edit files without root-privileges.



          Please take a look at my answer in the linked question too, there I explained how to do it the other way around.






          share|improve this answer























          • I see. Your answer explains how to make it show real names. Is there a way to make ~/.local/share/applications show stuff in the same way as /usr/share/applications?
            – Ne Nenne
            Dec 6 '18 at 7:31










          • The answers in the linked questions explain how to show real file names in /usr/share applications. My answer just explains that the mentioned folders are handled differently by Thunar, it's also the case in Nautilus. For me it doesn't matter, as long as I know what's going on I don't care about how things are going to be displayed. But take a look at my edit please...
            – mook765
            Dec 6 '18 at 11:48














          1












          1








          1






          The folder /usr/share/applications is handled in a special way and the icons displayed for a .desktop-file are defined in the .desktop-file itself. If you take a deeper look you will see that Thunar also does not display the real file names in /usr/share/applications but an alias which is also defined in the .desktop-file.



          For the folder ~/local/share/applications all this is not the case, Thunar displays the real file names and the default icons for the different file types.



          The question Can Nautilus display a .desktop file by its real name? is heavily related, at least regarding the displayed file names.



          Trick with soft-link:



          If you want to display the files in ~/.local/share/applications in the same way as files are displayed in /usr/share/applications, you could do it with a soft-link placed in /usr/share which points to ~/.local/share/applications:



          sudo ln -s ~/.local/share/applications /usr/share/applicationsinhome


          Now you can browse in Thunar to /usr/share/applicationsinhome. This will display the files located in ~/.local/share/applications in the same way as the files in /usr/share/applications and you would still be able to delete, create or edit files without root-privileges.



          Please take a look at my answer in the linked question too, there I explained how to do it the other way around.






          share|improve this answer














          The folder /usr/share/applications is handled in a special way and the icons displayed for a .desktop-file are defined in the .desktop-file itself. If you take a deeper look you will see that Thunar also does not display the real file names in /usr/share/applications but an alias which is also defined in the .desktop-file.



          For the folder ~/local/share/applications all this is not the case, Thunar displays the real file names and the default icons for the different file types.



          The question Can Nautilus display a .desktop file by its real name? is heavily related, at least regarding the displayed file names.



          Trick with soft-link:



          If you want to display the files in ~/.local/share/applications in the same way as files are displayed in /usr/share/applications, you could do it with a soft-link placed in /usr/share which points to ~/.local/share/applications:



          sudo ln -s ~/.local/share/applications /usr/share/applicationsinhome


          Now you can browse in Thunar to /usr/share/applicationsinhome. This will display the files located in ~/.local/share/applications in the same way as the files in /usr/share/applications and you would still be able to delete, create or edit files without root-privileges.



          Please take a look at my answer in the linked question too, there I explained how to do it the other way around.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Dec 6 '18 at 11:48

























          answered Dec 4 '18 at 10:15









          mook765

          3,82921330




          3,82921330












          • I see. Your answer explains how to make it show real names. Is there a way to make ~/.local/share/applications show stuff in the same way as /usr/share/applications?
            – Ne Nenne
            Dec 6 '18 at 7:31










          • The answers in the linked questions explain how to show real file names in /usr/share applications. My answer just explains that the mentioned folders are handled differently by Thunar, it's also the case in Nautilus. For me it doesn't matter, as long as I know what's going on I don't care about how things are going to be displayed. But take a look at my edit please...
            – mook765
            Dec 6 '18 at 11:48


















          • I see. Your answer explains how to make it show real names. Is there a way to make ~/.local/share/applications show stuff in the same way as /usr/share/applications?
            – Ne Nenne
            Dec 6 '18 at 7:31










          • The answers in the linked questions explain how to show real file names in /usr/share applications. My answer just explains that the mentioned folders are handled differently by Thunar, it's also the case in Nautilus. For me it doesn't matter, as long as I know what's going on I don't care about how things are going to be displayed. But take a look at my edit please...
            – mook765
            Dec 6 '18 at 11:48
















          I see. Your answer explains how to make it show real names. Is there a way to make ~/.local/share/applications show stuff in the same way as /usr/share/applications?
          – Ne Nenne
          Dec 6 '18 at 7:31




          I see. Your answer explains how to make it show real names. Is there a way to make ~/.local/share/applications show stuff in the same way as /usr/share/applications?
          – Ne Nenne
          Dec 6 '18 at 7:31












          The answers in the linked questions explain how to show real file names in /usr/share applications. My answer just explains that the mentioned folders are handled differently by Thunar, it's also the case in Nautilus. For me it doesn't matter, as long as I know what's going on I don't care about how things are going to be displayed. But take a look at my edit please...
          – mook765
          Dec 6 '18 at 11:48




          The answers in the linked questions explain how to show real file names in /usr/share applications. My answer just explains that the mentioned folders are handled differently by Thunar, it's also the case in Nautilus. For me it doesn't matter, as long as I know what's going on I don't care about how things are going to be displayed. But take a look at my edit please...
          – mook765
          Dec 6 '18 at 11:48


















          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%2f1098317%2fwhy-one-thunar-folder-doesnt-show-icons-as-in-the-other-one%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

          How to send String Array data to Server using php in android

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

          Is anime1.com a legal site for watching anime?