lxde.github.io icon indicating copy to clipboard operation
lxde.github.io copied to clipboard

how to know when starlxde ready to take screenshot

Open ghost opened this issue 1 year ago • 0 comments

I want to use lxde under xvfb

Here is my bash code:

xvfb :99 &
DISPLAY=:99 startlxde &
sleep ?
import -window root screenshot.png

lxde need some time to start but I do not know how long I should wait. I want to ask how to know lxde is ready so I can take screenshot? If the time is not enough, I will get 'no session for pid'

ghost avatar Jun 25 '24 04:06 ghost