macOS xdg-desktop-icon

Jiri Vanek jvanek at redhat.com
Tue Oct 16 07:33:52 UTC 2018


On 10/15/18 7:51 PM, Jim Douglas wrote:
> Is anyone else testing Icedtea-Web on macOS? In my testing, it doesn’t install a desktop icon

Until recently, there was no usage of ITW on mac. It was know to "somehow work".  No mac-interested
developer ever worked on ITW. I personally do not have any mac knowledge, nor do I have any mac
around to test.
> because it apparently assumes that the Linux-centric xdg-desktop-icon utility is installed, but that
> utility does not seem to work with macOS.

Many parts, especially desktop integration needs if(mac)  .. elseif(win) .. else {}... But only few
have actually did at least if(win).

If you have some knowledge abot mac desktop integration, please, contribute.

The exception below should not be a show stopper. If it is, you can disable desktop integration -
"never create".

J.
> 
> https://www.freedesktop.org/wiki/Software/xdg-utils/
> 
>> On Sep 11, 2018, at 2:08 PM, Jim Douglas <jimdouglas at mac.com> wrote:
>>
>> This doesn’t seem to be fatal, but it probably shouldn’t assume that xdg-desktop-icon exists in macOS:
>>
>> You are trying to get resource http://localhost:8888/favicon.ico but it is not in cache and could
>> not be downloaded. Attempting to continue, but you may expect failure
>> java.io.IOException: Cannot run program "xdg-desktop-icon": error=2, No such file or directory
>> at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
>> at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
>> at java.desktop/net.sourceforge.jnlp.util.XDesktopEntry.installDesktopLauncher(XDesktopEntry.java:385)
>> at java.desktop/net.sourceforge.jnlp.util.XDesktopEntry.createDesktopShortcuts(XDesktopEntry.java:315)
>> at
>> java.desktop/net.sourceforge.jnlp.runtime.ApplicationInstance.addMenuAndDesktopEntries(ApplicationInstance.java:189)
>> at
>> java.desktop/net.sourceforge.jnlp.runtime.ApplicationInstance.initialize(ApplicationInstance.java:145)
>> at java.desktop/net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:530)
>> at java.desktop/net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:943)
>> Caused by: java.io.IOException: error=2, No such file or directory
>> at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
>> at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:339)
>> at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:270)
>> at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
>> ... 7 more
>>
> 


-- 
Jiri Vanek
Senior QE engineer, OpenJDK QE lead, Mgr.
Red Hat Czech
jvanek at redhat.com    M: +420775390109


More information about the distro-pkg-dev mailing list