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
fancy45daddy opened this issue Jun 25, 2024 · 0 comments
Open

how to know when starlxde ready to take screenshot #68

fancy45daddy opened this issue Jun 25, 2024 · 0 comments

Comments

@fancy45daddy
Copy link

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

1 participant