Page 2 of 12 FirstFirst 1234 ... LastLast
Results 11 to 20 of 116

Thread: Minecraft Installer

  1. #11
    Join Date
    Apr 2011
    Beans
    13

    Re: Minecraft Installer

    Quote Originally Posted by penalt View Post
    This just isn't working for me. I'm pretty new with Linux and I just don't seem to be getting function. The script doesn't seem to do anything
    You'll need to make sure you are running it in terminal, else it will do nothing!

    Quote Originally Posted by mbudden
    Interesting. This didn't work in Linux Mint 10 LXDE which is basically like Lbuntu, which is based off of Ubuntu.
    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!
    Last edited by allocateB; May 4th, 2011 at 04:00 AM.

  2. #12
    Join Date
    Jun 2005
    Location
    England
    Beans
    2,693
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Minecraft Installer

    Is there a way to get it to work with unity properly at all?

    Having a link there in unity and clicking it just makes the icon flash and then it does nothing.

    Is it possible to get it to work correctly with KDE menu's as well as the desktop icon?
    Last edited by ELD; May 6th, 2011 at 07:10 PM.

  3. #13
    Join Date
    Apr 2011
    Beans
    13

    Re: Minecraft Installer

    UPDATE!
    - The script allows you to download and install (or uninstall) the minecraft server client.
    - I made a nice little icon for the server launchers.
    << server icon

    Quote Originally Posted by ELD View Post
    Is there a way to get it to work with unity properly at all?

    Having a link there in unity and clicking it just makes the icon flash and then it does nothing.

    Is it possible to get it to work correctly with KDE menu's as well as the desktop icon?
    It should work with unity? heres a video of it doing so, you're problem concerns me though.
    http://www.youtube.com/watch?v=odo6QbdCfeU

    It should not create a launcher in the unity quick bar on installation, only on the desktop and in unitys menu system, the launchers that it creates executes this command
    Code:
    java -jar /home/username/.minecraft/minecraft.jar
    which is the same command that is executed when you type
    Code:
    :~$minecraft
    into terminal. Try running it from terminal just by typing minecraft and see what the output is, this'll help identify you're problem

    Also,
    Making the script work with all distros and desktops is next on my to-do list! but right now it's pretty much made for vanilla ubuntu.
    The reason it doesn't work well on other desktops and distros:
    its assumes apt-get (for java installation)
    it assumes compliance with the xdg desktop specifications

    However, if you run the script on say... fedora with KDE:
    it won't be able to install java for you (fedora uses yum) nor will it create menu launchers for you, BUT, it should still download minecraft and write a shell script in your usr/local/bin directory.

    So, regardless of what distro you use, you should at least still be able to run it with just a "minecraft" command from terminal!
    Last edited by allocateB; May 7th, 2011 at 05:30 AM.

  4. #14
    Join Date
    Jun 2005
    Location
    England
    Beans
    2,693
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Minecraft Installer

    I switched recently to Kubuntu so it would be nice to get proper icons for it, that is my main request

  5. #15
    Join Date
    Apr 2011
    Beans
    13

    Re: Minecraft Installer

    Quote Originally Posted by ELD View Post
    I switched recently to Kubuntu so it would be nice to get proper icons for it, that is my main request
    I'm going to be setting up a fedora KDE today and will start working on support for Yum and KDE today!

  6. #16
    Join Date
    Jun 2005
    Location
    England
    Beans
    2,693
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Minecraft Installer

    Sweet well keep us updated

    If you need a little bit of webspace for a mini site i can always help you out just send me a PM

  7. #17
    Join Date
    Dec 2008
    Location
    PA
    Beans
    13
    Distro
    Ubuntu

    Re: Minecraft Installer

    Quote Originally Posted by allocateB View Post
    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!

  8. #18
    Join Date
    Jan 2011
    Location
    New York
    Beans
    155
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Minecraft Installer

    has anyone tested this with ubuntu 11.04?

  9. #19
    Join Date
    Jan 2011
    Location
    New York
    Beans
    155
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Minecraft Installer

    Quote Originally Posted by robgraves View Post
    has anyone tested this with ubuntu 11.04?
    actually it looks like this did work in 11.04 natty narwhal, but i don't have premium access so i can't do anything...yet

  10. #20
    Join Date
    Jun 2005
    Location
    England
    Beans
    2,693
    Distro
    Ubuntu 12.04 Precise Pangolin

Page 2 of 12 FirstFirst 1234 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •