config console/VT

Mikkel L. Ellertson mikkel at infinity-ltd.com
Mon Apr 16 14:08:55 UTC 2007


Keith G. Robertson-Turner wrote:
> Verily I say unto thee, that Michael Klinosky spake thusly:
>> I put my machine into console (aka VT) mode (ctrl-alt-Fx) when not in
>> use. I want it to blank the monitor (DPMS). I figured out the commands
>> to do this.
>>
>> But, this doesn't survive a reboot. Now, granted, I reboot rarely - but
>> it's still a hassle.
>>
>> Is there a way to set up defaults, or issue those commands to the VT in
>> the boot process?
> 
> Put it into /etc/rc.local?
> 
If you decide to put it in rc.local, you will need to redirect the
I/O. I don't remember if you need to redirect the input or output of
the setterm command. (You would think it would be output, but
setting a VT gets tricky - commands like reset require you to
redirect the input for them to work correctly.) In any case, setterm
needs to be "connected" to a VT in order to work. When rc.local
runs, it is not connected to a VT...

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!




More information about the fedora-list mailing list