# ERROR: Could not find suitable executable for Exec entry when trying to

**URL:** <https://discourse.appimage.org/t/error-could-not-find-suitable-executable-for-exec-entry-when-trying-to/1857>\
**Category:** Creating AppImages\
**Created:** [October 18, 2020, 1:12pm UTC](https://discourse.appimage.org/t/error-could-not-find-suitable-executable-for-exec-entry-when-trying-to/1857 "2020-10-18T13:12:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![qarmin](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/qarmin/32/470_2.png) [@qarmin](https://discourse.appimage.org/u/qarmin)\
**Post date:** [October 18, 2020, 1:12pm UTC](https://discourse.appimage.org/t/error-could-not-find-suitable-executable-for-exec-entry-when-trying-to/1857/1 "2020-10-18T13:12:10Z")

</div>

Hi,  
I want to use pack my GTK application, bu when executing this commands

```auto
          wget -c "https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh"
          wget -c "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage"
          mkdir AppDir
          cp target/release/czkawka_gui /AppDir
          ./linuxdeploy-x86_64.AppImage --appdir AppDir --plugin gtk --output appimage --icon-file icon.png --desktop-file pkgs/com.github.qarmin.czkawka.desktop

```

I’m getting this error

```auto
ERROR: Could not find suitable executable for Exec entry: czkawka_gui 

```

This is how looks my desktop file

```auto
[Desktop Entry]
Version=1.0.0
Type=Application
Terminal=false
Exec=czkawka_gui
Name=Czkawka
Comment=Multi functional app to find duplicates, empty folders etc.
Icon=icon

```

---

<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:** [October 24, 2020, 2:33pm UTC](https://discourse.appimage.org/t/error-could-not-find-suitable-executable-for-exec-entry-when-trying-to/1857/2 "2020-10-24T14:33:06Z")

</div>

Hello @qarmin. Welcome.

Please post the output of `find ./AppDir`.

---

<div class="post-metadata">

**Author:** ![qarmin](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/qarmin/32/470_2.png) [@qarmin](https://discourse.appimage.org/u/qarmin)\
**Post date:** [October 24, 2020, 4:58pm UTC](https://discourse.appimage.org/t/error-could-not-find-suitable-executable-for-exec-entry-when-trying-to/1857/3 "2020-10-24T16:58:00Z")

</div>

I already implemented in CI creating Appimage - [https://github.com/qarmin/czkawka/commit/460a3c22b3d122aeba27f5d63a0afdb80d76c555](https://github.com/qarmin/czkawka/commit/460a3c22b3d122aeba27f5d63a0afdb80d76c555)

The problem was with copying binary to `AppDir` instead `AppDir/usr/bin`
