Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

I have tried every single one of these suggestions from this link http://www.bitpi.co/2015/02/14/prevent-raspberry-pi-from-sleeping/

Yet the pi fails to stay on longer than 10 minutes. Any help would be greatly appreciated.

like image 698
Javed Ali Avatar asked Jun 22 '15 17:06

Javed Ali


People also ask

How do I turn off screen blanking on Raspberry Pi?

Follow the below steps to disable Screen Blanking on Raspberry Pi through desktop interface: Step 1: On the main Raspberry Pi menu, find the “Raspberry Pi Configuration” in the “Preferences” option as shown below. Step 2: Navigate to the “Display” option. Step 3: Disable the “Screen Blanking” as shown below.

Does the Raspberry Pi have a sleep mode?

Does The Raspberry Pi Have A Sleep Mode? No, the Raspberry Pi does not have any power management capabilities. It is in effect always on, even when you command the system to “halt”.

How do you wake up a sleeping Raspberry Pi?

Since the Pi lacks a sleep/suspend state, the best you can do is halt the system (full shutdown) when work is complete, and send a reset signal on header P6 to wake it when needed.


1 Answers

I installed xscreensaver

  1. sudo apt-get install xscreensaver
  2. Once installed, go to Rpi's desktop "Menu" (left top corner)
  3. Go to preference --> screensaver.
  4. You will see a screen saver main menu. In the mode drop-down menu, select "disable screensaver" then close the window.
  5. Reboot the Raspberry PI.

It should work now.

like image 138
Javed Ali Avatar answered Oct 08 '22 07:10

Javed Ali