Re: config console/VT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux