如何禁用树莓派上的睡眠 [英] How to disable sleeping on Raspberry pi

查看:74
本文介绍了如何禁用树莓派上的睡眠的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个类似于 http://www.instructables.com/id/Raspberry-Pi-Wall-Mounted-Google-Calendar/?ALLSTEPS">http://www.instructables.com/id/Raspberry-Pi-Wall-Mounted-Google-Calendar/?ALLSTEPS">/www.instructables.com/id/Raspberry-Pi-Wall-Mounted-Google-Calendar/?ALLSTEPS

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

  1. sudo apt-get install xscreensaver
  2. 安装后,转到 Rpi 的桌面菜单"(左上角)
  3. 转到首选项 -->屏幕保护程序.
  4. 您将看到一个屏幕保护主菜单.在模式下拉菜单中,选择禁用屏幕保护程序",然后关闭窗口.
  5. 重启树莓派.

它现在应该可以工作了.

It should work now.

这篇关于如何禁用树莓派上的睡眠的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