2
1
I set up a family computer running OpenSuse 13.1 for the kids.
I downloaded the Minecraft.jar file, installed Oracle java, and now I can run Minecraft - like this
$ java -jar Minecraft.jar
So far so good. But what about everyone else's accounts? I copied the jar file, and created a startup script like this:
# mv ~user/Download/Minecraft.jar /usr/lib/minecraft.jar
# chown root:root /usr/lib/minecraft.jar
# chmod a+r /usr/lib/minecraft.jar
# cat > /usr/bin/minecraft
#!/bin/bash
exec java -jar /usr/lib/minecraft.jar
<ctrl>-D
# chmod go=rx /usr/lib/minecraft
So, now everyone can run it from the command line
$ minecraft
But, how can I create a desktop icon / kicker entry etc to make it all point-and-click for my users (aka children).
Thanks!
That's the way to go. Note that instead of right clicking on the Kicker icon (if you are using some other application launcher), you can also simply run
kmenuedit
from the terminal to open it. – Sekhemty – 2013-12-19T13:18:18.3131Worked quite well thanks. The jar included a .png file (extraced using untar), so I didn't have to add my own. I also added a line "Categories=Game;ArcadeGame;" to make it show in a better place in the menu. – Peter – 2013-12-22T12:17:58.863