| View previous topic :: View next topic |
| Author |
Message |
gentian Tux's lil' helper

Joined: 26 Mar 2012 Posts: 113
|
Posted: Sat Apr 21, 2012 10:03 am Post subject: Disable Console Screen Timeout |
|
|
How do I disable the Screen terminal while in the console? Is there a configuration option in the Kernel Configuration?
Thanks |
|
| Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2557 Location: Slovenia
|
Posted: Sat Apr 21, 2012 11:12 am Post subject: |
|
|
|
|
| Back to top |
|
 |
gentian Tux's lil' helper

Joined: 26 Mar 2012 Posts: 113
|
Posted: Sat Apr 21, 2012 12:49 pm Post subject: |
|
|
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 |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2557 Location: Slovenia
|
Posted: Sat Apr 21, 2012 12:52 pm Post subject: |
|
|
| Code: | | /etc/local.d/README |
|
|
| Back to top |
|
 |
gentian Tux's lil' helper

Joined: 26 Mar 2012 Posts: 113
|
Posted: Sat Apr 21, 2012 12:57 pm Post subject: |
|
|
| 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 |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2557 Location: Slovenia
|
Posted: Sat Apr 21, 2012 1:05 pm Post subject: |
|
|
| 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 |
|
 |
HerbMillerJW n00b

Joined: 16 Feb 2012 Posts: 2
|
Posted: Tue Apr 24, 2012 1:29 pm Post subject: |
|
|
| 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 |
|
 |
gentian Tux's lil' helper

Joined: 26 Mar 2012 Posts: 113
|
Posted: Sun Apr 29, 2012 1:28 pm Post subject: |
|
|
| 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 |
|
 |
Hu Watchman

Joined: 06 Mar 2007 Posts: 7627
|
Posted: Sun Apr 29, 2012 4:42 pm Post subject: |
|
|
| Was your new script executed at boot? |
|
| Back to top |
|
 |
gentian Tux's lil' helper

Joined: 26 Mar 2012 Posts: 113
|
Posted: Sun Apr 29, 2012 5:31 pm Post subject: |
|
|
| 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 |
|
 |
Hu Watchman

Joined: 06 Mar 2007 Posts: 7627
|
Posted: Sun Apr 29, 2012 6:28 pm Post subject: |
|
|
| 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 |
|
 |
gentian Tux's lil' helper

Joined: 26 Mar 2012 Posts: 113
|
Posted: Mon Apr 30, 2012 9:08 am Post subject: |
|
|
| 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 |
|
 |
gentian Tux's lil' helper

Joined: 26 Mar 2012 Posts: 113
|
Posted: Tue May 01, 2012 11:20 am Post subject: |
|
|
| Anyone? |
|
| Back to top |
|
 |
Hu Watchman

Joined: 06 Mar 2007 Posts: 7627
|
Posted: Wed May 02, 2012 2:28 am Post subject: |
|
|
| 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 |
|
 |
|