I installed Foxit Reader from the Foxi web page. Hear is the link of the Foxi reader. I have a problem, the icon in ubuntu dashboard is there but the picture is missing. When I first installed the picture was there, but suddenly the picture is gone. Please anyone help me. Hear is a picture of the dashboard.
4 Answers
I too faced a similar problem when installing FoxitReader in Ubuntu 12.04. I dug out a solution by going through the .desktop launcher file.
There will probably be 2 FoxitReader.desktop files on your system.
- The global one at
/usr/share/applications/FoxitReader.desktop, and - The local one at
~/.local/share/applications/FoxitReader.desktopwhich overrides the global one
In my case the local file had its Icon pointing to a non-existent png file ~/.local/share/icons/hicolor/64x64/apps/FoxitReader.png. I just copied the icon file from the /usr/share/icons/hicolor/64x64/apps directory to the pointed to location with
mkdir -p ~/.local/share/icons/hicolor/64x64/apps
cp /usr/share/icons/hicolor/64x64/apps/FoxitReader.png ~/.local/share/icons/hicolor/64x64/apps`
and Voila! The icon started showing again.
EDIT:
I just checked and simply setting Icon=FoxitReader as done in the global .desktop file is enough
- 341
Figured it out thanks to krypto07's answer
- Open
FoxitReader.desktopfile by enteringsudo -H gedit ~/.local/share/applications/FoxitReader.desktopin terminal (i am using gedit - you might use any text editor) - Here, you will find
Icon=/home/<pc name>/.local/share/icons/hicolor/64x64/apps/FoxitReader.png - Give the exact path of the icon/image which you want to display and save it.
Note: you can find icon for foxitreader in the folder named "image" which can be found in the installation folder of it or you can download it or you can display any image which you want to display, you just have to give correct full path of the image.
- 72,312
- 21
- 2
Actually you can just remove the settings under ~/.local/share/applications/ directory:
- Check if you have
/user/share/applications/FoxitReader.desktop - Open it and confirm you have:
Icon=FoxitReader cd ~/.local/share/applications/andmv FoxitReader.desktop FoxitReader.backup- Restart your computer and search in top left corner "Search your computer" for "foxit", now you should see the icon, just drag it to your launcher bar.
- Now you are good to remove
FoxitReader.backupyou created in step
I too faced this issue.
Reason: unable to locate png image file.
As shown in above image, search in Dashboard looks for png image at .local/share/icons/hicolor/... directory. But it is able to locate FoxitReader.png image there.
Step followed by to resolve this issue:
Searched for FoxitReader.png using find command. "FoxitReader.png" was shown in
/usr/share/local/icons/hicolor/.... Search output:

Simply copied all the png image in
/usr/share/local/icons/hicolor/...to~/.local/share/icons/hicolor/...
This immediately shows icons on dashboard search. No reboot required.
- 70,557
- 101
