I installed Plymouth on a LUKS encrypted machine. Works fine. Theme is Spinner, in case it matters.
I'd like to modify 2 thingsone thing, though:
1/ After entering the LUKS passphrase, there's a status message cryptsetup: nvme0n1p3_crypt set up successfully showing for 2-3 seconds. Is it possible to get rid of it? In /usr/share/plymouth/themes/spinner/spinner.plymouth there is a MessageBelowAnimation=true option, but that's just for the position on the screen. Is it possible to completely hide the status messages?
2/ The password prompt is: Please unlock disk nvme0n1p3_crypt. Is it possible to replace it by something more generic, like Please enter password?
I found /usr/share/plymouth/themes/script/script.script:
(...)
fun display_password_callback (prompt, bullets) {
(...)
}
(...)
Plymouth.SetDisplayPasswordFunction(display_password_callback);
(...)
But that's as far as I got, I'm not Plymouth-savvy enough to know where to go from there. I guess somewhere Plymouth calls display_password_callback (prompt, bullets) and passes the LUKS prompt. So maybe it's possible to replace the LUKS prompt by a custom one. But I didn't find where that happens.
Any idea?