Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Some apps from the Ubuntu Software Center don't have any icons that Ubuntu Unity desktop even sees, such as ERIC, the Python IDE. The results are ugly:

enter image description here

I get this ugly question mark icon, and I can't find any way to configure that icon. There is no more ability to create a launcher icon on my desktop, or to really control (from the Unity GUI anyways) what icon appears for an app, and if the default ways that Unity finds icons break down, it appears that the results are stuck on "ugly" permanently.

Ubuntu version: 11.10 (Oneiric Ocelot)

Update: The answers so far show that something is wrong with my brand new installation, because other people see the icon for eric (eric.png, I guess). Interestingly, many icons in Ubuntu are SVG, and some are PNG. I wonder if that's the problem. Still no ability to change or set the icon for any app, either using the GUI, or via VI-and-terminal-and-editing files.

share|improve this question
add comment

2 Answers 2

The icon for eric is set in /usr/share/applications/eric.desktop:

[Desktop Entry]
Name=Eric python IDE
Name[es]=IDE para python Eric
Comment=Full featured Python IDE
Comment[es]=Completo entorno de programaci贸n para Python
Exec=eric
Terminal=false
Type=Application
Icon=eric
Categories=Development;IDE;
StartupNotify=true

On disk this appears to be:

/usr/share/pixmaps/eric.xpm

On my system eric is showing the proper icon in the dash, no idea why yours isn't doing that, but from looking at the default icon you might want to just set another one:

enter image description here

share|improve this answer
    
Mine also has Icon=eric. Where does the declaration "Icon=eric" resolve to in the file system? /usr/share/icons? There's no path in the entry in eric.desktop, and the /usr/share/icons folder is a root folder containing dozens of subfolders. not exactly clear what's up here. I tried copying an eric.png to /usr/share/icons/default with NO effect. –  Warren P Oct 14 '11 at 19:26
    
@WarrenP I've updated it to the xpm I found, and asked this question, since I'm not sure. –  Jorge Castro Oct 14 '11 at 19:38
    
The related question asked by Jorge has a very good answer; The theme-related path lookup is so complex that you would need to write a script to determine where the icon really is located. –  Warren P Oct 16 '11 at 14:07
add comment

I believe you'll have to edit the corresponding .desktop files in /usr/share/applications. Look for the icons you like in /usr/share/icons.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.