Results 1 to 5 of 5
Hey guys, sorry if this is in the wrong thread. I'm really new to this and am still figuring things out. Anyways, I have two lines of commands that I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-15-2012 #1Just Joined!
- Join Date
- Oct 2012
- Posts
- 25
Terminal Commands to executable (Fedora)
Hey guys, sorry if this is in the wrong thread. I'm really new to this and am still figuring things out. Anyways, I have two lines of commands that I use in the terminal to launch minecraft. They are
cd Downloads
java -jar minecraft.jar
I would like to turn this into some sort of executable shell program that I could click on and minecraft could launch automatically. I tried to do this myself with some googling and such, but to no avail. I was wondering If someone could help me by posting something I can use with instructions on how to use it. Any help is appreciated. I'm really new to Linux so I don't know a lot about the coding.
- 10-15-2012 #2Just Joined!
- Join Date
- May 2012
- Posts
- 43
Open up a text editor.
Put in
Save it as a .sh file (eg. launch_minecraft.sh)Code:cd Downloads java -jar minecraft.jar
Then right click on the file and tick the box marked "Executable".
- 10-15-2012 #3
Hello and Welcome!
Depending on the Desktop Environment that you are using, you should be able to create a shortcut. In the command selection, try:
Code:~/Downloads/java -jar minecraft.jar
Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 10-15-2012 #4Just Joined!
- Join Date
- Oct 2012
- Posts
- 25
Sorry I'm such a noob :P how do I get to the command selection?
- 10-15-2012 #5Just Joined!
- Join Date
- May 2012
- Posts
- 43


Reply With Quote

