LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-13-2014, 07:47 AM   #1
rutabega man
LQ Newbie
 
Registered: Aug 2005
Location: Raleigh NC
Distribution: Ubuntu 6.10 and FC-5
Posts: 11

Rep: Reputation: 0
Add JRE to open with list under Fedora/Korora


Hello-

I am trying to get minecraft running for my son and I have a .jar that is an executable, when I right click on it and try to change the default application to open it with JRE is not listed. I only want this particular file to be opened with JRE. Any help would be appreciated.

Thanks
 
Old 01-13-2014, 06:46 PM   #2
Tadaen
Member
 
Registered: Sep 2005
Distribution: Arch
Posts: 210

Rep: Reputation: 39
I never figured out how to do what your asking with Debian Gnome but this works just as well if not better for me.

Make a .desktop file in ~/.local/share/applications with the following content, edited for your setup of course. This will add it to the "start menu" or whatever one wants to call it. Just like any installed app. A logout / log in may be required to get it to register as an installed application.

Code:
[Desktop Entry]
Name=Minecraft
GenericName=Minecraft
Comment=Sandbox
Type=Application
Exec=java -jar /path/to/minecraft/jar/file
Icon=/path/to/icon
Categories=Game;
Name[fr_FR]=Minecraft
For icon I just found one using a google search of Minecraft icons.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Meet Korora 20 – It's like Fedora, but Better LXer Syndicated Linux News 0 01-10-2014 09:41 AM
LXer: Fedora 19 vs Korora 19: which is the best distro for you? LXer Syndicated Linux News 0 12-08-2013 08:01 PM
how to make link list and add and delete list node in shared memory golden_boy615 Programming 1 12-18-2011 06:52 AM
LXer: Top Vulnerable Apps List Includes Sun JRE, Firefox & Skype LXer Syndicated Linux News 0 06-23-2006 01:54 AM
where's the JRE in Fedora? brunnopessoa Fedora 4 10-30-2004 09:38 PM


All times are GMT -5. The time now is 12:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration