ErdMutter Posted December 23, 2012 Posted December 23, 2012 This script will download the Technic Launcher from the techicpack.net mirror, install it into the shared user game directory, download a Tekkit icon, add it to the shared icon directory, and create a desktop icon for unity. Open terminal by pressing 'ctrl + alt + t' on your keyboard. type "sudo nano tekkit_launcher_installer" into terminal type your password for sudo (same as your account password) copy and paste the entire script bellow by right clicking and pressing paste in the terminal window (pressing 'ctrl + v' does not work in terminal). press 'ctrl + x' then 'y' and the 'enter' button in terminal to close nano. now type into terminal 'sudo sh tekkit_launcher_installer' Type your password for sudo again (same as your account password) After typing your password for sudo and hitting enter it will download the Technic Launcher, Tekkit Icon and install both into the appropriate share directories. It will also automatically create and install the Tekkit launcher shortcut into unity. The shortcut will show up in your installed applications on Utilities' 'Dash Home'. Simply drag and drop that shortcut over to your launcher to add the shortcut, like any other program installed in Ubuntu. Something to Note: One thing that might throw you off is that when entering your password for sudo in terminal, no characters will show up on the screen. This is a safety feature built into terminal to protect your password from being stolen. Disclaimer: Please note that I am running Ubuntu 12.04.1, this might not work for other Linux installations. This has been tested on my machine and works. I am not responsible for any damage that might result from running or attempting to run this script. #!/bin/bash ## Download & Installs Tekkit Launcher Program wget http://mirror.technicpack.net/Technic/technic-launcher.jar; mv ./technic-launcher.jar /usr/games chmod -x /usr/games/technic-launcher.jar; chmod 777 /usr/games/technic-launcher.jar; ## Download & Installs Tekkit Icon wget http://rocketdock.com/images/screenshots/Tekkit-Icon.png; mv ./Tekkit-Icon.png /usr/share/icons; ## Builds & Installs Tekkit Launcher Shortcut touch /usr/share/applications/tekkit_launcher.desktop; echo "[Desktop Entry]" >> /usr/share/applications/tekkit_launcher.desktop; echo "Version=1.0" >> /usr/share/applications/tekkit_launcher.desktop; echo "Name=Tekkit Launcher" >> /usr/share/applications/tekkit_launcher.desktop; echo "Comment=Tekkit Mod Launcher for Minecraft" >> /usr/share/applications/tekkit_launcher.desktop; echo "Exec=technic-launcher.jar" >> /usr/share/applications/tekkit_launcher.desktop; echo "Icon=/usr/share/icons/Tekkit-Icon.png" >> /usr/share/applications/tekkit_launcher.desktop; echo "Terminal=false" >> /usr/share/applications/tekkit_launcher.desktop; echo "Type=Application" >> /usr/share/applications/tekkit_launcher.desktop; echo "Categories=Application" >> /usr/share/applications/tekkit_launcher.desktop; chmod -x /usr/share/applications/tekkit_launcher.desktop; chmod 777 /usr/share/applications/tekkit_launcher.desktop; Quote
miniboxer Posted December 24, 2012 Posted December 24, 2012 Not bad. It should run on any other distros, not seeing any weird ubuntu or debian specific commands there. Quote
spartanyanni Posted December 27, 2012 Posted December 27, 2012 So... What is this for? Is this some easier way of installing technic for Linux? Quote
freakachu Posted December 27, 2012 Posted December 27, 2012 So... What is this for? Is this some easier way of installing technic for Linux? basically, yeah. Quote
ErdMutter Posted December 29, 2012 Author Posted December 29, 2012 So... What is this for? Is this some easier way of installing technic for Linux? Yes more then likely, because all you do is take this install script and put it in a .sh file on your Linux computer, run it, and it will automate the install of Technic Launcher. It will also place it in the appropriate folder for it to be played from any account, not just the account the client was downloaded to. Quote
gotyaoi Posted December 30, 2012 Posted December 30, 2012 Not bad. It should run on any other distros, not seeing any weird ubuntu or debian specific commands there. It is specific to Gnome, at least the desktop entry part is. Just curious about the chmods though... in both cases, that first chmod is a bit redundant is it not, if you're just setting it 777 in the second? Quote
miniboxer Posted December 30, 2012 Posted December 30, 2012 It is specific to Gnome, at least the desktop entry part is. Just curious about the chmods though... in both cases, that first chmod is a bit redundant is it not, if you're just setting it 777 in the second? Specific to GNOME. Gnome can be installed on pretty much any distro. I was more refering to if there was some sort of apt-get or something like that in there. Quote
gotyaoi Posted December 30, 2012 Posted December 30, 2012 Can be, yes, but who's going to install an entire desktop environment for a single script if they're already using another? Quote
soloman469 Posted April 22, 2013 Posted April 22, 2013 Ok so now i've done everything that you've told to be done. EXCEPT for the tekkit shortcut. where can i find it? Quote
Omig12 Posted December 15, 2013 Posted December 15, 2013 This used to work really well and I thank you for it, but for some odd reason its not working for me anymore. I've got to say I'm currently running Ubuntu 13.10, and at the time of install I was using 13.04 . I got rid of that old install and then repeated the process, but its still not working , maybe it just needs a revision. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.