How to use Sikuli.OpenApplication on Linux

18 views
Skip to first unread message

Gerhard Heil

unread,
Aug 26, 2025, 9:31:36 AM (11 days ago) Aug 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 AM (11 days ago) Aug 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 AM (10 days ago) Aug 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
Reply all
Reply to author
Forward
0 new messages