ISO icon indicating copy to clipboard operation
ISO copied to clipboard

Enter the text console Mode when shutting down and add a white screen to cover it

Open louies0623 opened this issue 2 years ago • 13 comments

This will appear during startup or shutdown. It is not very good-looking. It should be a solid color block and put the cursor at the front. 20230904_114203

louies0623 avatar Sep 04 '23 03:09 louies0623

This would need to be addressed in FreeBSD; I can do nothing about it.

probonopd avatar Sep 04 '23 22:09 probonopd

I want to make an unrelated guess, maybe it is very wrong. The previous version was Boot splash and originally had a black background and white pictures. However, after the color flipping of the later versions, you will find that the pictures become black instead of what you think gray, so you are adding white and transparent again, I want to ask if this is the case.

louies0623 avatar Sep 05 '23 04:09 louies0623

Well, on my system both the boot and the shutdown are gray, so I don't know why it is not working on some machines. In general, setting the colors of the text console should last for the entire session (boot and shutdown), we are not setting the colors more than once.

probonopd avatar Sep 05 '23 05:09 probonopd

Otherwise, it might be left over from the white faded animation. This is just a guess.

louies0623 avatar Sep 05 '23 05:09 louies0623

The better news is that with your new file manager "boot -v" it doesn't show that thing.

However, there is still this problem. 20230905_170054 20230905_170218 20230905_170214

louies0623 avatar Sep 05 '23 09:09 louies0623

https://forums.freebsd.org/threads/colorize-your-bsd-shell.85458/ Maybe this can help.

louies0623 avatar Sep 05 '23 13:09 louies0623

Yes, it might work to set the foreground color to "black" like the background. ("Black" is light grey in our case.) echo -e "\e[30m" or echo -e "\x1b[30m"... something like that.

Before this line: https://github.com/helloSystem/ISO/blob/5ab610da48912e06fa669d4e075cd8d143adefdd/settings/script.hello#L354

probonopd avatar Sep 06 '23 17:09 probonopd

https://forums.freebsd.org/threads/how-to-change-background-color-of-freebsd-terminal.69893/ This is another possible solution found.

louies0623 avatar Sep 09 '23 08:09 louies0623

Yes. It would be helpful if you could them and let me know if you have found a working one. Thanks!

probonopd avatar Sep 10 '23 06:09 probonopd

Sorry, it was my fault again. I thought there was a transparent mask or something, but when I encountered this, it proved that I was wrong again. It was a color filling problem, not a transparency problem. If the text is different from The cursor color is consistent with the background, will it be hidden? 20230910_225602

louies0623 avatar Sep 14 '23 15:09 louies0623

Only this time did I realize that it was the text and background of the text console Mode. We didn’t need to adjust it at all. Instead, it should have a white overlay.

louies0623 avatar Sep 28 '23 03:09 louies0623

And we need to avoid changing the font color of the text console Mode, because this will make the text console Mode use user methods.

louies0623 avatar Sep 28 '23 03:09 louies0623

I don't quite understand. When booted in verbose mode, the messages during boot and shutdown should look similar to this:

image

probonopd avatar Sep 28 '23 19:09 probonopd