Prevent screen from turning off
You can run this command:
$ setterm -blank 0 -powerdown 0
Alternatively you can disable console blanking permanently using the following command:
# echo -ne "\033[9;0]" >> /etc/issue
Type
setterm -blank 0 on any shell to disable blanking out of tty consoles.Type sudo xset s 0 0
0 disables blanking, any value greater than 0 is the time in minutes. Default is 10.
To permanently enable this you can add this line to your
~/.bashrc config.
No comments:
Post a Comment