Home » Questions » Computers [ Ask a new question ]

How can I clear bad shorcuts from GNOME Do cache?

How can I clear bad shorcuts from GNOME Do cache?

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.

Asked by: Guest | Views: 67
Total answers/comments: 3
Guest [Entry]

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
Guest [Entry]

"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"
Guest [Entry]

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

Restart gnome-do or the system."