Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Disable Console Screen Timeout
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
gentian
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2012
Posts: 113

PostPosted: Sat Apr 21, 2012 10:03 am    Post subject: Disable Console Screen Timeout Reply with quote

How do I disable the Screen terminal while in the console? Is there a configuration option in the Kernel Configuration?

Thanks
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2570
Location: Slovenia

PostPosted: Sat Apr 21, 2012 11:12 am    Post subject: Reply with quote

Code:
man setterm
Back to top
View user's profile Send private message
gentian
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2012
Posts: 113

PostPosted: Sat Apr 21, 2012 12:49 pm    Post subject: Reply with quote

Gusar wrote:
Code:
man setterm

Thanks. I did this and it seems working:
Code:
setterm -powersave off
setterm -blank 0

However, I was wondering if this is a kernel feature and if it can be disabled, or if there is some configuration file I can save these settings to.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2570
Location: Slovenia

PostPosted: Sat Apr 21, 2012 12:52 pm    Post subject: Reply with quote

Code:
/etc/local.d/README
Back to top
View user's profile Send private message
gentian
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2012
Posts: 113

PostPosted: Sat Apr 21, 2012 12:57 pm    Post subject: Reply with quote

Gusar wrote:
Code:
/etc/local.d/README

I was wondering if scripts could be avoided and wether this could be changed in the kernel configuration? I really like vanilla solutions. No scripts or unnecessary services?
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2570
Location: Slovenia

PostPosted: Sat Apr 21, 2012 1:05 pm    Post subject: Reply with quote

What's wrong with scripts? Every distro has some form of a "local" service for exactly such small things. I doubt there is a kernel option, this is not something that belongs into the kernel.
Back to top
View user's profile Send private message
HerbMillerJW
n00b
n00b


Joined: 16 Feb 2012
Posts: 2

PostPosted: Tue Apr 24, 2012 1:29 pm    Post subject: Reply with quote

To my knownledge, screen blanking is a terminal emulator feature, not a kernel feature, so it has to be disabled in userspace (with a command). There may be something you can put in your /etc/inittab file that will disable it on startup, but I usually just put the setterm command in my /etc/bash/bashrc file.
Back to top
View user's profile Send private message
gentian
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2012
Posts: 113

PostPosted: Sun Apr 29, 2012 1:28 pm    Post subject: Reply with quote

Gusar wrote:
Code:
/etc/local.d/README

I added a local.start file including the setterm commands at /etc/local.d but the terminal still timeouts. :/
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 7679

PostPosted: Sun Apr 29, 2012 4:42 pm    Post subject: Reply with quote

Was your new script executed at boot?
Back to top
View user's profile Send private message
gentian
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2012
Posts: 113

PostPosted: Sun Apr 29, 2012 5:31 pm    Post subject: Reply with quote

Hu wrote:
Was your new script executed at boot?

How do I check that, Or what command do I have to run?
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 7679

PostPosted: Sun Apr 29, 2012 6:28 pm    Post subject: Reply with quote

Look for output generated by your script or check that one of the files or pseudofiles that it modifies shows the expected modification.
Back to top
View user's profile Send private message
gentian
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2012
Posts: 113

PostPosted: Mon Apr 30, 2012 9:08 am    Post subject: Reply with quote

Hu wrote:
Look for output generated by your script or check that one of the files or pseudofiles that it modifies shows the expected modification.

I just added local.start including my setterm commands in local.d. It should work :/
Back to top
View user's profile Send private message
gentian
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2012
Posts: 113

PostPosted: Tue May 01, 2012 11:20 am    Post subject: Reply with quote

Anyone?
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 7679

PostPosted: Wed May 02, 2012 2:28 am    Post subject: Reply with quote

When your script executes successfully, does it produce any output to the console or to a file (whether permanent or tmpfs)? If yes, please check that, after booting, that output has been produced. If no, then you should modify the script so that the answer is yes. So far, you have stated that you put the script in a place where you think it ought to work. You have stated that the console still does not behave the way you want it to behave. You have not stated whether or not you have rebooted since you placed the script in /etc/local.d. You have not stated whether or not the script was automatically executed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum