cannot launch Oxygen 10.3 from launcher in Ubuntu 12.10

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Wolfhart
Posts: 37
Joined: Tue Mar 27, 2007 5:46 am

cannot launch Oxygen 10.3 from launcher in Ubuntu 12.10

Post by Wolfhart »

Hello,

I have just switched from Mac OS X to Ubuntu 12.10. I am using Oxygen 10.3. I have encountered a problem, namely that I cannot launch Oxygen from the launcher. I find the following behavior: After launching Oxygen by clicking on oxygen.sh, an Oxygen icon appears in the launcher. I can then right-click on that icon and select "Lock to Launcher". After closing Oxygen, the icon remains in the launcher as it is supposed to, but it is ineffective, that is, clicking on it does not launch the application. The icon glows for a couple of seconds but otherwise nothing happens. How can I fix this behavior? Thanks in advance for your help!

Wolfhart
ionela
Posts: 407
Joined: Mon Dec 05, 2011 6:08 pm

Re: cannot launch Oxygen 10.3 from launcher in Ubuntu 12.10

Post by ionela »

Hi Wolfhart,

Could you please check if the working directory is set to the directory where the application is installed? To do this, right click on the icon from launcher -> Properties -> and check the Command field.

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
Wolfhart
Posts: 37
Joined: Tue Mar 27, 2007 5:46 am

Re: cannot launch Oxygen 10.3 from launcher in Ubuntu 12.10

Post by Wolfhart »

To check the properties of the icon was my first impulse too, but I don't know how to do that on Ubuntu 12.10. There is no "Properties" option upon right-clicking on the icon in the launcher. The only option is "Unlock from Launcher." So how can I access the properties of the icon? Where on the file system are these properties stored?

Thanks,
Wolfhart
ionela
Posts: 407
Joined: Mon Dec 05, 2011 6:08 pm

Re: cannot launch Oxygen 10.3 from launcher in Ubuntu 12.10

Post by ionela »

Hello,

On Ubuntu 12.10 you should search for the Oxygen XML Editor.desktop file into the Oxygen installation directory and then drag and drop it to the launcher bar.
If you cannot find the .desktop file, you need to reinstall Oxygen and let the installer to create Symlinks and Desktop icon.

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
Wolfhart
Posts: 37
Joined: Tue Mar 27, 2007 5:46 am

Re: cannot launch Oxygen 10.3 from launcher in Ubuntu 12.10

Post by Wolfhart »

Hi Ionela,

After reinstalling Oxygen and following your instructions I now have an Oxygen icon in the launcher that indeed launches the application. (On the first installation I must have deselected "create symlinks" during the installation.) But there is still a flaw, although a minor one: Clicking on the icon makes a [b]second[/b] Oxygen icon appear in the launcher. This second icon represents the running application and disappears again after closing the application. Is there a way to fix this behavior, i.e., to make it such that the icon I click on in order to launch the application then represents the running application, without the appearance of a second icon?

Thanks,
Wolfhart
ionela
Posts: 407
Joined: Mon Dec 05, 2011 6:08 pm

Re: cannot launch Oxygen 10.3 from launcher in Ubuntu 12.10

Post by ionela »

Hi,

Unfortunately, this is a problem with oXygen v10.3 because the v10.3 launcher is now aware of Ubuntu 12.10 features.
This issue has been resolved in the latest version of oXygen, v14.1.

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
Wolfhart
Posts: 37
Joined: Tue Mar 27, 2007 5:46 am

Re: cannot launch Oxygen 10.3 from launcher in Ubuntu 12.10

Post by Wolfhart »

Hi,

I just installed Oxygen 14.1 (with a 30-day trial licence, for the moment) and still see the same problem: Clicking on the launcher icon (which I created by dragging the symlink to the launcher) makes a second Oxygen icon appear in the launcher. This second icon represents the running application and disappears again after closing the application. So on my computer it seems that the problem has not been resolved with version 14.1. Is there something else I need to do?

Thanks,
Wolfhart
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: cannot launch Oxygen 10.3 from launcher in Ubuntu 12.10

Post by adrian »

Hi,

We've only tested v14.1 with Ubuntu 12.04 and it works fine there with the default .desktop files placed in the launcher.
I assume that by "symlink" you are actually referring to the Oxygen XML Editor.desktop file.
Note that there are also actual symlinks created in the user home folder and the launcher won't work with those.

I'll have to update the Ubuntu VM to 12.10 and get back to you after testing with that.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Wolfhart
Posts: 37
Joined: Tue Mar 27, 2007 5:46 am

Re: cannot launch Oxygen 10.3 from launcher in Ubuntu 12.10

Post by Wolfhart »

Hi Adrian,

Yes, I am referring to the "Oxygen XML Editor.desktop" file. I found two such files, one on my desktop and one in the Oxygen directory. I tried both and found the same behavior.

Wolfhart
Wolfhart
Posts: 37
Joined: Tue Mar 27, 2007 5:46 am

Re: cannot launch Oxygen 10.3 from launcher in Ubuntu 12.10

Post by Wolfhart »

Hi Adrian,

I found the solution to the problem, it is spelled out at http://askubuntu.com/questions/36434/ho ... e-launcher
I added the line "StartupWMClass=ro-sync-exml-Oxygen" to the Oxygen.desktop file, and now the launcher works, i.e. no second icon. (This works for Oxygen 10.3. I haven't tried with Oxygen 14.1.)

Regards,
Wolfhart
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: cannot launch Oxygen 10.3 from launcher in Ubuntu 12.10

Post by adrian »

Hi,

Interesting find. Thank you for letting us know about this.
Strangely enough, the Ubuntu documentation/wiki doesn't mention anything about this property:
https://help.ubuntu.com/community/Unity ... sktopFiles

For v13.x and v14.x of Oxygen it should be set as follows:

Code: Select all

StartupWMClass=com-install4j-runtime-launcher-Launcher
Note however that if you add several Oxygen .desktop files to the launcher bar (e.g. Editor, Diff Files, Diff Dirs) and they all have the same launcher class set, they won't be correctly distinguished one from the other.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Costin
Posts: 846
Joined: Mon Dec 05, 2011 6:04 pm

Re: cannot launch Oxygen 10.3 from launcher in Ubuntu 12.10

Post by Costin »

Hello,

Just to update the thread, this problem does not occur anymore in Oxygen 18.

The latest maintenance build (2016062718 - released on June 28th) is available on our web site:
http://www.oxygenxml.com/download.html

The list of bug-fixes can be found here:
http://www.oxygenxml.com/build_history.html#2016062718

You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml

Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
Post Reply