LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How Do I Prevent Display From Shutting Off? (https://www.linuxquestions.org/questions/linux-server-73/how-do-i-prevent-display-from-shutting-off-778334/)

MadAtUbuntu 12-27-2009 12:38 PM

How Do I Prevent Display From Shutting Off?
 
Ok, I got Ubuntu Hardy here. and Ive tried

setterm -blank 0 -store

And I have tried

apci=off <--I added this to my kernel line in the grub boot loader

And neither have prevented the display from shutting down.

I like running htop and having a display up and would like to know how to prevent the display from shutting off, this is a pure command line system.

If any of you pros might be willing to share a small nugget or tip with me I would be smiling about it all day, thank you.

hoodooman 12-27-2009 02:11 PM

Im using Slackware so things might be a bit different but have a look at /etc/rc.d/rc.M.There is a line in mine as follows

# Screen blanks after 15 minutes idle time, and powers down in one hour
# if the kernel supports APM or ACPI power management:
/bin/setterm -blank 15 -powersave powerdown -powerdown 60

Just a guess but this may be what you are looking for.Just hash out the line starting with /bin and that command will not run.I haven't tried this personally.Maybe someone else will come in with a reply to back this up before you try it.Also have a look at "man setterm".

MadAtUbuntu 12-27-2009 02:36 PM

Yeah I think its different in Ubuntu


All times are GMT -5. The time now is 08:22 PM.