How to Install minecraft on linux and create the .desktop file on minecraft

Hey guys I wanna tell you guys how to install minecraft perfectly on any linux distro, and simplify the installation (sorry my grammar is pretty bad I am trying to be my best J)Okay! Let me do the first step, open your script editor and type the following scripts


#!/bin/bash

java –jar Minecraft.jar

And save it minecraft.sh
[Notice] Put it on your minecraft.jar at same folder
And made application now!
Still the same open your cute script editor and text the below:
[Desktop Entry]
Type=Application                         
Version=1.6.19                              
Name=Minecraft                   
Comment=A sandbox game of Java 
Exec=minecraft.sh                            
Icon=minecraft                          
Terminal=false                           
Categories=Games;Java
And save it minecraft.desktop save to your favorite folder, if you want to make it on the menu of your linux just save it on /usr/share/applications/ or ~/.local/share/applications
And see you next time

Thanks for reading!

留言

這個網誌中的熱門文章

Spanish subject categories