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

Turn off screen after certain time #465

Open
danielkastberg opened this issue Dec 25, 2024 · 2 comments
Open

Turn off screen after certain time #465

danielkastberg opened this issue Dec 25, 2024 · 2 comments

Comments

@danielkastberg
Copy link

I would like to turn off the screen after midnight. Is it possible since flutter pi runs without X11 or Wayland?
I read online but all posts are mentioning something related to X11 or Wayland like "xset", "tvservice" or "xrandr" but no use since they require X11 or Wayland running.

Can this be done or do I have to turn the power off the PI during nighttime?

@DisDis
Copy link
Contributor

DisDis commented Dec 25, 2024

You can take my example of turning the screen on and off on the Pi4 https://github.com/DisDis/dslideshow/tree/master/deb_factory/template_build_arm64/opt/dslideshow/scripts

@danielkastberg
Copy link
Author

Thank you! I'm away from my PI but will test it when I get back. I used tvservice before and got "Can't find display" but then I know it should work for the flutter pi

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

2 participants