Duplicates of .desktop files in Linux

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












I have a duplication of NetBeans for .desktop . I cannot find where these .desktop files are, I have searched for them using the GUI file explorer and cannot find them. And yes, I have looked in /usr/share/applications and i still cannot find them there. I have uninstalled NetBeans and reinstalled it, however the .desktop entry is still there? Is there anyway to remove 2 and keep the proper one?3 NetBean .desktop entries







share|improve this question


























    up vote
    2
    down vote

    favorite












    I have a duplication of NetBeans for .desktop . I cannot find where these .desktop files are, I have searched for them using the GUI file explorer and cannot find them. And yes, I have looked in /usr/share/applications and i still cannot find them there. I have uninstalled NetBeans and reinstalled it, however the .desktop entry is still there? Is there anyway to remove 2 and keep the proper one?3 NetBean .desktop entries







    share|improve this question
























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I have a duplication of NetBeans for .desktop . I cannot find where these .desktop files are, I have searched for them using the GUI file explorer and cannot find them. And yes, I have looked in /usr/share/applications and i still cannot find them there. I have uninstalled NetBeans and reinstalled it, however the .desktop entry is still there? Is there anyway to remove 2 and keep the proper one?3 NetBean .desktop entries







      share|improve this question














      I have a duplication of NetBeans for .desktop . I cannot find where these .desktop files are, I have searched for them using the GUI file explorer and cannot find them. And yes, I have looked in /usr/share/applications and i still cannot find them there. I have uninstalled NetBeans and reinstalled it, however the .desktop entry is still there? Is there anyway to remove 2 and keep the proper one?3 NetBean .desktop entries









      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 11 '17 at 19:36









      Jeff Schaller

      32k849109




      32k849109










      asked Nov 11 '17 at 19:25









      MarkPrescher

      114




      114




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          Check within $XDG_DATA_HOME, $XDG_DATA_DIRS



          Per the XDG Spec § Environment Variables these will be set to ~/.local/share, /usr/local/share, and /usr/share if not specified. Within each those directories, you should see an applications folder.




          tl;dr



          Checking within



          • ~/.local/share/applications

          • /usr/local/share/applications

          would likely show these up, I'd guess.






          share|improve this answer



























            up vote
            0
            down vote













            Or else



            sudo find / -name *.desktop | grep -i netbeans


            If they are anywhere else.






            share|improve this answer




















            • or sudo find / -name '*.desktop' -iname '*netbeans*' if you have GNU find and would like to do it all in one command
              – Jeff Schaller
              Nov 18 '17 at 13:38










            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',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            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%2f403939%2fduplicates-of-desktop-files-in-linux%23new-answer', 'question_page');

            );

            Post as a guest






























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            Check within $XDG_DATA_HOME, $XDG_DATA_DIRS



            Per the XDG Spec § Environment Variables these will be set to ~/.local/share, /usr/local/share, and /usr/share if not specified. Within each those directories, you should see an applications folder.




            tl;dr



            Checking within



            • ~/.local/share/applications

            • /usr/local/share/applications

            would likely show these up, I'd guess.






            share|improve this answer
























              up vote
              0
              down vote













              Check within $XDG_DATA_HOME, $XDG_DATA_DIRS



              Per the XDG Spec § Environment Variables these will be set to ~/.local/share, /usr/local/share, and /usr/share if not specified. Within each those directories, you should see an applications folder.




              tl;dr



              Checking within



              • ~/.local/share/applications

              • /usr/local/share/applications

              would likely show these up, I'd guess.






              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                Check within $XDG_DATA_HOME, $XDG_DATA_DIRS



                Per the XDG Spec § Environment Variables these will be set to ~/.local/share, /usr/local/share, and /usr/share if not specified. Within each those directories, you should see an applications folder.




                tl;dr



                Checking within



                • ~/.local/share/applications

                • /usr/local/share/applications

                would likely show these up, I'd guess.






                share|improve this answer












                Check within $XDG_DATA_HOME, $XDG_DATA_DIRS



                Per the XDG Spec § Environment Variables these will be set to ~/.local/share, /usr/local/share, and /usr/share if not specified. Within each those directories, you should see an applications folder.




                tl;dr



                Checking within



                • ~/.local/share/applications

                • /usr/local/share/applications

                would likely show these up, I'd guess.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 11 '17 at 20:24









                Andrew Siplas

                1815




                1815






















                    up vote
                    0
                    down vote













                    Or else



                    sudo find / -name *.desktop | grep -i netbeans


                    If they are anywhere else.






                    share|improve this answer




















                    • or sudo find / -name '*.desktop' -iname '*netbeans*' if you have GNU find and would like to do it all in one command
                      – Jeff Schaller
                      Nov 18 '17 at 13:38














                    up vote
                    0
                    down vote













                    Or else



                    sudo find / -name *.desktop | grep -i netbeans


                    If they are anywhere else.






                    share|improve this answer




















                    • or sudo find / -name '*.desktop' -iname '*netbeans*' if you have GNU find and would like to do it all in one command
                      – Jeff Schaller
                      Nov 18 '17 at 13:38












                    up vote
                    0
                    down vote










                    up vote
                    0
                    down vote









                    Or else



                    sudo find / -name *.desktop | grep -i netbeans


                    If they are anywhere else.






                    share|improve this answer












                    Or else



                    sudo find / -name *.desktop | grep -i netbeans


                    If they are anywhere else.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Nov 18 '17 at 12:57









                    bu5hman

                    1,164214




                    1,164214











                    • or sudo find / -name '*.desktop' -iname '*netbeans*' if you have GNU find and would like to do it all in one command
                      – Jeff Schaller
                      Nov 18 '17 at 13:38
















                    • or sudo find / -name '*.desktop' -iname '*netbeans*' if you have GNU find and would like to do it all in one command
                      – Jeff Schaller
                      Nov 18 '17 at 13:38















                    or sudo find / -name '*.desktop' -iname '*netbeans*' if you have GNU find and would like to do it all in one command
                    – Jeff Schaller
                    Nov 18 '17 at 13:38




                    or sudo find / -name '*.desktop' -iname '*netbeans*' if you have GNU find and would like to do it all in one command
                    – Jeff Schaller
                    Nov 18 '17 at 13:38

















                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f403939%2fduplicates-of-desktop-files-in-linux%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?