Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to know when starlxde ready to take screenshot #68

Open
ghost opened this issue Jun 25, 2024 · 0 comments
Open

how to know when starlxde ready to take screenshot #68

ghost opened this issue Jun 25, 2024 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 25, 2024

I want to use lxde under xvfb

Here is my bash code:

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants