Raspberry Pi - Desative o sleep para evitar o desligamento da tela: mudanças entre as edições
De Área31 Hackerspace
Sem resumo de edição |
Sem resumo de edição |
||
Linha 44: | Linha 44: | ||
[[Categoria:Linux]] | [[Categoria:Linux]] | ||
[[Categoria:KnowledgeBase]] | [[Categoria:KnowledgeBase]] | ||
[[Categoria:Embarcados]] | |||
Referências: | Referências: | ||
http://www.cyberciti.biz/tips/linux-disable-screen-blanking-screen-going-blank.html | http://www.cyberciti.biz/tips/linux-disable-screen-blanking-screen-going-blank.html |
Edição das 20h27min de 14 de agosto de 2015
LXDE
Adicione ao arquivo do LXDE as opções de desativar o sleep:
vi /etc/xdg/lxsession/LXDE/autostart
#@xscreensaver -no-splash @xset s off @xset -dpms @xset s noblank
Xorg
vi /etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor" Identifier "LVDS0" Option "DPMS" "false" EndSection Section "ServerLayout" Identifier "ServerLayout0" Option "BlankTime" "0" Option "StandbyTime" "0" Option "SuspendTime" "0" Option "OffTime" "0" EndSection
Console
echo "setterm -blank 0" >> /etc/conf.d/local.start
ou altere a linha do kernel no boot, adicionando o parâmetro "consoleblank=0".
Verifique se está definido:
cat /sys/module/kernel/parameters/consoleblank
Referências:
http://www.cyberciti.biz/tips/linux-disable-screen-blanking-screen-going-blank.html