this post was submitted on 08 Nov 2023
111 points (97.4% liked)

Linux

48057 readers
1047 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

all 7 comments
sorted by: hot top controversial new old
[–] [email protected] 50 points 1 year ago (2 children)

Just before shutdown you're at the terminal so something like this https://github.com/stolk/imcat on the image at the end of shutdown script might work.

[–] [email protected] 15 points 1 year ago (1 children)

This sounds perfect. Thank you.

[–] [email protected] 1 points 1 year ago

Once you've figured this out, tell me about it please! :-D

I was just thinking about how I miss this screen the other day haha

[–] [email protected] 3 points 1 year ago (1 children)

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.

@[email protected], 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.

[–] [email protected] 1 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 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.