Design your icon
Your launcher icon needs to be recognizable in the Dock and Applications Library, even when it’s small. Compare it with the stock COSMIC icons as you work.
Use stock COSMIC icons as references
COSMIC icons don’t all share one outline: some depict objects, while others use a screen or frame. Pick a reference close to what you’re drawing and look at its proportions, colors, and spacing.
Build the icon
Start with the outline. Sketch a familiar object or a simple mark related to the app’s function as a single filled shape. If the app already has a recognizable mark, keep it. The folder tab in Files and the pen extending past Text Editor’s page are useful examples of distinctive outlines.
Decide which detail should stand out. Media Player’s white play triangle and Terminal’s yellow prompt are easy to pick out against their dark backgrounds. Use size or contrast to draw attention to your main detail, and remove smaller decorations that compete with it.
Choose colors that keep adjacent parts distinct. A darker rear layer, like the one in Files, can separate overlapping shapes. Shading can give an object depth; for frames and bezels, use a solid fill or stroke.
Compare your icon with stock icons in equal-size preview boxes. A thin shape can look smaller than a solid one with the same dimensions, so don’t rely on matching their bounds. Adjust the scale by eye and move asymmetrical artwork if it looks off-center.
Start from an SVG template
Download
Download
Download
Open the SVG in a vector editor and replace the Silhouette and Main detail layers with your own artwork.
Each template has a top-to-bottom gradient on its main surface. Change the gradient stops to suit your palette.
Examples
These launcher icons come from COSMIC Orbit apps.
Draw and test the SVG
- Draw on a square canvas. Use a square SVG
viewBox, leave transparent space around the artwork, and make the SVG self-contained so it renders without external fonts or images. Follow your project’s asset conventions when choosing dimensions and padding. - Render at 24, 48, and 96 pixels. Preview each size on light and dark backgrounds. At the smallest size, check that the icon is recognizable and that thin details and gaps haven’t disappeared. Merge or remove details that blur together. At larger sizes, look for strokes or shadows clipped by the canvas.
- Check it in COSMIC. Install the app, then find it in the Dock and Applications Library. Check its size against neighboring launchers and whether it’s easy to spot.
Preview your own icon
Choose a self-contained SVG or a PNG to compare it with stock COSMIC icons. Your file stays in your browser.
Install the launcher icon
If you started from the COSMIC app template, replace resources/icons/hicolor/scalable/apps/icon.svg. The template installs it as <app-id>.svg under share/icons/hicolor/scalable/apps/ in your install prefix. The desktop entry’s Icon= value should match that installed filename without .svg. If your project generates its desktop entry, check the source template as well.
Template install recipe · Freedesktop Icon Theme Specification