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.

When browsing the Software Center, I noticed that certain packages have icons - like Blender, the Gimp, etc.

How can I give the packages in my PPA an icon?

Also, when someone brings up the description of the package, it shows a screenshot. How can I do that too?

share|improve this question

3 Answers 3

up vote 6 down vote accepted

Software Center gets it's metadata (including icons) from desktop files in /usr/share/app-install/. The packages app-install-data and app-install-data-partner are installed by default and include desktop files for most of the items available in the software center.

The app-install-data package is automatically generated for each release, so packages available in the ubuntu repositories can just add an X-AppInstall-Package item to the .desktop file and wait for the next ubuntu release.

There's not really anything you can do for packages in PPAs. There have been proposals to change this, but I don't think anything has come of them. It's currently listed as an "Unresolved Issue" at https://wiki.ubuntu.com/SoftwareCenter

share|improve this answer

You need to have your program in the official debian/ubuntu repositories, and then anyone can upload a screenshot to http://screenshots.debian.net. Unfortunately I don't think there is any way to have a screenshot for packages in PPAs.

share|improve this answer
    
Does that include the icons too? –  Nathan Osman Aug 6 '10 at 22:49
    
@George, I haven't been able to find anything about icons, it might be a software center thing. –  Alvin Row Aug 6 '10 at 22:53

For the icon, you need to create a great one ;) and install it under /usr/share/icons/*. Then you'll need to give the path to the application icon somewhere[1] into the desktop menu for your app.

[1] I don't know the actual way to do that in a package; you'll have to find the way.

share|improve this answer
    
I don't see how this answers either of my questions. –  Nathan Osman Aug 7 '10 at 1:47
    
@George: The icons in the Software Center are the, let's say, "official application icon". So, if your app has it's own icon, it will be displayed when your package is accepted into any of the repositories used by the Software Center. As ~cscarney and Dor have already written, the Software Center doesn't use PPAs. –  Xuacu Aug 8 '10 at 0:46

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.