Raspberry Pi Disable hibernation setting

Source: Internet
Author: User


#文中设置均基于最新版的Raspbian系统2016-Version 11

Raspbian in the desktop environment, the system will go into hibernation after a period of time. Tried some methods such as directly with Xset close DPMS, is not successful.

Raspbian uses a lightweight desktop display manager that is LIGHTDM, which allows you to set up Xserver desktop session interaction \ Display, and so on.

1. Open the terminal;

2. Edit/etc/lightdm/lightdm.conf

3. Locate the ' Xserver-command ' in the [Seatdefaults] section, uncomment it, and modify it as follows:

Xserver-command=x-s 0-dpms

-S #--set screen saver is not enabled

-DPMS Shutdown Power Saving management


Click to open link

Open a root terminal in raspberry Pi. Now, need to edit your the script that's starting X. The default build with LIGHTDM.

Open "lightdm.conf" file located in,

/etc/lightdm/lightdm.conf

ADD below line on to Seatdefault section.

[Seatdefaults]

Xserver-command=x-s 0-dpms

Restart your Raspberry Pi.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.