1

I have created some .desktop files for some AppImages and they have all ran great up until I installed the Hyper Terminal. Now I get the following error:

Plasma

KDEInit could not launch 'Hyper':
Could not open library 'libkdeinit5_Hyper'.
Cannot load library libkdeinit5_Hyper: (libkdeinit5_Hyper: cannot open shared object file: No such file or directory)

I would like to fix this so that I can keep Hyper. I am using Kubuntu 18.04 with the latest updates. Will someone please help? Here is an example of the one I have for Minecraft:

[Desktop Entry]
Type=Application
Name=Minecraft
Comment=Minecraft
Icon=/home/AlphaGenius/Pictures/minecraft.png
Exec=/home/AlphaGenius/Minecraft/minecraft-launcher.sh
Terminal=true
Categories=Minecraft;Games
Name[en_US]=Minecraft.desktop

Here is another that I have for Cura:

[Desktop Entry]
Type=Application
Name=Cura
Comment=Cura
Icon=/home/AlphaGenius/Pictures/cura.png
Exec=/home/AlphaGenius/cura.AppImage
Terminal=true
Categories=Cura;Design
Name[en_US]=Cura.desktop

There may be better ways but I am just learning.

1 Answers1

1

The problem was the line Terminal=true.


I got it to work now. I added %U to the end of the exec line and then changed the terminal to false. Now it works like it should. Thank you @cipricus for helping me and leading me in the right direction. The modified script is as follows:

[Desktop Entry]
Type=Application
Name=Cura
Comment=Cura
Icon=/home/AlphaGenius/Pictures/cura.png
Exec="/home/AlphaGenius/cura.AppImage" %U
Terminal=false
Categories=Cura;Design
Name[en_US]=Cura.desktop