The minecraft.sh file needs to contain just these three lines: #!/bin/bash You can change all these "/opt" references to be wherever you've saved the original minecraft.jar file (be sure to change the Exec value in the sktop file too). Locate your new Minecraft entry, and drag it over to your launcher bar.Īt this point, you're practically done, except in this case I've created a little Minecraft starter script, saved in /opt/minecraft.sh, which assumes the minecraft.jar file is also saved in /opt. ( Note: you can also paste directly into the file by using sudo sh -c 'xsel -ob > /usr/share/applications/sktop'įinally (almost), open up your file manager and go to /usr/share/applications - either click the Home Folder icon in your launcher and navigate, or here's the terminal quickie: nautilus /usr/share/applications & " command at the command line): gksudo gedit /usr/share/applications/sktopĪnd paste in these contents, and then Save of course: Then create a sktop file (using the gedit text editor to keep it user-friendly just enter the whole "gksudo. In a terminal, first fetch a Minecraft image icon: cd /usr/share/icons sudo wget Setting up a Minecraft launcher on Ubuntu 12.04, these steps worked for me, mostly pieced together from the various other tips.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |