Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-21-2008, 11:10 AM   #1
LQ Newbie
Registered: Jul 2005
Posts: 20

Rep: Reputation: 0
how to disable sleep/hibernate mode in runlevel 3 mode

My machine installed FC8, when it runs in runlevel 3, its conosle always went to sleep or hibernate mode in every 10 minutes, I have to press keyboard from time to time to keep it active. Do you know how to disable it?

Old 11-23-2008, 04:54 AM   #2
Senior Member
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Does the computer actually go into hibernate (which takes a while to shutdown and start backup and results in the computer actually being turned off) or does the screen just go blank? If it is the latter, try the following command after logging in at the console:

setterm -powersave off -blank 0
If this takes care of you problem, you can add it to your ~/.bash_profile or /etc/profile file so that it runs automaticly each time you log in (so you don't have to type it). The tilde (~) in ~/.bash_profile just means your home directory. (This will apply the command only to users who have added it to their own .bash_profile directory. The /etc/profile file will automatically apply it to all users.) You can use your favorite text editor, but be aware that the leading dot in the name of .bash_profile makes it a "hidden file" so it doesn't show up with ls command unless you use the -A or -a option (or you specify the file by name). If you wish to modify /etc/profile you will have to do so as root.

If your screen is going blank before you log in and this is a problem for you, then you will need to alter a different configuration file and I am not familiar with Fedora so I cannot help you with that.

Be aware that the command above is turning off a power saving feature. You might want to consider whether you really want to do that. Perhaps you would wish simply to extend the period before it blanks the screen. You can check out the man page for the setterm command for an explanation of all the options available to you. To read the man page, just type:

man setterm


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
disable sleep mode, away mode standby, etc. ZiGz Linux - General 4 06-19-2016 01:15 PM
hibernate mode merlin23 Linux - Laptop and Netbook 1 12-02-2004 03:39 AM
Where's sleep mode in RH 8.0? bobterri Linux - Distributions 4 11-26-2002 11:13 PM
Sleep mode mrsolo Linux - Hardware 4 11-26-2002 08:05 PM
sleep mode Linux - General 2 12-29-2001 09:43 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration