JavaFX Desktop.getDesktop () .browse (Linux)

People;

in our JavaFX application, we include buttons that are supposed to begin some web pages in the internal applications using Desktop.getDesktop () .browse (...). If this works well on Windows machines, it seems to fail in a strange way on GNOME / Linux systems. Result: whenever I click one of these buttons, the application just freezes and must manually be killed. Using the debugger, I managed to go as far as XDesktopPeer.browse (...) but here the application does not seem to pass, I can't not step away, but I also do not seem to have sources at hand for this to see what exactly is happening here. Ideas, anyone?

TIA and good luck,

Kristian

Could you try with .getHostServices () .showDocument () instead and see if it fares better than AWT Desktop support?

Also with regard to the Office of the AWT, check your code if Desktop.Action.BROWSE is supported before attempting to open the URL?

Tags: Java

Similar Questions

  • Problem of JavaFx in web browser

    Hello

    I want to develop a web browser in JavaFx plugin that can read an image file from the local file system of the client, change the image in the web browser and download the edited on server image. But I'm listening to the JavaFx between standalone and browser mode incompatible behaviors. In stand-alone mode, I can select the image file in the item "FileChooser" of JavaFx and view ImageView image. In browser mode, when I select the item 'FileChooser' file, there is no image appears.

    What can cause the difference, security, memory or other restriction?

    Thank you!

    -Leo
        private final double IMAGE_HEIGHT = 298;
        private final double IMAGE_WIDTH = 448;
    
        public boolean loadImage() {
            System.err.println("==========> loadImage()");
            boolean bRet = false;
            
            FileChooserBuilder builder = FileChooserBuilder.create();
            builder.extensionFilters(new ExtensionFilter("Image Files","*.JPG","*.JPEG","*.GIF","*.PNG","*.BMP"));
            FileChooser fileChooser =builder.build();
            fileChooser.setTitle("Please select an image file");
            
            File file = fileChooser.showOpenDialog(null);
            if( file != null ){
                String source = file.getAbsolutePath();
                System.err.println(source);
                sourceImage = new Image(source, IMAGE_WIDTH, IMAGE_HEIGHT, true, true);
                System.err.println("========= Image height = " + sourceImage.getHeight()+", width = " + sourceImage.getWidth());
                primaryImageView.setImage(sourceImage);     
                bRet = true;
            }
           
            System.err.println("<========== loadImage()");
            return bRet;
    
        }
    track:

    Java plug-in 10.1.1.255
    With the help of 1.7.0_01 - b08 version JRE Java hotspot Client VM
    Home Directory user = C:\Users\Liang
    ----------------------------------------------------
    c: clear console window
    f: finalize objects on the finalization queue
    g: garbage collection
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: Hide console
    r: reload the policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: delete the cache of class loaders
    0-5: set the level of trace to < n >
    ----------------------------------------------------
    Security: value of property package.access Sun., com.sun.xml.internal.ws., com.sun.xml.internal.bind., com.sun.imageio.
    Security: property package.access nine value Sun., com.sun.xml.internal.ws., com.sun.xml.internal.bind., com.sun.imageio., com.sun.javaws
    Security: property value package.access Sun., com.sun.xml.internal.ws., com.sun.xml.internal.bind., com.sun.imageio., com.sun.javaws
    Security: property package.access nine value Sun., com.sun.xml.internal.ws., com.sun.xml.internal.bind., com.sun.imageio., com.sun.javaws, com.sun.deploy
    Security: property value package.access Sun., com.sun.xml.internal.ws., com.sun.xml.internal.bind., com.sun.imageio., com.sun.javaws, com.sun.deploy
    Security: property package.access nine value Sun, com.sun.xml.internal.ws. com.Sun.Xml.internal.bind., com.sun.imageio., com.sun.javaws, com.sun.deploy, com.sun.jnlp
    Security: property null value package.definition
    Security: property package.definition new value com.sun.javaws
    Security: property value com.sun.javaws package.definition
    Security: property package.definition new value com.sun.javaws, com.sun.deploy
    Security: property value com.sun.javaws package.definition, com.sun.deploy
    Security: property package.definition new value com.sun.javaws, com.sun.deploy, com.sun.jnlp
    Security: value of property package.access Sun., com.sun.xml.internal.ws. com.Sun.Xml.internal.bind., com.sun.imageio., com.sun.javaws, com.sun.deploy, com.sun.jnlp
    Security: property package.access nine value Sun., com.sun.xml.internal.ws., com.sun.xml.internal.bind., com.sun.imageio., com.sun.javaws, com.sun.deploy, com.sun.jnlp, org.mozilla.jss
    Security: property value com.sun.javaws package.definition, com.sun.deploy, com.sun.jnlp
    Security: property package.definition new value com.sun.javaws, com.sun.deploy, com.sun.jnlp, org.mozilla.jss
    network: created version ID: 1.7.0.01
    network: created ID version: 1.7
    Temp: New XMLParser with source:
    Temp: <? XML version = "1.0" encoding = "utf-8"? >
    < jnlp spec = "1.0" xmlns:jfx = "http://javafx.com" href = "ImageUploader.jnlp" >
    < information >
    < title > ImageUploader < /title >
    < vendor name > Liang < / seller >
    < description > request sample JavaFX 2.0. < / description >
    < offline permitted / >
    < / information >
    < resources os = 'Windows' = 'x 86' arch >
    < jfx:javafx - runtime version = "2.0 +" href = "http://download.oracle.com/otn-pub/java/javafx/javafx-windows-i586__Vlatest.exe" / > ""
    < / resource >
    < resources os = 'Windows' = 'x 64' arch >
    < jfx:javafx - runtime version = "2.0 +" href = "http://download.oracle.com/otn-pub/java/javafx/javafx-windows-x64__Vlatest.exe" / > ""
    < / resource >
    < resources >
    < j2se version = '1.6 +' href = "http://java.sun.com/products/autodl/j2se" / >
    < jar href = "ImageUploader.jar" size = tΘlΘchargement "68009" = "forward" / > "
    < / resource >
    < width applet-desc = "800" height = "600" hand-class = "com.javafx.main.NoJavaFXFallback" name = "ImageUploader" / >
    < jfx:javafx - width = "800" height = "600" desc hand-class = "ImageUploader" name = "ImageUploader" / >
    < Update verification = 'background' / >
    < / jnlp >

    Temp:

    return ROOT as follows:

    < jnlp spec = "1.0" xmlns:jfx = "http://javafx.com" href = "ImageUploader.jnlp" >
    < information >
    < title > ImageUploader < /title >
    < vendor name > Liang < / seller >
    < description > request sample JavaFX 2.0. < / description >
    < offline permitted / >
    < / information >
    < resources os = 'Windows' = 'x 86' arch >
    < javafx runtime version = "2.0 +" href = "http://download.oracle.com/otn-pub/java/javafx/javafx-windows-i586__Vlatest.exe" / >
    < / resource >
    < resources os = 'Windows' = 'x 64' arch >
    < javafx runtime version = "2.0 +" href = "http://download.oracle.com/otn-pub/java/javafx/javafx-windows-x64__Vlatest.exe" / >
    < / resource >
    < resources >
    < j2se version = '1.6 +' href = "http://java.sun.com/products/autodl/j2se" / >
    < jar href = "ImageUploader.jar" size = tΘlΘchargement "68009" = "forward" / > "
    < / resource >
    < width applet-desc = "800" height = "600" hand-class = "com.javafx.main.NoJavaFXFallback" name = "ImageUploader" / >
    < width javafx-desc = "800" height = "600" hand-class = "ImageUploader" name = "ImageUploader" / >
    < Update verification = 'background' / >
    < / jnlp >
    Temp: return of the LaunchDesc of XMLFormat.parse ():

    "< jnlp spec ="1.0"codebase ="file:/C:/netbean_project/ImageUploader/dist/"href="file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jnlp ">
    < information >
    < title > ImageUploader < /title >
    < vendor name > Liang < / seller >
    < Host href = "null" / >
    < description > request sample JavaFX 2.0. < / description >
    < offline permitted / >
    < / information >
    < update audit policy = 'background' = "always" / >
    < resources >
    < javafx runtime version = "2.0 +" href = "http://download.oracle.com/otn-pub/java/javafx/javafx-windows-i586__Vlatest.exe" / >
    < java href = "http://java.sun.com/products/autodl/j2se" version = "+ 1.6" / >
    "< jar href="file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jar "Download ="impatient"hand ="false"/ >
    < / resource >
    "< name of the applet-desc = 'ImageUploader' hand-class ="com.javafx.main.NoJavaFXFallback"documentbase="file:/C:/netbean_project/ImageUploader/dist/ImageUploader.html "width ="800"height ="600"/ >
    < class main javafx-desc = "ImageUploader" / >
    < / jnlp >
    network: cache entry found [url: file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jnlp, version: null] pré-validés = false/0
    Base: charge of the cache descriptor to: file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jnlp
    Temp: New XMLParser with source:
    Temp:
    < jnlp spec = "1.0" xmlns:jfx = "http://javafx.com" href = "ImageUploader.jnlp" >
    < information >
    < title > ImageUploader < /title >
    < vendor name > Liang < / seller >
    < description > request sample JavaFX 2.0. < / description >
    < offline permitted / >
    < / information >
    < resources os = 'Windows' = 'x 86' arch >
    < javafx runtime version = "2.0 +" href = "http://download.oracle.com/otn-pub/java/javafx/javafx-windows-i586__Vlatest.exe" / >
    < / resource >
    < resources os = 'Windows' = 'x 64' arch >
    < javafx runtime version = "2.0 +" href = "http://download.oracle.com/otn-pub/java/javafx/javafx-windows-x64__Vlatest.exe" / >
    < / resource >
    < resources >
    < j2se version = '1.6 +' href = "http://java.sun.com/products/autodl/j2se" / >
    < jar href = "ImageUploader.jar" size = tΘlΘchargement "68009" = "forward" / > "
    < / resource >
    < width applet-desc = "800" height = "600" hand-class = "com.javafx.main.NoJavaFXFallback" name = "ImageUploader" / >
    < width javafx-desc = "800" height = "600" hand-class = "ImageUploader" name = "ImageUploader" / >
    < Update verification = 'background' / >
    < / jnlp >
    Temp:

    return ROOT as follows:

    < jnlp spec = "1.0" xmlns:jfx = "http://javafx.com" href = "ImageUploader.jnlp" >
    < information >
    < title > ImageUploader < /title >
    < vendor name > Liang < / seller >
    < description > request sample JavaFX 2.0. < / description >
    < offline permitted / >
    < / information >
    < resources os = 'Windows' = 'x 86' arch >
    < javafx runtime version = "2.0 +" href = "http://download.oracle.com/otn-pub/java/javafx/javafx-windows-i586__Vlatest.exe" / >
    < / resource >
    < resources os = 'Windows' = 'x 64' arch >
    < javafx runtime version = "2.0 +" href = "http://download.oracle.com/otn-pub/java/javafx/javafx-windows-x64__Vlatest.exe" / >
    < / resource >
    < resources >
    < j2se version = '1.6 +' href = "http://java.sun.com/products/autodl/j2se" / >
    < jar href = "ImageUploader.jar" size = tΘlΘchargement "68009" = "forward" / > "
    < / resource >
    < width applet-desc = "800" height = "600" hand-class = "com.javafx.main.NoJavaFXFallback" name = "ImageUploader" / >
    < width javafx-desc = "800" height = "600" hand-class = "ImageUploader" name = "ImageUploader" / >
    < Update verification = 'background' / >
    < / jnlp >
    Temp: return of the LaunchDesc of XMLFormat.parse ():

    "< jnlp spec ="1.0"codebase ="file:/C:/netbean_project/ImageUploader/dist/"href="file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jnlp ">
    < information >
    < title > ImageUploader < /title >
    < vendor name > Liang < / seller >
    < Host href = "null" / >
    < description > request sample JavaFX 2.0. < / description >
    < offline permitted / >
    < / information >
    < update audit policy = 'background' = "always" / >
    < resources >
    < javafx runtime version = "2.0 +" href = "http://download.oracle.com/otn-pub/java/javafx/javafx-windows-i586__Vlatest.exe" / >
    < java href = "http://java.sun.com/products/autodl/j2se" version = "+ 1.6" / >
    "< jar href="file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jar "Download ="impatient"hand ="false"/ >
    < / resource >
    "< name of the applet-desc = 'ImageUploader' hand-class ="com.javafx.main.NoJavaFXFallback"documentbase="file:/C:/netbean_project/ImageUploader/dist/ImageUploader.html "width ="800"height ="600"/ >
    < class main javafx-desc = "ImageUploader" / >
    < / jnlp >
    Security: blacklist revocation checking is enabled
    Security: Trusted libraries list control is enabled
    network: cache entry found [url: file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jar, version: null] pré-validés = false/0
    cache: JNLPPreverifyClassLoader.initialize: FAILURE: file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jar
    network: created version ID: 1.6.0.10
    network: created ID version: 2.0 +.
    Base: Plugin2ClassLoader.addURL2 called for file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jar
    Base: Plugin2ClassLoader.drainPendingURLs addURL called for file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jar
    network: created version ID: 1.6 +.
    network: created version ID: 1.7.0.01
    network: created version ID: 1.7.0.01
    network: created ID version: 1.7
    Base: LaunchDesc place: file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jnlp
    Security: the security check for the jars of progress: allSigned = true
    network: created ID version: 1.0
    network: created ID version: 7.0
    network: created version ID: 6.0.18
    network: created version ID: 6.0.10
    network: created ID version: 6.0
    network: created ID version: 1.5
    network: created ID version: 1.0
    network: created ID version: 2.0 +.
    network: created ID version: 2.0.1
    Base: passing security checks; secureArgs:true, allSigned:false
    Base: continue the launch in this virtual machine
    network: LDUpdater: started the update of background check
    Base: JNLP2ClassLoader.findClass: ImageUploader: try again...
    Base: JNLP2ClassLoader.getPermissions ()...
    Security: JAVAWS AppPolicy requested for permission: file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jar
    Security: add permissions sandbox
    Base: JNLP2ClassLoader.getPermissions (X)
    network: created version ID: 1.7.0.01
    Base: Applet loaded.
    Base: Applet resized and added to the parent container
    Base: PERF: AppletExecutionRunnable - applet.init () BEGIN; jvmLaunch dt 435963 us, pluginInit dt 2667925 us, TotalTime: 3103888 US
    Base: Applet initialized
    Base: from applet
    Base: finished perf rollup
    Base: Applet made visible
    Base: Applet started
    Base: JNLP2ClassLoader.findClass: ImageUploader$ 1: try again...
    Base: said customer applet is launched
    Base: JNLP2ClassLoader.findClass: ImageUploader$ 2: try again...
    network: ResponseCode for file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jnlp: 200
    network: encoding for file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jnlp: null
    network: ResponseCode for file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jnlp: 200
    network: encoding for file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jnlp: null
    network: ResponseCode for file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jnlp: 200
    network: encoding for file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jnlp: null
    network: ResponseCode for file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jnlp: 200
    network: encoding for file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jnlp: null
    network: Sever response: (length: 1095, lastModified: Thu Nov 10 14:47:55 CST 2011, downloadVersion: null, MIME type: application/x-java-jnlp-file)
    network: downloaded resource: file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jnlp
    Content-Length: 1 095
    Content-Encoding: null
    network: writing file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jnlp URL to the C:\Users\Liang\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\838f4ca-5c383b9f-temp file
    network: Cache: activate a new CacheEntry: file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jnlp
    network: remove the cache entry: file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jnlp
    network: downloaded file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jnlp: C:\Users\Liang\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\838f4ca-5c383b9f
    Temp: New XMLParser with source:
    Temp: <? XML version = "1.0" encoding = "utf-8"? >
    < jnlp spec = "1.0" xmlns:jfx = "http://javafx.com" href = "ImageUploader.jnlp" >
    < information >
    < title > ImageUploader < /title >
    < vendor name > Liang < / seller >
    < description > request sample JavaFX 2.0. < / description >
    < offline permitted / >
    < / information >
    < resources os = 'Windows' = 'x 86' arch >
    < jfx:javafx - runtime version = "2.0 +" href = "http://download.oracle.com/otn-pub/java/javafx/javafx-windows-i586__Vlatest.exe" / > ""
    < / resource >
    < resources os = 'Windows' = 'x 64' arch >
    < jfx:javafx - runtime version = "2.0 +" href = "http://download.oracle.com/otn-pub/java/javafx/javafx-windows-x64__Vlatest.exe" / > ""
    < / resource >
    < resources >
    < j2se version = '1.6 +' href = "http://java.sun.com/products/autodl/j2se" / >
    < jar href = "ImageUploader.jar" size = tΘlΘchargement "68009" = "forward" / > "
    < / resource >
    < width applet-desc = "800" height = "600" hand-class = "com.javafx.main.NoJavaFXFallback" name = "ImageUploader" / >
    < jfx:javafx - width = "800" height = "600" desc hand-class = "ImageUploader" name = "ImageUploader" / >
    < Update verification = 'background' / >
    < / jnlp >

    Temp:

    return ROOT as follows:

    < jnlp spec = "1.0" xmlns:jfx = "http://javafx.com" href = "ImageUploader.jnlp" >
    < information >
    < title > ImageUploader < /title >
    < vendor name > Liang < / seller >
    < description > request sample JavaFX 2.0. < / description >
    < offline permitted / >
    < / information >
    < resources os = 'Windows' = 'x 86' arch >
    < javafx runtime version = "2.0 +" href = "http://download.oracle.com/otn-pub/java/javafx/javafx-windows-i586__Vlatest.exe" / >
    < / resource >
    < resources os = 'Windows' = 'x 64' arch >
    < javafx runtime version = "2.0 +" href = "http://download.oracle.com/otn-pub/java/javafx/javafx-windows-x64__Vlatest.exe" / >
    < / resource >
    < resources >
    < j2se version = '1.6 +' href = "http://java.sun.com/products/autodl/j2se" / >
    < jar href = "ImageUploader.jar" size = tΘlΘchargement "68009" = "forward" / > "
    < / resource >
    < width applet-desc = "800" height = "600" hand-class = "com.javafx.main.NoJavaFXFallback" name = "ImageUploader" / >
    < width javafx-desc = "800" height = "600" hand-class = "ImageUploader" name = "ImageUploader" / >
    < Update verification = 'background' / >
    < / jnlp >
    = > loadImage()
    network: CleanupThread used 835856 US
    Temp: Start path: C:\Users\Liang\AppData\Roaming\Microsoft\Windows\Start Office C:\Users\Liang\Desktop\ Menu\Programs\
    Temp: installshortcut with args:
    Temp: path: C:\Users\Liang\Desktop\ImageUploader.lnk
    Temp: name: ImageUploader
    Temp: desc: JavaFX 2.0 sample application.
    Temp: app: C:\windows\SysWOW64\javaws.exe
    Temp: args: localfile--J-Djnlp.application.href=file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jnlp "C:\Users\Liang\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\838f4ca-5c383b9f".
    Temp: dir: null
    Temp: icon: C:\windows\SysWOW64\javaws.exe
    Temp: shortcut installed on the desktop for: ImageUploader.
    Temp: installshortcut with args:
    Temp: path: C:\Users\Liang\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\ImageUploader\ImageUploader.lnk
    Temp: name: ImageUploader
    Temp: desc: JavaFX 2.0 sample application.
    Temp: app: C:\windows\SysWOW64\javaws.exe
    Temp: args: localfile--J-Djnlp.application.href=file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jnlp "C:\Users\Liang\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\838f4ca-5c383b9f".
    Temp: dir: null
    Temp: icon: C:\windows\SysWOW64\javaws.exe
    Temp: shortcut menu installed for: ImageUploader.
    network: JARUpdater: update check to file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jar
    network: ResponseCode for file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jar: 200
    network: encoding for file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jar: null
    network: ResponseCode for file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jar: 200
    network: encoding for file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jar: null
    network: Sever response: (length: 68009, lastModified: Thu Nov 10 14:47:55 CST 2011, downloadVersion: null, MIME type: application/x-java-archive)
    network: CleanupThread used 4 US
    network: downloaded resource: file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jar
    Content-Length: 68 009
    Content-Encoding: null
    network: writing file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jar URL to the C:\Users\Liang\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\9\425e05c9-4235488e-temp file
    Security: the jar file is not signed, so check the black list will be skipped
    Security: the jar file is not signed, so the list of libraries trust control is ignored
    network: downloaded file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jar to file:/C:/Users/Liang/AppData/LocalLow/Sun/Java/Deployment/cache/6.0/9/425e05c9-4235488e
    Disabled cache entry
    network: Cache: activate a new CacheEntry: file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jar
    network: remove the cache entry: file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jar
    network: CleanupThread used 5 US
    network: background day thread: Update cache: file:/C:/netbean_project/ImageUploader/dist/ImageUploader.jar
    C:\Users\Liang\Pictures\114CANON\IMG_1402.jpg
    = Image height = 0,0, width = 0.0
    < = loadImage()

    Published by: 896395 on November 9, 2011 22:57

    MiPa, NetBeans 7.1 is a suggested version.
    Igor probably refers to the 7.0.1 because he used different signature model.

    To extend you build.xml, you must use task ant jfx extensions.

    URI = "JavaFX:com. Sun.JavaFX.Tools.ant ".
    classpath = "${JFX." SDK.anttask.jar}"/ >
    Where jfx.sdk.anttask.jar should refer to the Ant - javafx.jar (default on Windows is C:\Program Files\Oracle\JavaFX 2.0 SDK\tools\ant-javafx.jar)
    Take a look at your nbproject/jfx - impl.xml generated by NetBeans. BTW, it of always subject to change, will be final after the 7.1 version in a few weeks.

  • A quick fix for the fix option 336711 for 7.7 vWorkspace Virtual Desktop Extensions for Linux

    I might be the only person who has had this problem, but in case I'm not... Read on.

    This applies to users running the script vwts_ubu.sh in the stages of commissioning.

    Your script will fail on line 402 by saying he had too many arguments. The question lies in the way the script queries the status of the firewall... (essentially the ufw status line returns several lines as column 2... I had to modify the line 402 to add a 'head - n 1' hose to make it work...

    Hello

    Thanks for that - I'll pass it along to our Linux Devs to fix in a future version.

    Andrew.

  • Smartphones from blackBerry Desktop Manager on Linux Ubuntu: seems to work

    say this blog post:

    http://blog.atraxis.NET/BlackBerry/BB-DesktopManager-on-Ubuntu.html

    My apologies for the wrong link. Basically I installed it using wine, it is up and running, I had to install the net needed from Microsoft. I hope this helps.

  • How to open a local file using JavaFX?

    How to open a local file using JavaFX?

    Is there something similar with the code below?

    ---------------------------------------------------------------

    java.awt.Desktop import;

    .............

    try {}

    Desktop.getDesktop () .the (new File(\\file_to_open.extension_file));

    }

    catch (IOException ex)
    {

    }

    ............

    So the final code might be something similar to:

    button.setOnAction(actionEvent -> {
      FileChooser dialog = new FileChooser();
      dialog.setTitle("Open Resource File");
      dialog.getExtensionFilters().setAll(new ExtensionFilter("PDF Files", "*.pdf"),
          new ExtensionFilter("Text Files", "*.txt"));
      File file = dialog.showOpenDialog(mainStage);
      if (file != null) {
          myApplication.getHostServices().showDocument(file.toURI().toString());
      }
    });
    
  • java.awt.Desktop

    Hello company
    I can not find class java.awt.Desktop in my javafx application, because I want to open a local html file in the default browser in a flexible way.
    How could open local html file in browser or find it in my api javafx Desktop application

    You can use java.lang.Runtime to open files the in the default browser like this:

    java.lang.Runtime.getRuntime().exec(['cmd', '/c', "c:\\hello.html"]);  //in windows
    
  • Firefox sync (Linux Mint 17.02)

    Hey there! I tried to set up Firefox sync. Remove the .mozilla folder in my home directory synchronization does not work yet to reinstall Firefox several times. I tried to use Firefox 41.02 and 42.0.
    The sync connection is successful and Firefox tries to sync (blue circle), but nothing happens. When you go to about: preferences #sync, then to 'Manage', it takes a while to load before you get an "unexpected error".
    I'm trying to sync between my laptop and my desktop, the two Linux Mint 17.02.

    Any suggestions?

    Hello

    Your first journal suggests synchronization completed. It has a few warnings bookmark weird and disturbing, but otherwise it's okay.

    Your second newspaper told me that you are on a network of Unitymedia.

    https://Bugzilla.Mozilla.org/show_bug.cgi?id=1118958

    You must reduce your MTU, so it doesn't cut it connections.

  • What are the features of Mozilla Firefox for Linux?

    I found an article about Firefox Desktop features. Linux and Windows have the same characteristics?
    If this isn't the case, I need to know the characteristics for Linux.

    Firefox for Windows, Mac OS x (10.6 +) and Linux (from mozilla.org) are pretty much the same.

    You can find some of the shortcuts from the Menu and KB is a little different on the three operating systems because of their BONES in the Human Interface (HIG) guidelines followed. May also have small differences in appearance.

    For example, tools-> Options on Windows is Firefox-> Preferences on Mac and editing-> Preferences under Linux.

    Adobe is kind of screwing with Flash by Linux users only supported Flash 11.2 with security updates.

  • OfficeJet 4622 prints not Windows 8, but will print from Linux

    Hello world

    I have an OfficeJet-4622 printer set up on my network (wireless) and two computers. The first is a portable computer running Windows 8, and the second is a desktop running Ubuntu Linux. Both have HP (and HP Setup) drivers installed. When I try to print something from the Windows 8, it will start printing and then say that year error has occurred. The print will be print part of a page, nothing or half of employment and a white sheet.

    However, if 'copy' of the printer, or print from the Linux computer, everything works fine. One thing to note is that I'm using remanufactured cartridges, but they should not cause a problem on a single computer only.

    I am at a loss here, so any suggestions on what to do to solve this problem are greatly appreciated.

    Thank you and have a nice day.
    Patrick.

    I think I solved the problem eventually. On one of the posts of post-its, it linked to a page where you can use the automatic installation wizard. I did, and it reinstalled my driver (s). He had said the previous installation was not completed successfully. So I'll try again to print. The print came out fine. If the previous installation must have been the problem.

  • Unable to set the desktop backround

    I tried easy access... make it easy to see... Make sure the box is unchecked directions... juice it won't work... juice I bought this netbook last week... don't know if I should put back or what?

    I tried easy access... make it easy to see... Make sure the box is unchecked directions... juice it won't work... juice I bought this netbook last week... don't know if I should put back or what?

    What say ' Impossible to configure desktop wallpaper?
    Do you mean that you have a picture you want to use as the background instead of what the computer uses?
    If Yes...
    Right-click on a free space of the desktop > personalize > Desktop Background > Browse > navigate to the folder where your image is > click it, click Open > OK

    t-4-2

  • Sorry for this question "is it possible to run CRG developed on browser web dektop?

    I have juststumbled on this http://jdevadf.oracle.com/amx/CompGalleryDemo/bootstrap.html?file=Gallery/task-flow.xml%23task-flow & featureRoot =. /

    No, you can run the MAF on a desktop web browser - it's just a site that makes the HTML representation of the elements of the MAF.

    It does not actually an app of the MAF.

  • RTL language does not work in the textfield in JavaFx

    RTL languages such as Arabic - Persian and... to work properly in the controller to swing but it does not work properly in javaFx

    I'm not sure that this problem check out javaFx or scene generator but actually, I chose javaFx and I even like it and I have my application in javaFx desktop but I need supports my mother tongue

    I made a video to illustrate better what happened I say it does not work properly maybe it can help for developers to solve this problem

    you can see the video here: http://www.YouTube.com/watch?v=d3COGIiBBHc

    as you can see in the video, you can write Persian in swing a text without text input select problem, delete, add, but in contorller textinput in javaFx makes empty space while you type or select false move or put the wrong place when clicking on a place and you want to add a text

    RTL is unfortunately not supported in FX 2.x for JDK 7. I suggest trying the developer preview of SceneBuilder 2.0 and JDK 8 builds instead. JDK 8 supports BiDi text and updated RTL GUI layout.

  • Petition to a view Linux Agent - sign and drop a line if you are interested!

    In this community, you can find a few discussions where people are asking an agent to view Linux development.

    This officer would make the possibility of a pool of office of linux in Manager mode available.

    I understand this is not as easy as it may seem, there are a lot of distro of linux and the technical difficulties to achieve this goal.

    In addition, if we ever get this agent, expect works as good as the Windows version, have redirect PCOIP and USB...

    To this end, I would like to make a suggestion to VMware to develop a virtual appliance where one or two of the most used linux distro are prepared by VMware. Limited support is acceptable if you tampered with the virtual appliance and broke the addon from view. In my opinion Ubuntu LTS is a serious candidate for such a virtual device.

    I ask everyone who would like to see this suggestion developed to remove a line in this thread AND sign the petition.

    '' I support the request '' would be enough to make the VMware to know how many of you are out there asking for this feature.

    SPREAD THE WORD AND SIGN!

    http://www.change.org/petitions/view-Development-Department-development-of-a-view-Desktop-agent-for-Linux

    View-petition.jpg

    I think it would be a great blow to VMware, especially with the evolution of cloud computing and the shift towards Web applications that would eliminate the need for a Windows operating system for many users. Of course there would still be some cases where Windows should always be used, but it would be a great solution for the pools created just to allow access to the internet, for example. I'm in. And thank you for having this discussion began.

    Dave

  • Mobile version instead of desktop

    Hello

    I worked on a Muse page for awhile, I also started with the computer design office and published on businesscatalyst. Suddenly, this afternoon, the mobile version appears on the desktop instead of the desktop version browser when I test it. When I delete the mobile version (and save a copy before), the desktop version works, but as soon as I announce a mobile version, desktop browsers lead to the home page of the mobile version again. This problem is weird, because he showed so suddenly during my work in progress. I tested it on Safari and Chrome. Anyone has an idea where or if I can define, that the desktop version should show up on top of the desktop browser? This really should work automatically, shouldn't it?

    I have read some threads about similar problems, but could not solve my problem so far. I can't find a reason why the mobile version "dominates" the desktop version...

    Thanks for the replies

    Charlotte

    Clear the cookies in your browser or follow a hyperlink to a phone page of your Web site to a page of office.

    I think that what you feel is the behaviour normal and correct "lock". If/when you follow a hyperlink to an office page to a page of phone (for example) a cookie is activated in your browser that records the fact that you want to display pages of phone. From this moment your site URLS will redirect to the layouts of phone. If you follow a hyperlink to a page on your mobile site refers to the page of your site Office locking the device is deleted and you will be back to the display of pages office. The locking of the device is stored in a cookie, so clear cookies also revisit the Office of loading pages.

    This behavior is generally used for the links "Go to the Site of phone" and "Go to the Site of Desktop" in the header or the footer of the pages of your site. It's a side effect to have hyperlinks that go through the types of layout.

  • Adobe Creative Cloud for Linux/Ubuntu - Kick

    The discussion always seems to appear every two weeks to get CC on Linux. And a lot of different pieces. In the past, he has been on the printer drivers and the rendering of the fonts on different versions of Linux. The other problem is to see how much support is there for such a product.

    So why not Kick - Adobe Creative Cloud for Ubuntu?
    You get to see the support that is there for such a project and obtain funding to him. And designers/developers may have more choice than crazy Windows and Os X.

    Thank you

    Mach

    Forget it. Nobody's going to convert 12 main applications and a ton of auxiliary tools which actually makes 0,5% of all PC users, when, according to what statistics you approve, only 3 to 7 percent of all desktop computers running Linux, but most of those who are desktop PCs in schools and other government agencies plus a tiny fraction of highend machines production VFX running Maya Nuke and Houdini. It is not gonan happen, even if this Kickstarter's 1 million. settings do not match.

    Mylenium

