Any way to add an "It's now safe to turn off your computer" message at the end of shutdown? - eviltoast

I want to do this for my raspberry pis since they don’t have an ACPI system in place. I think it would look really nice combined with XFCE and the chicago95 theme. So I would prefer it if it were showing it like the windows 95 shutdown screen, maybe using an image file? There’s a lot of information on the shutdown process on linux but not much on the topic of altering it.

  • patatahooligan@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    This looks like it represents the image with block characters, so it ends up being very low res. I suspect it will be horrible at rendering text.

    @RickyRigatoni@lemmy.ml, maybe you can hack this together with something like plymouth. Normally it’s for the boot process, but it might work for shutting down as well.

    • RickyRigatoni@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      If the terminal resolution is high enough and I tweak the image a bit it should look fine. I’ll look into Plymouth, too, because I might as well use that for a classic windows boot.

      • patatahooligan@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        It seems like it’s using blocks that are half a character tall, and I imagine using the combination of foreground and background colors to get two colors into each character space.

        Therefore your horizontal resolution will be equal to the length of each line in characters. Your vertical resolution will be equal to two times the number of lines on the screen. So maybe it’s doable with high resolution and tiny font. I don’t know what the limits for those are.