4

I have deinstalled a package (epiphany) which showed up thrice in the dash. Now, one of the application-icons is gone, yet two remain.

I want to know where to start looking into this problem: how does the Dash application-lense determine its contents? And where (if at all) is that saved or cached?

lsof -c unity and the likes, may list the file(s) or folder I am looking for, but wading through all that content is just too much work :)

berkes
  • 1,567
  • lsof -c unity and the likes, may list the file(s) or folder I am looking for, but wading through all that content is just too much work ... grep? – Rinzwind Apr 04 '13 at 08:12
  • sure. If you tell me what to grep for :) (which is, the name of the dir, file or cache that contains the entries) – berkes Apr 04 '13 at 08:27
  • Try ls /usr/share/applications | grep epiphany. – mikewhatever Apr 04 '13 at 09:23
  • /usr/share/applications does not contain anything referring to epiphany (I grepped all content), nor does /usr/share/application-registry. I suspect these entries lie below my $HOME. – berkes Apr 04 '13 at 10:17
  • what about ~/.local/share/applications? –  Apr 04 '13 at 12:45
  • MHC has modified the existing answer so you may as well accept that one! –  Apr 04 '13 at 15:40
  • Please modify your question! dash gets it's contents from zeitgeist's sqlite db. And that should be the answer to your correct question, but you seem to be looking for something different. – ignite Apr 04 '13 at 15:54

1 Answers1

4

Application launchers - or rather their respective .desktop files - are stored under these directories:

  • /usr/share/applications - all users

  • $HOME/.local/share/applications - your user

If you look through these you should be able to find the culprit.


Another option are GUI menu editors. Out of the ones available I prefer MenuLibre, a pretty new project originally coded for the Ubuntu App Showdown. You can install the latest release from the developer's PPA by typing:

sudo add-apt-repository ppa:menulibre-dev/devel && apt-get update
sudo apt-get install menulibre

MenuLibre allows you to easily browse through your menu entries, identify duplicates and easily delete them:

enter image description here

Glutanimate
  • 21,393