Ask Your Question
1

Can't create Minecraft launcher

asked 2015-06-11 18:31:49 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

I have been trying to create a Minecraft launcher as described [here] ( https://ask.fedoraproject.org/en/ques... ) and it hasn't worked. I can run minecraft fine with the command java -Xmx1024M -Xms512M -jar /home/username/.minecraft/minecraft.jar but I can't create a launcher using alacarte. It will not let me click on the "ok" button.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2015-06-11 21:43:07 -0500

mhayden gravatar image

I have the same problem in Fedora 22. There's an open bug for it:

One option might be to create the item and use something simple as the executable (like /bin/sh) and then cd into .local/share/applications/. Look for a file called alacarte-made-###.desktop and edit it. If you've made a bunch of .desktop files with alacarte, you might want to use grep to look for the one you made. Open up that file, adjust the Exec line and you should be on your way.

You may need to restart gnome-shell to pick up the change you made. If so, press Alt-F2, type r, and press enter. Then try selecting your Minecraft menu item again.

edit flag offensive delete link more
1

answered 2015-06-13 11:10:49 -0500

bthomas gravatar image

updated 2015-06-13 11:12:18 -0500

I installed java-1.8.0-openjdk and alacarte, downloaded Minecraft.jar to ~/bin, and created the following script (I'm omitting optirun assuming you're not using an optimus laptop).

$ gedit ~/bin/Minecraft.sh
#!/bin/sh
java -jar /home/bthomas/bin/Minecraft.jar
$ chmod 744 Minecraft.sh

Then I created the menu entry from alacarte using an icon I found from the internet.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-06-11 18:31:49 -0500

Seen: 1,069 times

Last updated: Jun 13 '15