How do i create a .desktop file for a .jar file?
- by Masterkraft0r
My problem is, that i do want to create a .desktop file for Technic Launcher, which is an alternative launcher for Minecraft. It comes in the form of an .jar file and i want to create a menu entry for it.
How would i write such a .desktop file?
My attempt was the following:
[Desktop Entry]
Type=Application
Name=Technic Launcher
Comment=Minecraft Launcher for Technic Pack, Tekkit, Hack/Mine and Yogbox
Exec=/home/benjamin/Applications/Minecraft/TechnicLauchner/technic-launcher-latest.jar
Icon=/home/benjamin/Applications/Minecraft/TechnicLauchner/icon.png
Terminal=false
Categories=Game;ActionGame;AdventureGame;RolePlaying;
This didn't work, hence my question. What did i do wrong? Is it even possible to point to a .jar file?