Hi. I played with such idea few month ago. And it was worked. I use this script on Mac: ./pharo Pharo6... eval --no-quit "Author useAuthor: 'test' during: [ OSWindowWorldMorph new open]" where "pharo" was script for headless run. Maybe Author do not need anymore. There was issue around it. I think your error (libSDL2 not found error) not depends on headless mode. And it would be same if you open external window from normal pharo UI. Try it in playground. 2016-12-26 15:16 GMT+01:00 kmo <voxkmp@gmail.com>:
I would like to launch my application main morph in an OS Window from a pharo image run in headless mode from the command line. But this just gives me a libSDL2 not found error. I'm using pharo 6 on linux.
Is it possible to use OSWindow to open windows from a headless image? I want my main application window to be an OS window rather than the pharo application window.
The big advantage of doing this (on linux at least) is that you have control over the title and size of the window. It is not possible to set the size and title of the pharo application image window in linux because of bugs. I thought launching my app in an OS Window might be a good workaround but it doesn't seem to work.
-- View this message in context: http://forum.world.st/ Launching-OSWindow-windows-when-in-headless-mode-tp4928139.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.