Open a thunar directory with an application action











up vote
0
down vote

favorite












Problem



When opening a thunar directory from an application for example:




  • from firefox in the downloads section you click on 'open with folder'


  • or from thunderbird troubleshooting you click on 'open directory'



... the action is mishandled with opening of the dirctory with an other application.





Solution



Was able to resolve this problem as follow:




  • open thunar with root privilege


  • go to


  • ´/usr/share/applications/´


  • open the file 'defaults.list'


  • save the file as defaults.list.backup-original


  • open again the file 'defaults.list'


  • go to 'inode/directory=' (press [ctrl]+[f], paste 'inode/directory=nautilus-folder-handler.desktop' and hit [enter])


  • change 'inode/directory=nautilus-folder-handler.desktop'


  • change into 'inode/directory=thunar-folder-handler.desktop'


  • save the file and check if it works





Furthermore



Noticed that the file mimeinfo.cahce within the same directory has the line:




  • 'inode/directory=org.gnome.baobab.desktop;Thunar-folder-handler.desktop;'


Did change this line because initially the program baobab was opening instead of the directory within the folder manager.



But it had no effect.



And after selecting a file and choose open 'send to (application)' the action to open a folder didn't open baobab any more but this application. It happend every time when opening a directory from various applications.



So in the end this line was left untouched.





Perhaps somebody



with more knowledge about thunar



can explain thunar working



and can confirm if this solution is good enough.





other threads with similar issue:



https://forum.xfce.org/viewtopic.php?id=4128



https://forum.xfce.org/viewtopic.php?id=3163



https://bugzilla.redhat.com/show_bug.cgi?id=1278845










share|improve this question







New contributor




