How to remove duplicate entries in dash?Where to create the desktop configuration file of an app so that it can be locked to launcher?Two Matlab icons in DashChrome broken unity launcherThe Applications List under System Notification settings shows duplicate entriesDuplicate icons, and some old ones in DashCan ~/.local/share/applications override /usr/share/applications?Why does my custom launcher open under a separate icon?Wrong display name and icon in launcherProblem with google chrome icon in launcher (left bar)Irrelevant tool tip text displayed in launcher for chromeDuplicate Application Icons appear in DashSoftware Sources not found in Unity Dash Searchubuntu 14.04 Dash default file options change?How to remove folder shortcuts from Dash filesUbuntu 14.04 No Dash No Menu on an User AccountHow do I remove duplicate entries from Dash on 18.04?

What is an "07" chord?

What game(s) does Michael play in Mind Field S2E4?

Theravada and Mahayana - The Crucial Differences

Meaning of "in arms"

What techniques can I use to seduce a PC without arousing suspicion of ulterior motives?

Command which removes data left side of ";" (semicolon) on each row

How to selectively rsync folders while retaining tree structure?

Drawing some fruits with tikz

Hypothesis testing- with normal approximation

Why did Grima shed a tear?

Is "I can eat a glass" a good translation of "私はガラスを食べられます"?

Linux unzip file from script without outputting the unzipped file names

What's a good strategy for offering low on a house?

Why did the people of Zion never find evidence of the previous cycles?

Right way to say I disagree with the design but ok I will do

Why is Ancient Greek "δέ" translated by Gothic "þan" /then/?

Travel with Expired Greek Passport from UK to Greece and Return

Noise reduction using multiple recordings of the same signal

How to make a Bash script to change the format of a date in a CSV file

18 month old kicked out of church nursery

On the finite simple groups with an irreducible complex representation of a given dimension

What is a GPU year?

How can I list all flight numbers that connect two countries (non-stop)?

How did the T-850 still function after it removed its second battery?



How to remove duplicate entries in dash?


Where to create the desktop configuration file of an app so that it can be locked to launcher?Two Matlab icons in DashChrome broken unity launcherThe Applications List under System Notification settings shows duplicate entriesDuplicate icons, and some old ones in DashCan ~/.local/share/applications override /usr/share/applications?Why does my custom launcher open under a separate icon?Wrong display name and icon in launcherProblem with google chrome icon in launcher (left bar)Irrelevant tool tip text displayed in launcher for chromeDuplicate Application Icons appear in DashSoftware Sources not found in Unity Dash Searchubuntu 14.04 Dash default file options change?How to remove folder shortcuts from Dash filesUbuntu 14.04 No Dash No Menu on an User AccountHow do I remove duplicate entries from Dash on 18.04?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









6

















After upgrading to Ubuntu 14.04 from 12.04 I have duplicate entries in dash.



enter image description here



How can I get rid of them?










