How to reset the icon associated to a given file type?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







1















An application I used (MacCaml) changed the icon of all files with .ml or .oml extension. I would want them to recover their original icon (a blank document). Here is what I have tried (with each time : Finder relaunching, rebooting, creating a new .ml file and opening it with different applications to see if its icon would change) :




  • Setting “Always open with another application” (such as TextEdit).

  • Going into the application bundle, removing the corresponding .icns file which gives the unwanted icon to all .ml files, replacing it by another .icns file.

  • Deleting the application.

  • Resetting Finder preferences.

  • Trying to change the icon of one of these files (the usual way using Information window).

  • Deleting all .DS_Store files.


Nothing worked. Have you got any suggestion ?
I think a possible solution would be also to know the answer to the following question :



How to find where the icon associated to a given file is stored ?



For I removed that unwanted .icns file from my computer, though there visibly exists one remaining copy of it which is being used by the Operating System. But using find and fdupes I wasn't able to find any duplicate of that file…










share|improve this question































    1















    An application I used (MacCaml) changed the icon of all files with .ml or .oml extension. I would want them to recover their original icon (a blank document). Here is what I have tried (with each time : Finder relaunching, rebooting, creating a new .ml file and opening it with different applications to see if its icon would change) :




    • Setting “Always open with another application” (such as TextEdit).

    • Going into the application bundle, removing the corresponding .icns file which gives the unwanted icon to all .ml files, replacing it by another .icns file.

    • Deleting the application.

    • Resetting Finder preferences.

    • Trying to change the icon of one of these files (the usual way using Information window).

    • Deleting all .DS_Store files.


    Nothing worked. Have you got any suggestion ?
    I think a possible solution would be also to know the answer to the following question :



    How to find where the icon associated to a given file is stored ?



    For I removed that unwanted .icns file from my computer, though there visibly exists one remaining copy of it which is being used by the Operating System. But using find and fdupes I wasn't able to find any duplicate of that file…










    share|improve this question



























      1












      1








      1








      An application I used (MacCaml) changed the icon of all files with .ml or .oml extension. I would want them to recover their original icon (a blank document). Here is what I have tried (with each time : Finder relaunching, rebooting, creating a new .ml file and opening it with different applications to see if its icon would change) :




      • Setting “Always open with another application” (such as TextEdit).

      • Going into the application bundle, removing the corresponding .icns file which gives the unwanted icon to all .ml files, replacing it by another .icns file.

      • Deleting the application.

      • Resetting Finder preferences.

      • Trying to change the icon of one of these files (the usual way using Information window).

      • Deleting all .DS_Store files.


      Nothing worked. Have you got any suggestion ?
      I think a possible solution would be also to know the answer to the following question :



      How to find where the icon associated to a given file is stored ?



      For I removed that unwanted .icns file from my computer, though there visibly exists one remaining copy of it which is being used by the Operating System. But using find and fdupes I wasn't able to find any duplicate of that file…










      share|improve this question
















      An application I used (MacCaml) changed the icon of all files with .ml or .oml extension. I would want them to recover their original icon (a blank document). Here is what I have tried (with each time : Finder relaunching, rebooting, creating a new .ml file and opening it with different applications to see if its icon would change) :




      • Setting “Always open with another application” (such as TextEdit).

      • Going into the application bundle, removing the corresponding .icns file which gives the unwanted icon to all .ml files, replacing it by another .icns file.

      • Deleting the application.

      • Resetting Finder preferences.

      • Trying to change the icon of one of these files (the usual way using Information window).

      • Deleting all .DS_Store files.


      Nothing worked. Have you got any suggestion ?
      I think a possible solution would be also to know the answer to the following question :



      How to find where the icon associated to a given file is stored ?



      For I removed that unwanted .icns file from my computer, though there visibly exists one remaining copy of it which is being used by the Operating System. But using find and fdupes I wasn't able to find any duplicate of that file…







      macos icons finder file-association






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 2 at 17:04







      Egomet

















      asked Feb 2 at 16:44









      EgometEgomet

      62




      62






















          2 Answers
          2






          active

          oldest

          votes


















          0














          I have never actually tried this to remove an association, only ever add or change one, but the single go-to utility for Mac file associations has always been RCDefaultApp (freeware).

          First released in 2004 & hasn't been updated since 2009... but still works on Mojave.



          It installs as a control panel.




          1. Select the extensions tab [it may take some time to load up]

          2. Scroll to your desired extension.

          3. Change the Default App - this includes Default, Disable or Other...[which gives a file picker] as well as any app that has declared it can handle that file type.


          I'm guessing Disable may remove all associations & revert the icon - it may need a reboot, or potentially a file.



          Extension picked at random, I don't have the ones your question refers to.



          enter image description here






          share|improve this answer
























          • Thank you for your answer. The problem is partially solved. The concerned file icons changed but : — the unwanted icons briefly appears when the Finder window is loading — one of the two icons displayed when opening the file in Xcode is the unwanted icon : i.imgur.com/SU3SJ7y.png — all files displayed on Desktop have the unwanted icon if, and only if the icon size is set to <= 48 px ; which is a very strange behaviour… Have you got any idea ?

            – Egomet
            Feb 2 at 18:32





















          0














          I eventually solved the problem by rebuilding OS X’s LaunchServices database. A way to achieve this is the following command :



          /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user


          (It is also possible to use OnyX utility.) A reboot has been necessary.






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            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%2fsuperuser.com%2fquestions%2f1401355%2fhow-to-reset-the-icon-associated-to-a-given-file-type%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I have never actually tried this to remove an association, only ever add or change one, but the single go-to utility for Mac file associations has always been RCDefaultApp (freeware).

            First released in 2004 & hasn't been updated since 2009... but still works on Mojave.



            It installs as a control panel.




            1. Select the extensions tab [it may take some time to load up]

            2. Scroll to your desired extension.

            3. Change the Default App - this includes Default, Disable or Other...[which gives a file picker] as well as any app that has declared it can handle that file type.


            I'm guessing Disable may remove all associations & revert the icon - it may need a reboot, or potentially a file.



            Extension picked at random, I don't have the ones your question refers to.



            enter image description here






            share|improve this answer
























            • Thank you for your answer. The problem is partially solved. The concerned file icons changed but : — the unwanted icons briefly appears when the Finder window is loading — one of the two icons displayed when opening the file in Xcode is the unwanted icon : i.imgur.com/SU3SJ7y.png — all files displayed on Desktop have the unwanted icon if, and only if the icon size is set to <= 48 px ; which is a very strange behaviour… Have you got any idea ?

              – Egomet
              Feb 2 at 18:32


















            0














            I have never actually tried this to remove an association, only ever add or change one, but the single go-to utility for Mac file associations has always been RCDefaultApp (freeware).

            First released in 2004 & hasn't been updated since 2009... but still works on Mojave.



            It installs as a control panel.




            1. Select the extensions tab [it may take some time to load up]

            2. Scroll to your desired extension.

            3. Change the Default App - this includes Default, Disable or Other...[which gives a file picker] as well as any app that has declared it can handle that file type.


            I'm guessing Disable may remove all associations & revert the icon - it may need a reboot, or potentially a file.



            Extension picked at random, I don't have the ones your question refers to.



            enter image description here






            share|improve this answer
























            • Thank you for your answer. The problem is partially solved. The concerned file icons changed but : — the unwanted icons briefly appears when the Finder window is loading — one of the two icons displayed when opening the file in Xcode is the unwanted icon : i.imgur.com/SU3SJ7y.png — all files displayed on Desktop have the unwanted icon if, and only if the icon size is set to <= 48 px ; which is a very strange behaviour… Have you got any idea ?

              – Egomet
              Feb 2 at 18:32
















            0












            0








            0







            I have never actually tried this to remove an association, only ever add or change one, but the single go-to utility for Mac file associations has always been RCDefaultApp (freeware).

            First released in 2004 & hasn't been updated since 2009... but still works on Mojave.



            It installs as a control panel.




            1. Select the extensions tab [it may take some time to load up]

            2. Scroll to your desired extension.

            3. Change the Default App - this includes Default, Disable or Other...[which gives a file picker] as well as any app that has declared it can handle that file type.


            I'm guessing Disable may remove all associations & revert the icon - it may need a reboot, or potentially a file.



            Extension picked at random, I don't have the ones your question refers to.



            enter image description here






            share|improve this answer













            I have never actually tried this to remove an association, only ever add or change one, but the single go-to utility for Mac file associations has always been RCDefaultApp (freeware).

            First released in 2004 & hasn't been updated since 2009... but still works on Mojave.



            It installs as a control panel.




            1. Select the extensions tab [it may take some time to load up]

            2. Scroll to your desired extension.

            3. Change the Default App - this includes Default, Disable or Other...[which gives a file picker] as well as any app that has declared it can handle that file type.


            I'm guessing Disable may remove all associations & revert the icon - it may need a reboot, or potentially a file.



            Extension picked at random, I don't have the ones your question refers to.



            enter image description here







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 2 at 17:06









            TetsujinTetsujin

            16k53462




            16k53462













            • Thank you for your answer. The problem is partially solved. The concerned file icons changed but : — the unwanted icons briefly appears when the Finder window is loading — one of the two icons displayed when opening the file in Xcode is the unwanted icon : i.imgur.com/SU3SJ7y.png — all files displayed on Desktop have the unwanted icon if, and only if the icon size is set to <= 48 px ; which is a very strange behaviour… Have you got any idea ?

              – Egomet
              Feb 2 at 18:32





















            • Thank you for your answer. The problem is partially solved. The concerned file icons changed but : — the unwanted icons briefly appears when the Finder window is loading — one of the two icons displayed when opening the file in Xcode is the unwanted icon : i.imgur.com/SU3SJ7y.png — all files displayed on Desktop have the unwanted icon if, and only if the icon size is set to <= 48 px ; which is a very strange behaviour… Have you got any idea ?

              – Egomet
              Feb 2 at 18:32



















            Thank you for your answer. The problem is partially solved. The concerned file icons changed but : — the unwanted icons briefly appears when the Finder window is loading — one of the two icons displayed when opening the file in Xcode is the unwanted icon : i.imgur.com/SU3SJ7y.png — all files displayed on Desktop have the unwanted icon if, and only if the icon size is set to <= 48 px ; which is a very strange behaviour… Have you got any idea ?

            – Egomet
            Feb 2 at 18:32







            Thank you for your answer. The problem is partially solved. The concerned file icons changed but : — the unwanted icons briefly appears when the Finder window is loading — one of the two icons displayed when opening the file in Xcode is the unwanted icon : i.imgur.com/SU3SJ7y.png — all files displayed on Desktop have the unwanted icon if, and only if the icon size is set to <= 48 px ; which is a very strange behaviour… Have you got any idea ?

            – Egomet
            Feb 2 at 18:32















            0














            I eventually solved the problem by rebuilding OS X’s LaunchServices database. A way to achieve this is the following command :



            /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user


            (It is also possible to use OnyX utility.) A reboot has been necessary.






            share|improve this answer




























              0














              I eventually solved the problem by rebuilding OS X’s LaunchServices database. A way to achieve this is the following command :



              /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user


              (It is also possible to use OnyX utility.) A reboot has been necessary.






              share|improve this answer


























                0












                0








                0







                I eventually solved the problem by rebuilding OS X’s LaunchServices database. A way to achieve this is the following command :



                /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user


                (It is also possible to use OnyX utility.) A reboot has been necessary.






                share|improve this answer













                I eventually solved the problem by rebuilding OS X’s LaunchServices database. A way to achieve this is the following command :



                /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user


                (It is also possible to use OnyX utility.) A reboot has been necessary.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 3 at 13:03









                EgometEgomet

                62




                62






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • 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%2fsuperuser.com%2fquestions%2f1401355%2fhow-to-reset-the-icon-associated-to-a-given-file-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

                    Plaza Victoria

                    In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                    How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...