Comment 2 for bug 1813491

Revision history for this message
rad164 (rad164) wrote : Re: [1.1.4] Linux: PID is -1 after app.open()

Same issue with snapshot build #249.
On Linux, what kind of argument for App class is expected?

LinuxUtil.findWindow (https://github.com/RaiMan/SikuliX1/blob/master/API/src/main/java/org/sikuli/natives/LinuxUtil.java) tries to find the app with 6th field, but it is not a path to the application.

    $ wmctrl -lpGx | grep Chromium
    0x04e00001 0 584 80 32 1280 691 chromium-browser.Chromium-browser my-hostname Bug #1813491 “[1.1.4] Linux: PID is -1 after app.open()” : Bugs : Sikuli - Chromium

So it seems to need to pass "chromium-browser.Chromium-browser" instead of "/usr/bin/chromium-browser". (But it still won't work)