Try this....
http://elementaryos.org/answers/crea...-in-dock-panel
Change the Exec= line to reflect your path to minecraft....most likely from your previous post...
Code:
java -jar /home/username/Downloads/minecraft/minecraft.jar lc
Change to your username. If you go to your minecraft.jar file in the browser then right click on minecraft.jar and select copy. It will copy the path to the clipboard.
You could also try using this as your ~/.local/share/applications/minecraft.desktop file.
I just now installed minecraft with directions from HERE
It installed this .desktop file.
Code:
[Desktop Entry]
Type=Application
Name=Minecraft
GenericName=Game
Comment=Break and place blocks to build imaginative things
Exec=sh -c "XMODIFIERS= java -Xmx2048M -Xms512M -cp /usr/share/minecraft/minecraft.jar net.minecraft.bootstrap.Bootstrap"
Icon=minecraft
Categories=Game
StartupNotify=true
Actions=Screenshots;Textures;Wiki
[Desktop Action Screenshots]
Name=_Screenshots
Exec=xdg-open .minecraft/screenshots/
[Desktop Action Textures]
Name=_Texture Packs
Exec=xdg-open .minecraft/texturepacks/
[Desktop Action Wiki]
Name=_Wiki
Exec=xdg-open http://www.minecraftwiki.net/
Change for your path to minecraft.jar
You can test either of the Exec= lines in terminal.
Bookmarks