# Icon on a shortcut

**URL:** <https://discourse.appimage.org/t/icon-on-a-shortcut/1639>\
**Category:** Creating AppImages\
**Created:** [April 12, 2020, 5:44pm UTC](https://discourse.appimage.org/t/icon-on-a-shortcut/1639 "2020-04-12T17:44:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![useralex](https://avatars.discourse-cdn.com/v4/letter/u/919ad9/32.png) [@useralex](https://discourse.appimage.org/u/useralex)\
**Post date:** [April 12, 2020, 5:44pm UTC](https://discourse.appimage.org/t/icon-on-a-shortcut/1639/1 "2020-04-12T17:44:26Z")

</div>

Comrades, Hello!  
I can’t understand why I don’t create an icon for the app, I do everything according to the instructions [https://github.com/probonopd/linuxdeployqt](https://github.com/probonopd/linuxdeployqt).

the directory I created:

> /home/alex/Desktop/assibs  
> /home/alex/Desktop/assibs/lib  
> /home/alex/Desktop/assibs/bin/assibs (my app)  
> /home/alex/Desktop/assibs/share/applications/assibs.desktop  
> /home/alex/Desktop/assibs/share/icons/hicolor/128x128/apps/assibs.png

file contents assibs.desktop:

> [Desktop Entry]  
> Type=Application  
> Name=Qt App assibs  
> Comment=The best Qt Application Ever  
> Exec=assibs  
> Icon=assibs  
> Categories=Office;

a command to build:

> alex@ubu164:~/Desktop$ ./linuxdeployqt-continuous-x86\_64.AppImage /home/alex/Desktop/assibs/share/applications/assibs.desktop -appimage

> linuxdeployqt 6 (commit 5195ec1), build 712 built on 2019-11-22 21:06:09 UTC  
> Desktop file as first argument: “/home/alex/Desktop/assibs/share/applications/assibs.desktop”  
> desktopExecEntry: “assibs”  
> desktopIconEntry: “assibs”  
> Found binary from desktop file: “/home/alex/Desktop/assibs/bin/assibs”  
> FHS-like mode with PREFIX, fhsPrefix: “/home/alex/Desktop/assibs”  
> app-binary: “/home/alex/Desktop/assibs/bin/assibs”  
> appDirPath: “/home/alex/Desktop”  
> relativeBinPath: “assibs/bin/assibs”  
> Copied “/home/alex/Desktop/assibs/share/applications/assibs.desktop” to “/home/alex/Desktop/assibs.desktop”  
> Found icons from desktop file: (“/home/alex/Desktop/assibs/share/icons/hicolor/128x128/apps/assibs.png”)  
> iconToBeUsed: “/home/alex/Desktop/assibs/share/icons/hicolor/128x128/apps/assibs.png”  
> Copied “/home/alex/Desktop/assibs/share/icons/hicolor/128x128/apps/assibs.png” to “/home/alex/Desktop/assibs.png”  
> ERROR: “/usr/bin/qmake -query” exited with 1 : “qmake: could not exec ‘/usr/lib/x86\_64-linux-gnu/qt4/bin/qmake’: No such file or directory\n”  
> ERROR: Qt path could not be determined from qmake on the $PATH  
> ERROR: Make sure you have the correct Qt on your $PATH  
> ERROR: You can check this with qmake -v

then:  
PATH=/home/alex/Qt/5.14.2/gcc\_64/bin/:$PATH  
and again:  
./linuxdeployqt-continuous-x86\_64.AppImage /home/alex/Desktop/assibs/share/applications/assibs.desktop -appimage

> linuxdeployqt 6 (commit 5195ec1), build 712 built on 2019-11-22 21:06:09 UTC  
> Desktop file as first argument: “/home/alex/Desktop/assibs/share/applications/assibs.desktop”  
> desktopExecEntry: “assibs”  
> desktopIconEntry: “assibs”  
> Found binary from desktop file: “/home/alex/Desktop/assibs/bin/assibs”  
> FHS-like mode with PREFIX, fhsPrefix: “/home/alex/Desktop/assibs”  
> app-binary: “/home/alex/Desktop/assibs/bin/assibs”  
> appDirPath: “/home/alex/Desktop”  
> relativeBinPath: “assibs/bin/assibs”  
> Copied “/home/alex/Desktop/assibs/share/applications/assibs.desktop” to “/home/alex/Desktop/assibs.desktop”  
> Found icons from desktop file: (“/home/alex/Desktop/assibs/share/icons/hicolor/128x128/apps/assibs.png”)  
> iconToBeUsed: “/home/alex/Desktop/assibs/share/icons/hicolor/128x128/apps/assibs.png”  
> Copied “/home/alex/Desktop/assibs/share/icons/hicolor/128x128/apps/assibs.png” to “/home/alex/Desktop/assibs.png”  
> WARNING: Plugin “/home/alex/Qt/5.14.2/gcc\_64/plugins/platformthemes/libqgtk2.so” not found, skipping  
> WARNING: Plugin “/home/alex/Qt/5.14.2/gcc\_64/plugins/styles/libqgtk2style.so” not found, skipping  
> appimagetool, continuous build (commit 9f1857f), build 2102 built on 2019-11-19 08:44:28 UTC  
> fatal: Not a git repository (or any of the parent directories): .git  
> Failed to run 'git rev-parse --short HEAD: Child process exited with code 128 (code 128)  
> Desktop file: /home/alex/Desktop/assibs.desktop  
> Name: Qt App assibs  
> Icon: assibs  
> Exec: assibs  
> Comment: The best Qt Application Ever  
> Type: Application  
> Categories: Office;  
> /home/alex/Desktop/assibs/bin/assibs used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/plugins/imageformats/libqwbmp.so used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/plugins/imageformats/libqicns.so used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/plugins/imageformats/libqjpeg.so used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/plugins/imageformats/libqgif.so used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/plugins/imageformats/libqtga.so used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/plugins/imageformats/libqtiff.so used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/plugins/imageformats/libqsvg.so used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/plugins/imageformats/libqico.so used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/plugins/imageformats/libqwebp.so used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/plugins/platforms/libqxcb.so used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/plugins/iconengines/libqsvgicon.so used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/plugins/xcbglintegrations/libqxcb-egl-integration.so used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/plugins/xcbglintegrations/libqxcb-glx-integration.so used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libxkbcommon-x11.so.0 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libicudata.so.56 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libXfixes.so.3 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libsystemd.so.0 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libQt5Gui.so.5 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libboost\_filesystem.so.1.58.0 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libwayland-server.so.0 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libxcb-present.so.0 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libpng12.so.0 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libffi.so.6 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libselinux.so.1 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libQt5Svg.so.5 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libgthread-2.0.so.0 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libQt5Core.so.5 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libQt5XcbQpa.so.5 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libmircommon.so.7 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libXdamage.so.1 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libboost\_system.so.1.58.0 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libxcb-xkb.so.1 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libxcb-xfixes.so.0 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libQt5Widgets.so.5 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libxcb-glx.so.0 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libxcb-sync.so.1 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libXau.so.6 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libicui18n.so.56 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libmirclient.so.9 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libprotobuf-lite.so.9 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libxshmfence.so.1 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/liblzma.so.5 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libmirprotobuf.so.3 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libicuuc.so.56 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libgcrypt.so.20 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libxkbcommon.so.0 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libwayland-client.so.0 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libmircore.so.1 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libXdmcp.so.6 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libdbus-1.so.3 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libXxf86vm.so.1 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libQt5DBus.so.5 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libX11-xcb.so.1 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libpcre.so.3 used for determining architecture x86\_64  
> /home/alex/Desktop/assibs/lib/libXext.so.6 used for determining architecture x86\_64  
> /home/alex/Desktop/linuxdeployqt-continuous-x86\_64.AppImage used for determining architecture x86\_64  
> Using architecture x86\_64  
> App name for filename: Qt\_App\_assibs  
> /home/alex/Desktop should be packaged as Qt\_App\_assibs-x86\_64.AppImage  
> Generating squashfs…  
> Size of the embedded runtime: 188456 bytes  
> mksquashfs commandline: /tmp/.mount\_linuxd0BISHl/usr/bin/…/lib/appimagekit/mksquashfs /home/alex/Desktop Qt\_App\_assibs-x86\_64.AppImage -offset 188456 -comp gzip -root-owned -noappend -mkfs-time 0  
> Parallel mksquashfs: Using 4 processors  
> Creating 4.0 filesystem on Qt\_App\_assibs-x86\_64.AppImage, block size 131072.  
> [========================================================================================================================/] 730/730 100%
> 
> Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072  
> compressed data, compressed metadata, compressed fragments,  
> compressed xattrs, compressed ids  
> duplicates are removed  
> Filesystem size 40195.88 Kbytes (39.25 Mbytes)  
> 49.02% of uncompressed filesystem size (81991.03 Kbytes)  
> Inode table size 3817 bytes (3.73 Kbytes)  
> 45.87% of uncompressed inode table size (8321 bytes)  
> Directory table size 1808 bytes (1.77 Kbytes)  
> 42.80% of uncompressed directory table size (4224 bytes)  
> Number of duplicate files found 14  
> Number of inodes 178  
> Number of files 125  
> Number of fragments 20  
> Number of symbolic links 1  
> Number of device nodes 0  
> Number of fifo nodes 0  
> Number of socket nodes 0  
> Number of directories 52  
> Number of ids (unique uids + gids) 1  
> Number of uids 1  
> root (0)  
> Number of gids 1  
> root (0)  
> Embedding ELF…  
> Marking the AppImage as executable…  
> Embedding MD5 digest  
> Success
> 
> Please consider submitting your AppImage to AppImageHub, the crowd-sourced  
> central directory of available AppImages, by opening a pull request  
> at [GitHub - AppImage/appimage.github.io: Given an URL to an AppImage, the GitHub action in this project inspects the AppImage and puts it into a community-maintained catalog](https://github.com/AppImage/appimage.github.io)

after that, 3 shortcuts are created on the desktop, and the program itself, but the program without an icon. Can you tell me what’s wrong? why is there no icon ☹ Sorry for the long text, I wanted to show you what’s going on. Thank you very much.

All actions take place on the Ubuntu 16.04.6 operating system

---

<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:** [April 16, 2020, 7:28pm UTC](https://discourse.appimage.org/t/icon-on-a-shortcut/1639/2 "2020-04-16T19:28:49Z")

</div>

You need `appimaged` or AppImageLauncher if you want to see the icons on the program itself.

---

<div class="post-metadata">

**Author:** ![useralex](https://avatars.discourse-cdn.com/v4/letter/u/919ad9/32.png) [@useralex](https://discourse.appimage.org/u/useralex)\
**Post date:** [April 19, 2020, 5:32pm UTC](https://discourse.appimage.org/t/icon-on-a-shortcut/1639/3 "2020-04-19T17:32:25Z")

</div>

Thank you for your comment, unfortunately I couldn’t figure out what exactly I need. Please tell us a little more about AppImageLauncher, how to use it. Thanks.

---

<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:** [May 16, 2020, 1:12pm UTC](https://discourse.appimage.org/t/icon-on-a-shortcut/1639/4 "2020-05-16T13:12:19Z")

</div>

It is all described at

> <https://github.com/probonopd/go-appimage/blob/master/src/appimaged/README.md>

and

> **[AppImage/appimaged](https://github.com/AppImage/appimaged/)**
>
> appimaged is a daemon that monitors the system and integrates AppImages. - AppImage/appimaged

and

> **[TheAssassin/AppImageLauncher](https://github.com/TheAssassin/AppImageLauncher)**
>
> Helper application for Linux distributions serving as a kind of "entry point" for running and integrating AppImages - TheAssassin/AppImageLauncher

just keep in mind that you can use only **ONE** of these. Pick the one you like. (My favorite is the first one.)
