# How to correctly specify app's icon for linuxdeploy

**URL:** https://discourse.appimage.org/t/how-to-correctly-specify-apps-icon-for-linuxdeploy/2276
**Category:** Creating AppImages
**Created:** [February 21, 2021, 6:58pm UTC](https://discourse.appimage.org/t/how-to-correctly-specify-apps-icon-for-linuxdeploy/2276 "2021-02-21T18:58:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![whiffee](https://avatars.discourse-cdn.com/v4/letter/w/b5ac83/32.png) [@whiffee](https://discourse.appimage.org/u/whiffee)
#### Post date: [February 21, 2021, 6:58pm UTC](https://discourse.appimage.org/t/how-to-correctly-specify-apps-icon-for-linuxdeploy/2276/1 "2021-02-21T18:58:51Z")

</div>

Hi all,

Having some icon trouble, as following excerpts show:

$$$$$$$$$$$$$$$$$$$$$$$$

hexi@hexi ~/Downloads $ ./linuxdeploy-x86\_64.AppImage --appdir /home/hexi/Documents/fpohm/build/AppDir  
linuxdeploy version 1-alpha (git commit ID 9fb2ac3), built on 2021-01-03 14:26:39 UTC

– Creating basic AppDir structure –  
{create 10 directories}

– Deploying dependencies for existing files in AppDir –

– Copying files into AppDir –

– Copying files into AppDir –

– Deploying files into AppDir root directory –  
WARNING: No desktop file specified, using first desktop file found: /home/hexi/Documents/fpohm/build/AppDir/usr/share/applications/RobustPureHexMeshing.desktop

{snip}

ERROR: Could not find suitable icon for Icon entry: /home/hexi/Documents/fpohm/build/AppDir/usr/share/icons/apps/

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

The desktop file looks like:

[Desktop Entry]  
Type=Application  
Name=RobustPureHexMeshing  
Exec=/home/hexi/Documents/fpohm/build/RobustPureHexMeshing  
Icon=/home/hexi/Documents/fpohm/build/AppDir/usr/share/icons/apps/  
Comment=  
Terminal=true

I’ve tried a numbers of things, all I could think of. What is the correct way?  
Does the icon need to be outside the AppDir?

thnks,  
W

---

<div class="post-metadata">

### Author: ![probono](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/probono/32/81_2.png) [@probono](https://discourse.appimage.org/u/probono)
#### Post date: [March 14, 2021, 5:33pm UTC](https://discourse.appimage.org/t/how-to-correctly-specify-apps-icon-for-linuxdeploy/2276/2 "2021-03-14T17:33:50Z")

</div>

Hello @whiffee

Please ask over at [linuxdeploy](https://github.com/linuxdeploy/linuxdeploy/issues) because its author doesn’t read here.

Good luck!