user899958 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    up vote
    0
    down vote

    favorite












    Problem



    When opening a thunar directory from an application for example:




    • from firefox in the downloads section you click on 'open with folder'


    • or from thunderbird troubleshooting you click on 'open directory'



    ... the action is mishandled with opening of the dirctory with an other application.





    Solution



    Was able to resolve this problem as follow:




    • open thunar with root privilege


    • go to


    • ´/usr/share/applications/´


    • open the file 'defaults.list'


    • save the file as defaults.list.backup-original


    • open again the file 'defaults.list'


    • go to 'inode/directory=' (press [ctrl]+[f], paste 'inode/directory=nautilus-folder-handler.desktop' and hit [enter])


    • change 'inode/directory=nautilus-folder-handler.desktop'


    • change into 'inode/directory=thunar-folder-handler.desktop'


    • save the file and check if it works





    Furthermore



    Noticed that the file mimeinfo.cahce within the same directory has the line:




    • 'inode/directory=org.gnome.baobab.desktop;Thunar-folder-handler.desktop;'


    Did change this line because initially the program baobab was opening instead of the directory within the folder manager.



    But it had no effect.



    And after selecting a file and choose open 'send to (application)' the action to open a folder didn't open baobab any more but this application. It happend every time when opening a directory from various applications.



    So in the end this line was left untouched.





    Perhaps somebody



    with more knowledge about thunar



    can explain thunar working



    and can confirm if this solution is good enough.





    other threads with similar issue:



    https://forum.xfce.org/viewtopic.php?id=4128



    https://forum.xfce.org/viewtopic.php?id=3163



    https://bugzilla.redhat.com/show_bug.cgi?id=1278845










    share|improve this question







    New contributor




    user899958 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Problem



      When opening a thunar directory from an application for example:




      • from firefox in the downloads section you click on 'open with folder'


      • or from thunderbird troubleshooting you click on 'open directory'



      ... the action is mishandled with opening of the dirctory with an other application.





      Solution



      Was able to resolve this problem as follow:




      • open thunar with root privilege


      • go to


      • ´/usr/share/applications/´


      • open the file 'defaults.list'


      • save the file as defaults.list.backup-original


      • open again the file 'defaults.list'


      • go to 'inode/directory=' (press [ctrl]+[f], paste 'inode/directory=nautilus-folder-handler.desktop' and hit [enter])


      • change 'inode/directory=nautilus-folder-handler.desktop'


      • change into 'inode/directory=thunar-folder-handler.desktop'


      • save the file and check if it works





      Furthermore



      Noticed that the file mimeinfo.cahce within the same directory has the line:




      • 'inode/directory=org.gnome.baobab.desktop;Thunar-folder-handler.desktop;'


      Did change this line because initially the program baobab was opening instead of the directory within the folder manager.



      But it had no effect.



      And after selecting a file and choose open 'send to (application)' the action to open a folder didn't open baobab any more but this application. It happend every time when opening a directory from various applications.



      So in the end this line was left untouched.





      Perhaps somebody



      with more knowledge about thunar



      can explain thunar working



      and can confirm if this solution is good enough.





      other threads with similar issue:



      https://forum.xfce.org/viewtopic.php?id=4128



      https://forum.xfce.org/viewtopic.php?id=3163



      https://bugzilla.redhat.com/show_bug.cgi?id=1278845










      share|improve this question







      New contributor




      user899958 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      Problem



      When opening a thunar directory from an application for example:




      • from firefox in the downloads section you click on 'open with folder'


      • or from thunderbird troubleshooting you click on 'open directory'



      ... the action is mishandled with opening of the dirctory with an other application.





      Solution



      Was able to resolve this problem as follow:




      • open thunar with root privilege


      • go to


      • ´/usr/share/applications/´


      • open the file 'defaults.list'


      • save the file as defaults.list.backup-original


      • open again the file 'defaults.list'


      • go to 'inode/directory=' (press [ctrl]+[f], paste 'inode/directory=nautilus-folder-handler.desktop' and hit [enter])


      • change 'inode/directory=nautilus-folder-handler.desktop'


      • change into 'inode/directory=thunar-folder-handler.desktop'


      • save the file and check if it works





      Furthermore



      Noticed that the file mimeinfo.cahce within the same directory has the line:




      • 'inode/directory=org.gnome.baobab.desktop;Thunar-folder-handler.desktop;'


      Did change this line because initially the program baobab was opening instead of the directory within the folder manager.



      But it had no effect.



      And after selecting a file and choose open 'send to (application)' the action to open a folder didn't open baobab any more but this application. It happend every time when opening a directory from various applications.



      So in the end this line was left untouched.





      Perhaps somebody



      with more knowledge about thunar



      can explain thunar working



      and can confirm if this solution is good enough.





      other threads with similar issue:



      https://forum.xfce.org/viewtopic.php?id=4128



      https://forum.xfce.org/viewtopic.php?id=3163



      https://bugzilla.redhat.com/show_bug.cgi?id=1278845







      xubuntu directory thunar






      share|improve this question







      New contributor




      user899958 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      user899958 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      user899958 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Dec 4 at 21:10









      user899958

      1




      1




      New contributor




      user899958 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      user899958 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      user899958 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Actually the directory '/usr/share/applications/' does not contain the file to edit. The file mentioned is a link of ...



          'default.list'



          pointing to the located in:



          '/etc/gnome/'



          Although the method mentioned does edit the right file.





          I think thunar and nautilus are written with capital in the command. So, it should be:



          'inode/directory=Nautilus-folder-handler.desktop'



          or



          'inode/directory=Thunar-folder-handler.desktop'





          Maybe setting thunar as default manager could help, see:



          How to set Thunar as a default file manager?



          Maybe this command might help:



          'sudo gio mime inode/directory Thunar.desktop'





          Also it seems Baobab doesn play nice with file managers, see:



          https://forum.manjaro.org/t/disk-usage-analyzer-baobab-r-click-open-folder-not-working/50890





          Further more, it seems by removing Baobab from the system gives the default behaviour back and resolves the problem.



          But removing an(other) application is not the way to go.









          share|improve this answer










          New contributor




          user900003 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


















            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',
            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
            });


            }
            });






            user899958 is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1098496%2fopen-a-thunar-directory-with-an-application-action%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








            up vote
            0
            down vote













            Actually the directory '/usr/share/applications/' does not contain the file to edit. The file mentioned is a link of ...



            'default.list'



            pointing to the located in:



            '/etc/gnome/'



            Although the method mentioned does edit the right file.





            I think thunar and nautilus are written with capital in the command. So, it should be:



            'inode/directory=Nautilus-folder-handler.desktop'



            or



            'inode/directory=Thunar-folder-handler.desktop'





            Maybe setting thunar as default manager could help, see:



            How to set Thunar as a default file manager?



            Maybe this command might help:



            'sudo gio mime inode/directory Thunar.desktop'





            Also it seems Baobab doesn play nice with file managers, see:



            https://forum.manjaro.org/t/disk-usage-analyzer-baobab-r-click-open-folder-not-working/50890





            Further more, it seems by removing Baobab from the system gives the default behaviour back and resolves the problem.



            But removing an(other) application is not the way to go.









            share|improve this answer










            New contributor




            user900003 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






















              up vote
              0
              down vote













              Actually the directory '/usr/share/applications/' does not contain the file to edit. The file mentioned is a link of ...



              'default.list'



              pointing to the located in:



              '/etc/gnome/'



              Although the method mentioned does edit the right file.





              I think thunar and nautilus are written with capital in the command. So, it should be:



              'inode/directory=Nautilus-folder-handler.desktop'



              or



              'inode/directory=Thunar-folder-handler.desktop'





              Maybe setting thunar as default manager could help, see:



              How to set Thunar as a default file manager?



              Maybe this command might help:



              'sudo gio mime inode/directory Thunar.desktop'





              Also it seems Baobab doesn play nice with file managers, see:



              https://forum.manjaro.org/t/disk-usage-analyzer-baobab-r-click-open-folder-not-working/50890





              Further more, it seems by removing Baobab from the system gives the default behaviour back and resolves the problem.



              But removing an(other) application is not the way to go.









              share|improve this answer










              New contributor




              user900003 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.




















                up vote
                0
                down vote










                up vote
                0
                down vote









                Actually the directory '/usr/share/applications/' does not contain the file to edit. The file mentioned is a link of ...



                'default.list'



                pointing to the located in:



                '/etc/gnome/'



                Although the method mentioned does edit the right file.





                I think thunar and nautilus are written with capital in the command. So, it should be:



                'inode/directory=Nautilus-folder-handler.desktop'



                or



                'inode/directory=Thunar-folder-handler.desktop'





                Maybe setting thunar as default manager could help, see:



                How to set Thunar as a default file manager?



                Maybe this command might help:



                'sudo gio mime inode/directory Thunar.desktop'





                Also it seems Baobab doesn play nice with file managers, see:



                https://forum.manjaro.org/t/disk-usage-analyzer-baobab-r-click-open-folder-not-working/50890





                Further more, it seems by removing Baobab from the system gives the default behaviour back and resolves the problem.



                But removing an(other) application is not the way to go.









                share|improve this answer










                New contributor




                user900003 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                Actually the directory '/usr/share/applications/' does not contain the file to edit. The file mentioned is a link of ...



                'default.list'



                pointing to the located in:



                '/etc/gnome/'



                Although the method mentioned does edit the right file.





                I think thunar and nautilus are written with capital in the command. So, it should be:



                'inode/directory=Nautilus-folder-handler.desktop'



                or



                'inode/directory=Thunar-folder-handler.desktop'





                Maybe setting thunar as default manager could help, see:



                How to set Thunar as a default file manager?



                Maybe this command might help:



                'sudo gio mime inode/directory Thunar.desktop'





                Also it seems Baobab doesn play nice with file managers, see:



                https://forum.manjaro.org/t/disk-usage-analyzer-baobab-r-click-open-folder-not-working/50890





                Further more, it seems by removing Baobab from the system gives the default behaviour back and resolves the problem.



                But removing an(other) application is not the way to go.










                share|improve this answer










                New contributor




                user900003 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer








                edited Dec 4 at 23:31





















                New contributor




                user900003 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered Dec 4 at 23:23









                user900003

                11




                11




                New contributor




                user900003 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                user900003 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                user900003 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






















                    user899958 is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    user899958 is a new contributor. Be nice, and check out our Code of Conduct.













                    user899958 is a new contributor. Be nice, and check out our Code of Conduct.












                    user899958 is a new contributor. Be nice, and check out our Code of Conduct.
















                    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%2f1098496%2fopen-a-thunar-directory-with-an-application-action%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

                    數位音樂下載

                    When can things happen in Etherscan, such as the picture below?

                    格利澤436b