Foxit icon picture is missing from Dashboard
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.
Solution 1:
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.desktop
which 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
Solution 2:
Figured it out thanks to krypto07's answer
- Open
FoxitReader.desktop
file by enteringsudo -H gedit ~/.local/share/applications/FoxitReader.desktop
in 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.