Originally Posted by
allocateB
again, it may just be that you aren't running it in terminal, if you just have it run by itself it won't do anything because it requires user input. If you run it from terminal you should see the main menu pop up!
Nope. I tried running it by selecting "Open with" and then selecting LXTerminal. Didn't work, nothing runs.
So I use this.
Code:
:~$ cd /path/to/downloaded/file/
:~$ chmod -x Minecraft_Installer_20.sh
:~$ bash Minecraft_Installer_20.sh
And it gets me going, but I encounter errors.
But it looks like I'm going to have to go through and edit your code since yours is written for Ubuntu running Gnome, & I'm running Ubuntu with LXDE. While Linux Mint 10 LXDE is based off of Ubuntu, there is some quirks as you can see below.
The only thing that works is that it creates the .minecraft folder and that it checks for JAVA. Other than that, downloading the .jar from Minecraft etc doesn't work.
Code:
1
.minecraft folder exists
looking for Sun-Java...
Sun-Java is already Installed!
We need to make sure that it is the default Java installation...
Don't worry if you see lots of errors
this requires root access
Usage:
lxterminal [Options...] - LXTerminal is a terminal emulator
Options:
-e, --command=STRING Execute the argument to this option inside the terminal
--geometry=COLUMNSxROWS Set the terminal's size
-l, --loginshell Execute login shell
-t, -T, --title=STRING Set the terminal's title
--working-directory=DIRECTORY Set the terminal's working directory
Sun Java set as Default.
downloading minecraft.jar...
downloaded.
downloading icon...
mv: cannot stat `favicon.png': No such file or directory
saved to /home/mbudden/.minecraft
writing bin shell...
touch: cannot touch `minecraft': Permission denied
Minecraft_Installer_20.sh: line 153: minecraft: Permission denied
saving to usr/local/bin...
this requires root access:
cp: cannot stat `minecraft': No such file or directory
chmod: cannot access `minecraft': No such file or directory
done
writing desktop shortcut...
mkdir: cannot create directory `install_files': Permission denied
Minecraft_Installer_20.sh: line 177: cd: install_files: No such file or directory
touch: cannot touch `alloc-installer.desktop': Permission denied
Minecraft_Installer_20.sh: line 180: alloc-installer.desktop: Permission denied
Minecraft_Installer_20.sh: line 181: alloc-installer.desktop: Permission denied
Minecraft_Installer_20.sh: line 182: alloc-installer.desktop: Permission denied
Minecraft_Installer_20.sh: line 183: alloc-installer.desktop: Permission denied
Minecraft_Installer_20.sh: line 184: alloc-installer.desktop: Permission denied
Minecraft_Installer_20.sh: line 185: alloc-installer.desktop: Permission denied
Minecraft_Installer_20.sh: line 186: alloc-installer.desktop: Permission denied
Minecraft_Installer_20.sh: line 187: alloc-installer.desktop: Permission denied
Minecraft_Installer_20.sh: line 188: alloc-installer.desktop: Permission denied
granting the shortcut excecution permissions...
this requires root access
cp: cannot stat `alloc-installer.desktop': No such file or directory
chmod: cannot access `/home/mbudden/Desktop/alloc-installer.desktop': No such file or directory
done
writing menu item...
touch: cannot touch `alloc-menu.directory': Permission denied
Minecraft_Installer_20.sh: line 201: alloc-menu.directory: Permission denied
Minecraft_Installer_20.sh: line 202: alloc-menu.directory: Permission denied
Minecraft_Installer_20.sh: line 203: alloc-menu.directory: Permission denied
Minecraft_Installer_20.sh: line 204: alloc-menu.directory: Permission denied
done
installing to Applications menu...
xdg-desktop-menu: file 'alloc-menu.directory' does not exist
installed
SUCCESS!
Minecraft has been successfully Downloaded and Installed
Check your desktop and Applications menu for launchers!
You can also run it from terminal with a 'minecraft' command!
contact: alloc@dr.com
Happy Mining!
Bookmarks