How to use Sikuli.OpenApplication on Linux

39 views
Skip to first unread message

Gerhard Heil

unread,
Aug 26, 2025, 9:31:36 AMAug 26
to robotframework-users
Hi,

I have implemented a test suite which operates a browser via SeleniumLibrary and Excel via SikuliLibrary, running successfully on a Windows system. 

Now I want to get that suite working on a Linux system (Linux Mint in my case). Operating the browser already works fine. But I don't get SikuliLibrary.OpenApplication working. Of course I use LibreOffice instead of Excel, specifying the same application string as "ps -ef" shows, and I even get the application window opened, but the suite hangs after calling OpenApplication, even a sleep directly after that keyword is never executed.

What is the trick for Sikuli on Linux?

Thanks and best regards
Gerhard

Hélio Guilherme

unread,
Aug 26, 2025, 10:57:08 AMAug 26
to robotframework-users
Can you please indicate what version of SikuliLibrary you are using?
Also could be relevant what version of Java.

One experiment I usually do, is to install the sikuli-ide (which you may need to install the sikuli-api jar). Running Sikuli in Java is my way to confirm that the base library is working.

I "think" that the OpenApplication has been reported as not working well in Linux. You can use the Start Process from the Process library, to stat OpenOffice Calc (or another way to start the program).


--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/robotframework-users/d66fe635-a4d5-4f09-8be9-db96c20e7148n%40googlegroups.com.

Gerhard Heil

unread,
Aug 27, 2025, 4:20:16 AMAug 27
to robotframework-users
Thank you for your fast and helpful answer. With Process.Start Process the application is accessible, so I can skip the experiment running Sikuli in pure Java; I suppose it might also not be comparable to Sikuli via Python because of being nested in PyEnv on a Linux system.

If you are interested anyway, my versions are:
Linux Mint 22.1
Java: OpenJDK Runtime Environment (build 21.0.8+9-Ubuntu-0ubuntu124.04.1)
Python 3.13.7 (within pyEnv)
Robot Framework 7.3.2
SikuliLibrary 2.0.5

Gerhard Heil

unread,
Sep 16, 2025, 10:47:49 AM (11 days ago) Sep 16
to robotframework-users
Hi Hélio, thanks for your tip to try calling Sikuli  from Java. That experiment lead me to a tutorial saying that Sikuli has to be installed on the system; having the jar file available is not sufficient to get Sikuli callable from Java (same on Windows); you have to "install" it.

I don't completely understand the behaviour, as the new Sikuli version does no more have an installer (or setup.jar, as it was named in Sikuli 1.0). But there is the sikulixide-<version>.jar. That does not look like installing anything. It looks as if it just starts the Sikuli IDE. But after once starting the Sikuli IDE, Sikuli was working from RobotFramework, without changing the Robot script.
Reply all
Reply to author
Forward
0 new messages