Maybe you are looking for

  • MacBook Mid 2010 El Capitan: Library of App updated Photos not finished

    MacBook Pro Mid 2010 running El Capitan 10.11.5 last updated the App Photos caused my App Photos to multiply on the update of the library and does not give me the option to use the App at all. I opened the Photos app and it acts like its update of my

  • Two accounts using Apple ID on the same user account

    Hello I just bought my two children, who are 7 and 9, an iPod Touch each. I would like to implement separate Apple ID (with the sharing of the family) then we can use and iMessage, find friends - but I don't want to set up separate user accounts on t

  • Data are acted above all

    Hello I wrote the vi attached, but because of my inexperience, I do not see why the data is being acted under he went entirely. COM 2 Share_2.vi running time slave address Stepper and measures can be entered, and the vi will work correctly when it is

  • Visa OR written closing serial port

    Hi all Currently in collaboration with LV2011 and NOR visa 2014.  In my application, I have 7 open including 4 serial ports I write for devices, 3 are simply listening.  Now, I write to 4 of these devices, alternating between them, the second time I

  • Questions of the coverage style window...

    Hello I want to buy a case of style of the cover to my Xperia Z3 (D6603, lollipop 5.0.2) window, and I've heard reports of loss of function after updat lollipop. Is this true? And can I remove the case and switch back cases that I as a different styl