How do i create a .desktop file for a .jar file?
Posted
by
Masterkraft0r
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Masterkraft0r
Published on 2012-09-24T14:46:08Z
Indexed on
2012/09/24
15:49 UTC
Read the original article
Hit count: 391
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?
© Ask Ubuntu or respective owner