如何禁用树莓派上的睡眠 [英] How to disable sleeping on Raspberry pi
问题描述
I am working on a project similar to the one at http://www.instructables.com/id/Raspberry-Pi-Wall-Mounted-Google-Calendar/?ALLSTEPS
同样,我需要我的 pi 一直保持开启状态.我安装了常规的 Raspbian 操作系统,并且整天使用 Iceweasel 浏览器运行网络应用程序.
Similarly, I need my pi to stay on constantly. I have the regular Raspbian OS installed and I am using Iceweasel browser to run a web application all day.
我已经尝试了此链接中的所有建议 http://www.bitpi.co/2015/02/14/prevent-raspberry-pi-from-sleeping/
I have tried every single one of these suggestions from this link http://www.bitpi.co/2015/02/14/prevent-raspberry-pi-from-sleeping/
然而 pi 无法停留超过 10 分钟.任何帮助将不胜感激.
Yet the pi fails to stay on longer than 10 minutes. Any help would be greatly appreciated.
推荐答案
我安装了 xscreensaver
I installed xscreensaver
sudo apt-get install xscreensaver
- 安装后,转到 Rpi 的桌面菜单"(左上角)
- 转到
首选项 -->屏幕保护程序
. - 您将看到一个屏幕保护主菜单.在模式下拉菜单中,选择禁用屏幕保护程序",然后关闭窗口.
- 重启树莓派.
它现在应该可以工作了.
It should work now.
这篇关于如何禁用树莓派上的睡眠的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!