Unity Custom Launcher

Let’s say you need to add a custom launcher to Unity:

[Desktop Entry]
Type=Application
Name=MineCraft
Exec=java -Xmx512M -Xms256M -jar /home/ashley/.minecraft/minecraft.jar
Icon=/home/ashley/.minecraft/icon.png
Terminal=false
StartupNotify=true

Placed into minecraft.desktop in ~/.local/share/applications/ should do the trick for one user, placing it into /usr/share/applications/ would work for everyone.

Just make sure you update Name, Exec & Icon. You should be able to leave the rest.