File Type Associations

Having trouble installing Oxygen? Got a bug to report? Post it all here.
newt
Posts: 38
Joined: Mon Jun 11, 2007 5:12 pm
Location: London
Contact:

File Type Associations

Post by newt »

When oXygen installs on a Mac or Windows it sets up some file type associations. This doesn't seem to the case when I set it up using gnome on Linux (Ubuntu 10.04 to be exact).

Now, I've got the association working to some extent but I wanted to know if there is a correct way to associate XML files with oXygen under gnome that will open the file in a running instance of oXygen rather than starting a new one each time

cheers

nic
Director, Corbas Consulting
XML and eBook consultancy and training
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: File Type Associations

Post by adrian »

Hello,

To have a single running instance of Oxygen you should have associated XML files with the script 'oxygen'(no extension) instead of 'oxygen.sh'.

'oxygen.sh' explicitly starts with multiple instances enabled.
If you want to keep the association with 'oxygen.sh' you can disable this behaviour by editing the script and removing the line:

Code: Select all

-Dcom.oxygenxml.MultipleInstances=true\
Also, be aware that 'oxygen.sh' launches Oxygen with very little memory. Edit the same script file and change the argument -Xmx256m into a more appropriate value.
e.g. -Xmx512m or -Xmx700m

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
newt
Posts: 38
Joined: Mon Jun 11, 2007 5:12 pm
Location: London
Contact:

Re: File Type Associations

Post by newt »

Thank you Adrian!

nic
Director, Corbas Consulting
XML and eBook consultancy and training
Post Reply