![]() ![]() Finally, the third line sets the HDMI mode back to the one I use, which is 1280x720. The second line starts the "X event" tool in a window which is bigger than the screen, and waits until "Motion" is reported, that is, when the user moves the mouse inside the window (which is anywhere on the screen). The first line shuts down HDMI signal, making the TV go to sleep. For instance, mine looks like this: tvservice -oĭISPLAY=:0 xev -geometry 1900x1200 | stdbuf -o0 grep Motion >&. On the command line (900 is 15 minutes in seconds) or Section "ServerFlags"īefore DPMS was working properly on the Pi 4, I used to install xautolock which runs an arbitrary command as a screen locker. Update: now that DPMS issue is resolved, it is sufficient to set xset dpms 900 0 0 ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |