xml editor

Products

Features

  EPUB
Supported platforms

Supports Windows 7 & Mac OS X Lion

Ready for XML Editor data server software
W3C Member

JWS desktop icon not showing up on linux

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.

JWS desktop icon not showing up on linux

Postby thu » Wed Feb 08, 2012 9:26 pm

I have modified the oxygen.jnlp to include:

<information>
...

<offline-allowed/>
<icon href="OxygenJWS128.png" kind="splash"/>
<icon href="OxygenJWS128.png" kind="default"/>
<shortcut online="false">
<desktop/>
<menu submenu="oXygen">
<menu submenu="oXygen Editor"/>
</menu>
</shortcut>
</information>

I have confirmed that in deployer.jar APPLICATION.JNLP also contains the above entry. On windows and on mac machines, I get prompted for creation of a desktop icon and one appears on the desktop as expected.

However if I launch the install on linux (ubuntu, kubuntu, and mint) I do not get a prompt and no desktop icon is created. I tried making sure that I am using the java sun JDK, I also changed the title to a shorter title, but none of it seems to work.

Has anyone encountered this issue on Linux? This is quite problematic for Linux users if the are not familiar with JWS. Once they close out of the client, they have no way of knowing where oXygen is installed and how to launch it again.

Any direction would be very helpful, thanks.
thu
 
Posts: 12
Joined: Wed Jan 11, 2012 7:46 pm

Re: JWS desktop icon not showing up on linux

Postby thu » Wed Feb 08, 2012 10:36 pm

One last thing, I keep on reading that there should be an oxygen.sh file that launches oxygen in the install folder after the JWS installer finishes with the install. I have checked my ~/http___* folder and I can't find oxygen.sh anywhere. I only see .exe files like msxsl.exe, nxslt.exe, etc... Is there an oxygen.sh startup script? If so at least I can then manually create a shortcut on my linux desktop.
thu
 
Posts: 12
Joined: Wed Jan 11, 2012 7:46 pm

Re: JWS desktop icon not showing up on linux

Postby adrian » Thu Feb 09, 2012 7:06 pm

Hello,

Note that the .sh only applies to the archived(zip, tar.gz) distributions of Oxygen. For the JWS distribution, the JNLP file is the actual launcher.
To run the jnlp you have to execute:
Code: Select all
javaws oxygen.jnlp


What Java Runtime Environment(JRE) do you have on the Linux machines(OpenJDK, Java SE). The JNLP is subject to the interpretation of the JRE. It's possible that the JRE you currently have does not support that JNLP feature(desktop shortcut).

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
adrian
 
Posts: 979
Joined: Tue May 17, 2005 4:01 pm

Re: JWS desktop icon not showing up on linux

Postby dcramer » Sun Feb 19, 2012 9:00 pm

Not sure which Thu was testing with, but I can confirm that the desktop icon is not created with Java SE on Ubuntu:

Code: Select all
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)


If I manually create a .desktop file and put it in ~/.local/share/applications, then it appears in the usual places:

Code: Select all
#!/usr/bin/env xdg-open

[Desktop Entry]
Type=Application
Name=Oxygen XML Author via JWS
Exec=javaws "/home/dcramer/.local/share/applications/authorjws/author.jnlp"
Icon=/home/dcramer/.local/share/applications/authorjws/Author128.png
Categories=Application;
Terminal=false
Name[en_US]=JWS Oxygen Author 13.2


Thanks,
David
dcramer
 
Posts: 89
Joined: Sat Aug 28, 2010 1:23 am


Return to Common Problems

Who is online

Users browsing this forum: Google [Bot] and 0 guests

XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>® XML Editor