LinuxQuestions.org
Visit Jeremy's Blog.
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-31-2013, 05:28 AM   #1
EODSteven
Member
 
Registered: Oct 2012
Location: Manchester, Tn
Distribution: Ubuntu 14.04, Windows 8, Windows Server 2012. Ubuntu Server 14.04
Posts: 196

Rep: Reputation: 3
When I click file/properties on a script, no option for Java to open.


When I right click on a script file in Gnome Classic (no effects) using Edubuntu 12.10 it won't give me the option to open with Java anywhere in the selections. Any suggestions?
 
Old 01-31-2013, 05:40 AM   #2
EODSteven
Member
 
Registered: Oct 2012
Location: Manchester, Tn
Distribution: Ubuntu 14.04, Windows 8, Windows Server 2012. Ubuntu Server 14.04
Posts: 196

Original Poster
Rep: Reputation: 3
Found this....

Code:
xdg-mime default java application/java-archive
I'm not sure what this does but will this allow me to select open with Java in the properties menu?, and How exactly do I use this. just execute it in Terminal?
 
Old 01-31-2013, 05:48 AM   #3
EODSteven
Member
 
Registered: Oct 2012
Location: Manchester, Tn
Distribution: Ubuntu 14.04, Windows 8, Windows Server 2012. Ubuntu Server 14.04
Posts: 196

Original Poster
Rep: Reputation: 3
MIME Database

Quote:
Desktop Environments have tools for managing it, sometimes associations can also be changed from within a File Manager but what in essence links file types with applications is the MIME type "database".
Seems like Unspawner is onto something here, but how do I tell the MIME database to associate .sh and .jar files to open with Java?
 
Old 01-31-2013, 07:38 PM   #4
EODSteven
Member
 
Registered: Oct 2012
Location: Manchester, Tn
Distribution: Ubuntu 14.04, Windows 8, Windows Server 2012. Ubuntu Server 14.04
Posts: 196

Original Poster
Rep: Reputation: 3
No Suggestions?

Please help I'm totally baffled by this.
 
Old 02-01-2013, 09:16 AM   #5
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,163
Blog Entries: 10

Rep: Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979
http://portland.freedesktop.org/xdg-.../xdg-mime.html
 
  


Reply

Tags
file association, property_traits


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
"Open" (select a file) dialog - single click vs. double click taylorkh Ubuntu 3 10-18-2011 04:00 AM
LXer: Useful 'Open in Terminal' Option in Right Click Menu in GNOME/Nautilus LXer Syndicated Linux News 1 08-12-2010 01:18 AM
java: SQL query falsely read from properties file kpachopoulos Programming 0 01-08-2008 02:38 PM
properties file in java sajith Programming 1 12-16-2007 12:28 PM
i want to add a new option to right-click menu list of a file in KDE kulkedar Linux - General 2 04-03-2005 09:11 PM


All times are GMT -5. The time now is 01:11 AM.

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