Super User is a question and answer site for computer enthusiasts and power users. 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 am using Ubuntu and GNOME Do and have some bad shortcuts (they even have a grey X icon ) that I can't figure out and delete from the list.

I thought GNOME Do has some cache but its been a while and they are still there.

I deleted the ~/local/share/gnome-do folder and still no success.

Any ideas how to clear them from the list?

share|improve this question
up vote 6 down vote accepted

Maybe you have created shortcuts by some menu/shortcut editor, in my case is alacarte. I found that when I remove shortcuts from menu by alacarte, it does not remove .desktop file in ~/.local/share/applications/ but only set flag hidden=True which gnome-do somehow does not recognize this so it still display that shortcut. So make sure that .desktop file was deleted along with removing ~/.local/share/gnome-do/ directory

share|improve this answer

Removing the ~/.local/share/gnome-do/ directory worked for me, but you have to make sure you terminate gnome-do before doing so...

share|improve this answer

None of the other answers worked for me.

I found that deleting ~/.gtk-bookmarks cleared them out. It is where older versions of ubuntu/nautalus(?) stored your bookmarks. However, after doing this I noticed that Gnome DO wasn't picking up my new shortcuts. I had to add a symlink to the new location.

ln -nsf ~/.config/gtk-3.0/bookmarks .gtk-bookmarks
# => .gtk-bookmarks -> /home/[USER]/.config/gtk-3.0/bookmarks
share|improve this answer

Probably it's a little bit a brute-force way to do it, but removing (renaming) the

~/.local/share/gnome-do

folder worked for me.

share|improve this answer
    
didnt work for me :( – Gabriel Solomon Jul 22 '10 at 7:18

I do not use personally gnome-do, but I found How to clear the icon cache? which says:

When you change desktop files (depending on how you do it) for some reason, GNOME decides to keep copy of the old one around but just hide it. Do sees both the old and new copies. Delete the old ones and you should be good to go.

Culprit for me turned out to be in: ~/.gnome2/panel2.d/default/launchers

share|improve this answer
    
empty folder. tnx for the try – Gabriel Solomon Jul 23 '10 at 9:26
    
@solomongaby: What happens if you search for the old icons ? (I don't have DO or Gnome so can't do it.) – harrymc Jul 23 '10 at 9:58
    
@solomongaby: Funny question - have you checked for hidden files in the above folder? – harrymc Jul 23 '10 at 12:56
    
yes i did .. nothing in there – Gabriel Solomon Jul 26 '10 at 9:43
    
@solomongaby: Try to see if some hidden dir/file exists in $HOME. – harrymc Jul 26 '10 at 10:51

Open ~/.local/share/applications/ and find files with error names (like your error). Delete them.

Restart gnome-do or the system.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .