sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #58193
Re: [Question #679437]: Problem with App class in linux
Question #679437 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/679437
Brent Villalobos posted a new comment:
I know this is an old thread, but I ran into a similar problem on
CentOS-7. The App class can launch the app, but after that it doesn't
know how to query it:
>>> terminal = App("/bin/gnome-terminal")
>>> terminal.isRunning()
False
>>> terminal.open()
[error] openApp:
offset 0, count -1, length 64
False
>>> terminal.isRunning()
False
>>>
I know that SikuliX is using xdotool and wmctrl under the hood and I
have both installed. I'll probably need to implement my own
functionality for querying processes. I see that xdotool is used
heavily in LinuxUtil.java
(https://github.com/RaiMan/SikuliX1/blob/master/API/src/main/java/org/sikuli/natives/LinuxUtil.java).
However, I don't see where wmctrl is used in the codebase. I searched
for it in the github repository and there was no code hits.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.