# AppImage starting separate process

**URL:** <https://discourse.appimage.org/t/appimage-starting-separate-process/2270>\
**Category:** Creating AppImages\
**Created:** [February 14, 2021, 12:07pm UTC](https://discourse.appimage.org/t/appimage-starting-separate-process/2270 "2021-02-14T12:07:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgord9518](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/mgord9518/32/459_2.png) [@mgord9518](https://discourse.appimage.org/u/mgord9518)\
**Post date:** [February 14, 2021, 12:07pm UTC](https://discourse.appimage.org/t/appimage-starting-separate-process/2270/1 "2021-02-14T12:07:17Z")

</div>

After creating an AppImage for The Powder Toy, I noticed that it annoyingly doesn’t stack the new icon on top of the AppImage in the launcher itself. I can tell it isn’t a Gnome issue because AppImages like LibreWolf and Krita display properly in the dock. What is the proper way of building one in order to make it display the icon properly? I’ve even tried dissecting the AppRun of LibreWolf and I can’t see any differences besides the program they’re launching.

First picture is expected behavior using LibreWolf as an example, 2nd is what’s happening when I click the icon.

![Screenshot from 2021-02-14 21-04-42](https://canada1.discourse-cdn.com/flex027/uploads/appimage/original/1X/c68accad4be3d7d165e1e904e71490f98c354240.png)  
 ![Screenshot from 2021-02-14 20-53-44](https://canada1.discourse-cdn.com/flex027/uploads/appimage/original/1X/514a138e21d3b21e194f11999957738405f3d0e0.png)

---

<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:** [February 15, 2021, 7:39pm UTC](https://discourse.appimage.org/t/appimage-starting-separate-process/2270/2 "2021-02-15T19:39:28Z")

</div>

Possibly you need to set `StartupWMClass` in the desktop file?

---

<div class="post-metadata">

**Author:** ![mgord9518](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/mgord9518/32/459_2.png) [@mgord9518](https://discourse.appimage.org/u/mgord9518)\
**Post date:** [February 16, 2021, 12:51am UTC](https://discourse.appimage.org/t/appimage-starting-separate-process/2270/3 "2021-02-16T00:51:29Z")

</div>

That worked! Thank you so much

---

<div class="post-metadata">

**Author:** ![mgord9518](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/mgord9518/32/459_2.png) [@mgord9518](https://discourse.appimage.org/u/mgord9518)\
**Post date:** [February 16, 2021, 1:35am UTC](https://discourse.appimage.org/t/appimage-starting-separate-process/2270/4 "2021-02-16T01:35:54Z")

</div>

For anyone else having the same problem, run `xprop | grep CLASS` and click on the running program of the AppImage you’re trying to create. Use the output of that command as the class under StartupWMClass in the desktop file.
