It's used for creating a desktop shortcut.  There is a "type" attribute that
can be supplied to the icon tag which specifies which kind of icon it is but
I've only used type=default.

-brian

On Fri, Sep 30, 2011 at 7:09 AM, Dan Garton <dan.gar...@gmail.com> wrote:

> Thanks Brian, that may come in very handy!
>
> Where does the "<icon href= .../>" element get used, I wonder .....
>
> dg
>
>
>
> On 30 September 2011 00:38, Brian Hinz <bph...@users.sourceforge.net>wrote:
>
>> Dan,
>>
>> I'm not sure if it;s helpful, but here's an example jnlp file that I use
>> to deploy the TigerVNC client to my userbase.  If you can require
>>
>> hth,
>> -brian
>>
>> <!-- TS: 2011-04-19 14:40:12Z -->
>> <?xml version="1.0" encoding="utf-8"?>
>> <!-- JNLP File for VNCViewer -->
>> <jnlp
>>   spec="1.0+"
>>   codebase="http://localhost/jws/";
>>   href="vncviewer.jnlp">
>>   <information>
>>     <title>VNCviewer</title>
>>     <vendor>TigerVNC</vendor>
>>     <description>Java VNC Client</description>
>>     <description kind="short">Java VNC Viewer</description>
>>     <icon href="vncviewer.gif"/>
>>     <offline-allowed/>
>>     <shortcut online="true">
>>       <desktop/>
>>     </shortcut>
>>   </information>
>>   <update check="always" policy="always"/>
>>   <security>
>>     <all-permissions/>
>>   </security>
>>   <resources>
>>     <jar href="vncviewer.jar" download="eager" main="true"/>
>>     <j2se version="1.5.0+" java-vm-args="-Xnoclassicgc -Xms128m
>> -Xmx512m"/>
>>   </resources>
>>   <application-desc name="VNCViewer"/>
>> </jnlp>
>>
>>
>> On Thu, Sep 29, 2011 at 6:22 PM, Dan Garton <dan.gar...@gmail.com> wrote:
>>
>>> I found where the strange icon is coming from! In fact it was not from
>>> the project NX, despite those letters being displayed! In fact it was from
>>> the *NetX* project, which is the icedtea/openjdk implementation of the
>>> JNLP (Java Network Launching Protocol).
>>>
>>> The package in Ubuntu is* icedtea-netx*, which contains a jar file *
>>> /usr/share/icedtea-web/netx.jar*, which in turn contains the file *
>>> netx-icon.png*.
>>>
>>> Using the sun-jdk (rather than icedtea) results in the regular "steaming
>>> cup of java" icon appearing in the launcher panel.
>>>
>>> So now all I have to do is work out how to customise that icon ... but
>>> that's a discussion for elsewhere!
>>>
>>> Thanks for the response in any case, much appreciated.
>>>
>>> - DG
>>>
>>>
>>>
>>> On 29 September 2011 21:40, Dan Garton <dan.gar...@gmail.com> wrote:
>>>
>>>> As it happens, I do have the "nxclient" package installed. However I
>>>> have combed through it and there are no such icons (the only ones with
>>>> nxclient look like 
>>>> this<http://community.spiceworks.com/images/products/0001/5296/64_nomachine.png>).
>>>> So even if the tigervnc applet *were* using an NX icon - it's not one
>>>> that I can see installed!
>>>> (I have also tested on another machine without nxclient installed, and
>>>> the result is the same.)
>>>>
>>>> I agree that it seems very odd!
>>>>
>>>> I am running the java viewer with current JRE on Ubuntu 11.10 beta2,
>>>> using both Firefox 7 and Chromium. The strange icon appears in any desktop
>>>> session type, including Unity/Gnome/KDE/Xfce.
>>>>
>>>>
>>>>
>>>>
>>>> On 29 September 2011 20:59, Robert Goley <rago...@rdasys.com> wrote:
>>>>
>>>>>  Do you have a version of NX installed on that machine?  That seems
>>>>> very odd to show up for this project.  I am just wondering if this is some
>>>>> type of icon caching or similar.  What OS is the client that is running 
>>>>> the
>>>>> java viewer?  Wat browser version are you using?
>>>>>
>>>>> Robert
>>>>>
>>>>>
>>>>>
>>>>> On 09/29/2011 03:54 PM, Dan Garton wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I'm developing an integrated solution for a remote desktop web service,
>>>>> and I'm using the recent TigerVNC release 1.1.0.
>>>>>
>>>>> I'm getting great performance, but there's an unusual quirk: when I
>>>>> launch the Java viewer applet from a remote web server, and I use the 
>>>>> option
>>>>> "launch in a separate window", the icon which displays for the new window 
>>>>> in
>>>>> the task-switcher/panel/launcher (or the icons which display during 
>>>>> Alt-Tab)
>>>>> switching *is an NX icon* - ie it clearly shows an NX logo rather than
>>>>> TigerVNC!
>>>>> I've enclosed a small png to show what it looks like.
>>>>>
>>>>> I can't find anywhere in the source or packaging where this might be
>>>>> included. I'd like to modify this if possible, so any answers back would 
>>>>> be
>>>>> appreciated.
>>>>>
>>>>> Thanks,
>>>>> DG
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> All the data continuously generated in your IT infrastructure contains a
>>>>> definitive record of customers, application performance, security
>>>>> threats, fraudulent activity and more. Splunk takes this data and makes
>>>>> sense of it. Business sense. IT sense. Common 
>>>>> sense.http://p.sf.net/sfu/splunk-d2dcopy1
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Tigervnc-devel mailing 
>>>>> listTigervnc-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/tigervnc-devel
>>>>>
>>>>>
>>>>> --
>>>>> *Robert Goley*
>>>>>
>>>>> FOSS Implementation Specialist
>>>>> Toll Free: (800) 338-4984
>>>>> Local: (770) 479-7933
>>>>> Fax: (770) 479-4076
>>>>> www.openrda.com
>>>>>
>>>>> *America's only Free & Open Source fund accounting software company.*
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> All the data continuously generated in your IT infrastructure contains
>>>>> a
>>>>> definitive record of customers, application performance, security
>>>>> threats, fraudulent activity and more. Splunk takes this data and makes
>>>>> sense of it. Business sense. IT sense. Common sense.
>>>>> http://p.sf.net/sfu/splunk-d2dcopy1
>>>>> _______________________________________________
>>>>> Tigervnc-devel mailing list
>>>>> Tigervnc-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/tigervnc-devel
>>>>>
>>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> All the data continuously generated in your IT infrastructure contains a
>>> definitive record of customers, application performance, security
>>> threats, fraudulent activity and more. Splunk takes this data and makes
>>> sense of it. Business sense. IT sense. Common sense.
>>> http://p.sf.net/sfu/splunk-d2dcopy1
>>> _______________________________________________
>>> Tigervnc-devel mailing list
>>> Tigervnc-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/tigervnc-devel
>>>
>>>
>>
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2dcopy2
> _______________________________________________
> Tigervnc-devel mailing list
> Tigervnc-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tigervnc-devel
>
>

<<logoLink_sm.png>>

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to