Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have dead (non-functional) links in my Dash, how do I manually remove them? They were created by an installation of a Java program via bash script.

Here is the script (if it helps): Minecraft

share|improve this question
up vote 3 down vote accepted

Remove the files ~/.local/share/applications/Minecraft.desktop and /usr/share/applications/Minecraft.desktop if they exist.

share|improve this answer
Interesting, ~/.local/share/applications/Minecraft.desktop was there and I removed it but the issue persists. – Switchkick Jul 8 '12 at 3:27
@Switchkick, have you rebooted, they sometimes persist until reboot, also they will still show up in your "Recent Programs" history until pushed out by new apps. If they were installed systemwide the may also be in the other location listed in Florian's answer, check there as well – TrailRider Jul 8 '12 at 4:42
I restarted, and the other location held no icon, issue remains. I will be marking this as the correct answer as I'm sure in most instances it will be. – Switchkick Jul 8 '12 at 8:24
Is grep Minecraft ~/.local/share/applications/* /usr/share/applications/* printing anything? – Florian Diesch Jul 8 '12 at 13:58
It is: /home/USERNAME/.local/share/applications/alloc-installer.desktop:Name=Minecraft – Switchkick Jul 8 '12 at 21:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.