JWS desktop icon not showing up on linux
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 12
- Joined: Wed Jan 11, 2012 7:46 pm
JWS desktop icon not showing up on linux
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.
<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.
-
- Posts: 12
- Joined: Wed Jan 11, 2012 7:46 pm
Re: JWS desktop icon not showing up on linux
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.
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: JWS desktop icon not showing up on linux
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:
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
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
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 163
- Joined: Sat Aug 28, 2010 1:23 am
Re: JWS desktop icon not showing up on linux
Not sure which Thu was testing with, but I can confirm that the desktop icon is not created with Java SE on Ubuntu:
If I manually create a .desktop file and put it in ~/.local/share/applications, then it appears in the usual places:
Thanks,
David
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)
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
David
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service