Re: Fwd: HostServices on Linux Ubuntu 14.04 trusty

2015-09-30 Thread Kevin Rushforth
Can you please file a bug against HostServices? You can reference Stefan's workaround in the bug report. Thank you. -- Kevin John Maton wrote: Stefan I confirm that works for me on all platforms, Windows/Mac/Ubuntu, thanks again (for the record HostServices does not work on Ubuntu 10.4). Reg

Re: Fwd: HostServices on Linux Ubuntu 14.04 trusty

2015-09-28 Thread Mike Hearn
I believe the issue it is has a hard-coded name of programs to invoke, and that list isn't always accurate for every Linux host system. On Sat, Sep 26, 2015 at 4:04 PM, John Maton wrote: > Stefan > I confirm that works for me on all platforms, Windows/Mac/Ubuntu, thanks > again > (for the record

Re: Fwd: HostServices on Linux Ubuntu 14.04 trusty

2015-09-26 Thread John Maton
Stefan I confirm that works for me on all platforms, Windows/Mac/Ubuntu, thanks again (for the record HostServices does not work on Ubuntu 10.4). Regards, John Maton On Sat, Sep 26, 2015 at 11:48 AM, Stefan Fuchs wrote: > Hi, > > this works for us on all platforms, including Ubuntu 14.04 > > //

Re: Fwd: HostServices on Linux Ubuntu 14.04 trusty

2015-09-26 Thread Stefan Fuchs
Hi, this works for us on all platforms, including Ubuntu 14.04 // Desktop methods must be executed on the Swing Event Thread SwingUtilities.invokeLater(() -> { Desktop.getDesktop().open(pdfFile); }); Regards, Stefan To: Rahman USTA My problem is getHostServices().showDocument do

Fwd: HostServices on Linux Ubuntu 14.04 trusty

2015-09-26 Thread John Maton
To: Rahman USTA My problem is getHostServices().showDocument does nothing at all in Ubuntu 10.4 Have you tried using Desktop? as in if(Desktop.isDesktopSupported()) Desktop.getDesktop().open(docFile); That also works for me on Windows and Mac but causes a system crash in Ubuntu so I am no bett

Re: HostServices on Linux Ubuntu 14.04 trusty

2015-09-26 Thread Rahman USTA
I have similar issue. When using host services to show document in directory services, in Linux environment it shows documents in Web browser, not in directory service. Thanks 26 Eyl 2015 11:47 tarihinde "John Maton" yazdı: > Good morning all, > I am using getHostServices().showDocument to displ

HostServices on Linux Ubuntu 14.04 trusty

2015-09-26 Thread John Maton
Good morning all, I am using getHostServices().showDocument to display documents, such as .pdf files. This works find on all versions of Windows I have tested and on Apple Macs, but I have a test user running Linux Ubuntu 14.04 trusty where it does not work (does nothing). Is there some library/res