How can I fix program icons that appear as a question mark in the Launcher?

ihsan kocak

In the left side of the screen there are icons: Software Center, Ubuntu One, etc. System icons can be seen but icons of the programs that I have installed can not be seen. Rather there is a "?" for the icons. How can I solve this problem?

ScottC

.desktop files control the behavior of launcher shortcuts in Linux. To check the icon in use, you will need to open the appropriate .desktop file that is located in either /usr/share/applications or in ~/.local/share/applications by typing the following command: (I'm assuming you installed Eclipse from the software center, so the more likely option is in use:

sudo -H gedit /usr/share/applications/eclipse.desktop

If this file is empty, you will need to exit without saving, and substitute the path in the command. Go down to the line marked Icon= and if there are any comments in it (designated by #), remove this comment, as i have heard of a bug that causes the icon to display, however i don't know if it has been fixed as yet.

If there is no Icon= line, find an appropriate icon in .png format and put the full path in this line including the Icon=.

Edit:

From the comments, you have said that you are running this from a link on the desktop. The proper way to do this would be to create a desktop launcher and asscociate the icon from it. To do this, open a terminal and type:

gedit ~/Desktop/eclipse.desktop

this will open a blank document. To make it a launcher add this to the file, substituting the correct paths for both the Exec= and the Icon= lines:

[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse
Exec=<path_to_eclipse>/eclipse
Icon=<path_to_eclipse>/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;

Save and close, then make the file executable by typing chmod +x ~/Desktop/eclipse.desktop

Now, when you open this shortcut, the icon set will appear in the launcher.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How I Can Create A Launcher For a Program

How can I remove duplicate icons for "launched" java programs in the launcher?

How can I put some separators between unity launcher icons?

How I can fix this? I explain in program

How can I use SEF form URL and escape question mark in it?

In Powershell, how can I replace a string that contains a question mark?

How can I fix this Pythagorean Triplet program?

How can I fix this program? ( regarding % )

How can I fix duplicate icons for Telegram in MATE?

How can I fix the alignment of my inline-flex icons?

How can I mount my partition with executive permissions using the launcher icons?

how can I customise the launcher icons and add a few files to the homedir of the to-be-user?

How can I fix a failing launcher icon after I moved my application?

How I can make svg icons appear after spring-boot:run

How can I fix this array issue? Car storage program

How can I fix AttributeError in Manim Hello World program?

Progress Bar Causes Program to Halt and Lock, How Can I Fix It?

How can I fix my format error in my program

How can I fix the constructor in my Employee program?

How do I turn off the border around Unity launcher icons?

With a launcher for a terminal application, how can I keep the terminal open after the program is complete?

How can I mark it up?

Question mark in URL is removed with Express Route Parameters. How can I get a post by title with a question mark? (Node.js/Express/MongoDB)

Can I edit which icons appear in the Unity dash?

Sometimes Google Sheet's cell boundaries appear broken/uneven. How can I fix it?

How can i fix this?

How can i fix this

How can I disable these advertisements in the launcher in 14.10?

How can I change the Unity launcher delay?