share|improve this question


































    6

















    After upgrading to Ubuntu 14.04 from 12.04 I have duplicate entries in dash.



    enter image description here



    How can I get rid of them?










    share|improve this question






























      6












      6








      6


      8






      After upgrading to Ubuntu 14.04 from 12.04 I have duplicate entries in dash.



      enter image description here



      How can I get rid of them?










      share|improve this question

















      After upgrading to Ubuntu 14.04 from 12.04 I have duplicate entries in dash.



      enter image description here



      How can I get rid of them?







      14.04 unity-dash .desktop






      share|improve this question
















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 26 '14 at 19:21









      Jacob Vlijm

      69.3k10 gold badges148 silver badges251 bronze badges




      69.3k10 gold badges148 silver badges251 bronze badges










      asked Aug 26 '14 at 10:30









      user244647user244647

      331 silver badge8 bronze badges




      331 silver badge8 bronze badges























          1 Answer
          1






          active

          oldest

          votes


















          19


















          In Dash, applications are represented by .desktop files. These files are located in either /usr/share/applications or ~/.local/share/applications. For snap programs, also look at /var/lib/snapd/desktop/applications



          What you see in Dash is not the filename of these .desktop files, but the (application-) name that is defined in the Name= line, inside the file.



          When you have duplicate appearances of the same application in Dash, it almost certainly means that you have desktop files in either /usr/share/applications or ~/.local/share applications (or even the snap folder) with a different file name, but representing the same application, and with the same Name= line.



          This is for example the result when I copy the gedit.desktop file, rename it to monkey.desktop and copy it into /usr/share/applications:



          enter image description here



          In your case it is probably the result of installed new versions of applications you already had installed, these new versions install new .desktop files, but with a slightly different (file-)name.



          What you should do is look inside both directories, find these "almost duplicate" .desktop files, remove the oldest and keep the latest.



          Some more information



          From the two locations: /usr/share/applications and ~/.local/share/applications, the latter takes precedence. If two .desktop files with the same filename exist in both directories, the local one shows up in Dash (if just copied, it takes a logout / login). That is why it is normally good practice to first copy a .desktop file to the local directory (to add items to the launcher's quicklist for example) before editing, and leave the global one untouched.



          If you install a newer version of some software, and the newly installed .desktop file name differs from the old one (and the old one is not removed for some reason), the application will have multiple occurrences in Dash. The same happens when the .desktop file is replaced, but people forget they have a local (edited) version of the .desktop file.






          share|improve this answer




























          • Thank you! I didn't have any .desktop files in ~/.local/share applications just similar files in /usr/share/applications.

            – user244647
            Aug 26 '14 at 18:27











          • That is very well possible! I will add some information to my answer.

            – Jacob Vlijm
            Aug 26 '14 at 18:32











          • For snap programs, check /var/lib/snapd/desktop/applications

            – Homero Esmeraldo
            Jun 3 at 18:58












          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/4.0/"u003ecc by-sa 4.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%2f516207%2fhow-to-remove-duplicate-entries-in-dash%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









          19


















          In Dash, applications are represented by .desktop files. These files are located in either /usr/share/applications or ~/.local/share/applications. For snap programs, also look at /var/lib/snapd/desktop/applications



          What you see in Dash is not the filename of these .desktop files, but the (application-) name that is defined in the Name= line, inside the file.



          When you have duplicate appearances of the same application in Dash, it almost certainly means that you have desktop files in either /usr/share/applications or ~/.local/share applications (or even the snap folder) with a different file name, but representing the same application, and with the same Name= line.



          This is for example the result when I copy the gedit.desktop file, rename it to monkey.desktop and copy it into /usr/share/applications:



          enter image description here



          In your case it is probably the result of installed new versions of applications you already had installed, these new versions install new .desktop files, but with a slightly different (file-)name.



          What you should do is look inside both directories, find these "almost duplicate" .desktop files, remove the oldest and keep the latest.



          Some more information



          From the two locations: /usr/share/applications and ~/.local/share/applications, the latter takes precedence. If two .desktop files with the same filename exist in both directories, the local one shows up in Dash (if just copied, it takes a logout / login). That is why it is normally good practice to first copy a .desktop file to the local directory (to add items to the launcher's quicklist for example) before editing, and leave the global one untouched.



          If you install a newer version of some software, and the newly installed .desktop file name differs from the old one (and the old one is not removed for some reason), the application will have multiple occurrences in Dash. The same happens when the .desktop file is replaced, but people forget they have a local (edited) version of the .desktop file.






          share|improve this answer




























          • Thank you! I didn't have any .desktop files in ~/.local/share applications just similar files in /usr/share/applications.

            – user244647
            Aug 26 '14 at 18:27











          • That is very well possible! I will add some information to my answer.

            – Jacob Vlijm
            Aug 26 '14 at 18:32











          • For snap programs, check /var/lib/snapd/desktop/applications

            – Homero Esmeraldo
            Jun 3 at 18:58















          19


















          In Dash, applications are represented by .desktop files. These files are located in either /usr/share/applications or ~/.local/share/applications. For snap programs, also look at /var/lib/snapd/desktop/applications



          What you see in Dash is not the filename of these .desktop files, but the (application-) name that is defined in the Name= line, inside the file.



          When you have duplicate appearances of the same application in Dash, it almost certainly means that you have desktop files in either /usr/share/applications or ~/.local/share applications (or even the snap folder) with a different file name, but representing the same application, and with the same Name= line.



          This is for example the result when I copy the gedit.desktop file, rename it to monkey.desktop and copy it into /usr/share/applications:



          enter image description here



          In your case it is probably the result of installed new versions of applications you already had installed, these new versions install new .desktop files, but with a slightly different (file-)name.



          What you should do is look inside both directories, find these "almost duplicate" .desktop files, remove the oldest and keep the latest.



          Some more information



          From the two locations: /usr/share/applications and ~/.local/share/applications, the latter takes precedence. If two .desktop files with the same filename exist in both directories, the local one shows up in Dash (if just copied, it takes a logout / login). That is why it is normally good practice to first copy a .desktop file to the local directory (to add items to the launcher's quicklist for example) before editing, and leave the global one untouched.



          If you install a newer version of some software, and the newly installed .desktop file name differs from the old one (and the old one is not removed for some reason), the application will have multiple occurrences in Dash. The same happens when the .desktop file is replaced, but people forget they have a local (edited) version of the .desktop file.






          share|improve this answer




























          • Thank you! I didn't have any .desktop files in ~/.local/share applications just similar files in /usr/share/applications.

            – user244647
            Aug 26 '14 at 18:27











          • That is very well possible! I will add some information to my answer.

            – Jacob Vlijm
            Aug 26 '14 at 18:32











          • For snap programs, check /var/lib/snapd/desktop/applications

            – Homero Esmeraldo
            Jun 3 at 18:58













          19














          19










          19









          In Dash, applications are represented by .desktop files. These files are located in either /usr/share/applications or ~/.local/share/applications. For snap programs, also look at /var/lib/snapd/desktop/applications



          What you see in Dash is not the filename of these .desktop files, but the (application-) name that is defined in the Name= line, inside the file.



          When you have duplicate appearances of the same application in Dash, it almost certainly means that you have desktop files in either /usr/share/applications or ~/.local/share applications (or even the snap folder) with a different file name, but representing the same application, and with the same Name= line.



          This is for example the result when I copy the gedit.desktop file, rename it to monkey.desktop and copy it into /usr/share/applications:



          enter image description here



          In your case it is probably the result of installed new versions of applications you already had installed, these new versions install new .desktop files, but with a slightly different (file-)name.



          What you should do is look inside both directories, find these "almost duplicate" .desktop files, remove the oldest and keep the latest.



          Some more information



          From the two locations: /usr/share/applications and ~/.local/share/applications, the latter takes precedence. If two .desktop files with the same filename exist in both directories, the local one shows up in Dash (if just copied, it takes a logout / login). That is why it is normally good practice to first copy a .desktop file to the local directory (to add items to the launcher's quicklist for example) before editing, and leave the global one untouched.



          If you install a newer version of some software, and the newly installed .desktop file name differs from the old one (and the old one is not removed for some reason), the application will have multiple occurrences in Dash. The same happens when the .desktop file is replaced, but people forget they have a local (edited) version of the .desktop file.






          share|improve this answer
















          In Dash, applications are represented by .desktop files. These files are located in either /usr/share/applications or ~/.local/share/applications. For snap programs, also look at /var/lib/snapd/desktop/applications



          What you see in Dash is not the filename of these .desktop files, but the (application-) name that is defined in the Name= line, inside the file.



          When you have duplicate appearances of the same application in Dash, it almost certainly means that you have desktop files in either /usr/share/applications or ~/.local/share applications (or even the snap folder) with a different file name, but representing the same application, and with the same Name= line.



          This is for example the result when I copy the gedit.desktop file, rename it to monkey.desktop and copy it into /usr/share/applications:



          enter image description here



          In your case it is probably the result of installed new versions of applications you already had installed, these new versions install new .desktop files, but with a slightly different (file-)name.



          What you should do is look inside both directories, find these "almost duplicate" .desktop files, remove the oldest and keep the latest.



          Some more information



          From the two locations: /usr/share/applications and ~/.local/share/applications, the latter takes precedence. If two .desktop files with the same filename exist in both directories, the local one shows up in Dash (if just copied, it takes a logout / login). That is why it is normally good practice to first copy a .desktop file to the local directory (to add items to the launcher's quicklist for example) before editing, and leave the global one untouched.



          If you install a newer version of some software, and the newly installed .desktop file name differs from the old one (and the old one is not removed for some reason), the application will have multiple occurrences in Dash. The same happens when the .desktop file is replaced, but people forget they have a local (edited) version of the .desktop file.







          share|improve this answer















          share|improve this answer




          share|improve this answer








          edited Jun 3 at 19:00









          Homero Esmeraldo

          1511 silver badge12 bronze badges




          1511 silver badge12 bronze badges










          answered Aug 26 '14 at 16:01









          Jacob VlijmJacob Vlijm

          69.3k10 gold badges148 silver badges251 bronze badges




          69.3k10 gold badges148 silver badges251 bronze badges















          • Thank you! I didn't have any .desktop files in ~/.local/share applications just similar files in /usr/share/applications.

            – user244647
            Aug 26 '14 at 18:27











          • That is very well possible! I will add some information to my answer.

            – Jacob Vlijm
            Aug 26 '14 at 18:32











          • For snap programs, check /var/lib/snapd/desktop/applications

            – Homero Esmeraldo
            Jun 3 at 18:58

















          • Thank you! I didn't have any .desktop files in ~/.local/share applications just similar files in /usr/share/applications.

            – user244647
            Aug 26 '14 at 18:27











          • That is very well possible! I will add some information to my answer.

            – Jacob Vlijm
            Aug 26 '14 at 18:32











          • For snap programs, check /var/lib/snapd/desktop/applications

            – Homero Esmeraldo
            Jun 3 at 18:58
















          Thank you! I didn't have any .desktop files in ~/.local/share applications just similar files in /usr/share/applications.

          – user244647
          Aug 26 '14 at 18:27





          Thank you! I didn't have any .desktop files in ~/.local/share applications just similar files in /usr/share/applications.

          – user244647
          Aug 26 '14 at 18:27













          That is very well possible! I will add some information to my answer.

          – Jacob Vlijm
          Aug 26 '14 at 18:32





          That is very well possible! I will add some information to my answer.

          – Jacob Vlijm
          Aug 26 '14 at 18:32













          For snap programs, check /var/lib/snapd/desktop/applications

          – Homero Esmeraldo
          Jun 3 at 18:58





          For snap programs, check /var/lib/snapd/desktop/applications

          – Homero Esmeraldo
          Jun 3 at 18:58


















          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f516207%2fhow-to-remove-duplicate-entries-in-dash%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

          Tamil (spriik) Luke uk diar | Nawigatjuun

          Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

          Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?