<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 30, 2023, 11:29 <<a href="mailto:u34@net9.ga">u34@net9.ga</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The following is a feature request. At src/login/loginctl.c ?<br>
The looked up feature is the equivalent of<br>
setterm --blank aDelay --powerdown SomeOtherDelay<br>
, only as soon as the login prompt appears. Before login.<br>
I mean, I ask to leave the current state as is. But allow the admin to set <br>
up these command also for the login prompt, if he chooses to. And it will <br>
be cleared while logining in.<br>
That command just put the display into a sort of blank mode.<br>
For me, the current situation is that I have to login to get the ability to <br>
run that setterm command. Which, I think, is not always desiarble. A</blockquote></div></div><div dir="auto"><br></div><div dir="auto">Then instead run it as a oneshot .service with StandardInput (and maybe TTYName) set appropriately. (It's one of the few situations where it is appropriate for services to access a tty.)</div><div dir="auto"><br></div><div dir="auto">I think such settings *could* be made part of vconsole.conf, though. Try opening a feature request on systemd's GitHub.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
console in the remote servers room can be in blank mode when no emergency <br>
actions are required. In particular, when the server is remotely supervised. <br>
And so is a desktop that also act as the single printer gateway for a small <br>
office. Or for a user that gone away after the desktop was turned on (but <br>
before he logged in), because he had some urgent call to attend to.<br>
For a machine that boots into graphic mode, not plain old text mode, a <br>
similar feature is implemented out of the box. Isn't it?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">It's implemented by the "graphic mode" itself (usually by Xorg), not by systemd.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
--<br>
u34<br>
</blockquote></div></div></div>