LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
add menu item
#10
I just solved this too Big Grin

Downloaded the server and put it in it's own directory. Edited eula.txt to signify agreement (won't run unless you've done this).

Created a launcher script in the server directory like so and made it executable:

Code:
#!/bin/sh
cd /home/paul/programs/minecraft-server/
java -Xmx1024M -Xms1024M -jar /home/paul/programs/minecraft-server/minecraft_server.1.7.10.jar

Modify the path to match your setup and add nogui to the end of the line beginning 'java....' if you don't need the god-mode Big Grin

Edited the main menu and added an item to the games category with launcher command like this:

Code:
/home/paul/programs/minecraft-server/launch-server.sh

Again modify path to suit.

Works fine, kids will be happy Big Grin

I've found the menu editor (alacarte or libremenu?) to be flakey - entries seem to disappear after editing sometimes.

Paul
Reply


Messages In This Thread
add menu item - by davidwillis - 08-11-2014, 02:35 AM
Re: add menu item - by Valtam - 08-11-2014, 06:25 AM
Re: add menu item - by davidwillis - 08-11-2014, 12:29 PM
Re: add menu item - by Valtam - 08-11-2014, 12:30 PM
Re: add menu item - by paul59 - 08-11-2014, 01:33 PM
Re: add menu item - by davidwillis - 08-11-2014, 11:40 PM
Re: add menu item - by Kirkx - 08-12-2014, 07:56 AM
Re: add menu item - by davidwillis - 08-12-2014, 12:35 PM
Re: add menu item - by Valtam - 08-12-2014, 01:01 PM
Re: add menu item - by paul59 - 08-12-2014, 01:32 PM
Re: add menu item - by rijnsma - 08-12-2014, 10:08 PM
Re: add menu item - by davidwillis - 08-13-2014, 12:19 PM
Re: add menu item - by davidwillis - 08-13-2014, 12:34 PM
Re: add menu item - by paul59 - 08-13-2014, 01:07 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)