When I try to execute this file:
[Desktop Entry]
Type=Application
Name=Shiginima Launcher
Icon=/home/edoardo/Immagini/SVG/minecraft-1.svg
Exec=java -jar /home/edoardo/Scrivania/Giochi/Minecraft/Shiginima\ Launcher\ SE\ v3.100.jar
Terminal=false
with gtk-launch
, it starts loading and after it crash (without opening).
Furthermore if I execute the .desktop file (the same file) inside a terminal, it return an output like this:
/home/edoardo/Scrivania/Giochi/Minecraft/launcher.desktop: line 1: [Desktop: command not found
/home/edoardo/Scrivania/Giochi/Minecraft/launcher.desktop: line 4: Launcher: command not found
/home/edoardo/Scrivania/Giochi/Minecraft/launcher.desktop: line 6: -jar: command not found
How can I fix it?
java -jar /home/edoardo/Scrivania/Giochi/Minecraft/Shiginima\ Launcher\ SE\ v3.100.jar
in a terminal#!/usr/bin/xdg-open
does work and is quite a fun thing I hadn't thought about until now...java -jar "/home/edoardo/Scrivania/Giochi/Minecraft/Shiginima Launcher SE v3.100.jar"
andjava -jar /home/edoardo/Scrivania/Giochi/Minecraft/Shiginima Launcher SE v3.100.jar
it does not work