How to disable sleeping on Raspberry pi

后端 未结 6 1825
深忆病人
深忆病人 2021-01-31 17:29

I am working on a project similar to the one at http://www.instructables.com/id/Raspberry-Pi-Wall-Mounted-Google-Calendar/?ALLSTEPS

Similarly, I need my pi to stay on co

6条回答
  •  野性不改
    2021-01-31 18:02

    I recently installed Raspian Buster with Desktop (circa 2019-September) - the smaller install with the Desktop, but without the "recommended software". I found there are two settings that have to be changed as either one of them will blank the screen in ten minutes under the default settings.
    set screen saver timeout to zero:

    xset s 0
    

    and set dpms (EnergyStar) to disabled:

    xset -dpms
    

    This way I haven't needed to install anything (no screensaver). It was confusing because I'd tried both items, but it wasn't until I learned they both were blanking the screen at ten minutes that I saw what was going on.
    As this has tested out OK, the next step for me is to put them into an autostart routine.
    ps Verify your settings with

    xset q
    

提交回复
热议问题