General > On Topic

add menu item

(1/3) > >>

paul59:
Great, happy Minecrafting :D

Paul

davidwillis:
Thanks to everyone else too for the help!

davidwillis:
Thanks Paul.  That worked perfectly!

rijnsma:
Some entries are not removable.
I have a Remastersys-entry of a version that did not work right, which I like to remove,
because I switched to an older one. That one is in place in the menu.
But the old one doesn't disappear when I delete it in Alacarte.  :o No big deal, but not right.

paul59:
I just solved this too :D

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

--- End code ---

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 :D

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

--- End code ---

Again modify path to suit.

Works fine, kids will be happy :D

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

Paul

Navigation

[0] Message Index

[#] Next page

Go to full version