Installed Ubuntu server on a tablet. But the screen always stays on.
Can do a command:
echo -ne "\033[9;5]" > /dev/tty1
It does turn it off or at least it then goes to black. If I press a key on the keyboard it comes back on - that's what I want.
But that command doesn't stay. Sometimes in a week or so it can turn back on and I did not touch the keyboard.
There are all sorts of things can find for the desktop but not the server to turn the screen off when not using the keyboard on it.
setterm: terminal xterm-256color does not support --blank
– Porcupine Mar 01 '23 at 09:49The error message "setterm: terminal xterm-256color does not support --blank" means that the terminal type you are using does not support the "--blank" option in the "setterm" command.
To resolve this issue, you can try using a different terminal type that supports the "--blank" option. For example, you can try using the "linux" terminal type instead of "xterm-256color" by running the following command: export TERM=linux
– Tobias Holm Mar 02 '23 at 11:45