VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: screen blanking  (Read 954 times)

aixuser01

  • Member
  • *
  • Posts: 86
screen blanking
« on: November 16, 2012, 06:38:05 am »

hi all,

7.0 std gold built nov-21-2011

my screen blanks itself after a few minutes. comes back when i hit a key. sounds like the screen saver right.

i do not have the apci service running (turned off in the hardware setup in vasm)
ps -ef | grep apci comes back with nothing.

also this machine is in runlevel 3 (text gui server )

the xset commands wont run because there is no x server running, so where is this coming from?

i know its not bios because my freebsd install does not have this problem.

what to do? where to look?

thanks all for your time.

Logged
Evil Overlord rule 58 My doomsday device will not employ a large red digital countdown device unless it is absolutely necessary.  If a countdown device proves to be necessary, the doomsday device will be set to activate when the counter reaches 00:10:00, rather than 00:00:00.

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4103
Re: screen blanking
« Reply #1 on: November 16, 2012, 07:15:53 am »

To keep the monitor "always on", I add these commands to my startup script:
Code: [Select]
setterm -blank 0 -powerdown 0This turns off screen blanking provided by the shell
Code: [Select]
xset s off- turns off the X screen saver
Code: [Select]
xset -dpms- disables hardware DPMS power saver.
Logged

aixuser01

  • Member
  • *
  • Posts: 86
Re: screen blanking
« Reply #2 on: November 16, 2012, 07:50:40 am »

thanks for the reply testing now. (from the command line ) when you say start up scripts what do you mean.... the .bashrc? .bash_profile, or something like rc.local ??
Logged
Evil Overlord rule 58 My doomsday device will not employ a large red digital countdown device unless it is absolutely necessary.  If a countdown device proves to be necessary, the doomsday device will be set to activate when the counter reaches 00:10:00, rather than 00:00:00.

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4103
Re: screen blanking
« Reply #3 on: November 16, 2012, 08:22:00 am »

I wouldn't use rc.local. Since you're not running X, try .bash_profile first. If that doesn't do it, try .bashrc.
Logged

aixuser01

  • Member
  • *
  • Posts: 86
Re: screen blanking
« Reply #4 on: November 16, 2012, 01:51:10 pm »

thanks for the quick response. the setterm did the trick. placed it in .bashrc
Logged
Evil Overlord rule 58 My doomsday device will not employ a large red digital countdown device unless it is absolutely necessary.  If a countdown device proves to be necessary, the doomsday device will be set to activate when the counter reaches 00:10:00, rather than 00:00:00.