Page 1 of 1

File Type Associations

Posted: Fri May 07, 2010 12:31 pm
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

Re: File Type Associations

Posted: Fri May 07, 2010 2:06 pm
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

Re: File Type Associations

Posted: Fri May 07, 2010 3:13 pm
by newt
Thank you Adrian!

nic