beeper / beepy

Beepy
https://beepy.sqfmi.com
Apache License 2.0
495 stars 37 forks source link

Optimize Shutdown, Disable MOTD, Disable Cursor Blink #26

Open dezren39 opened 1 year ago

dezren39 commented 1 year ago

i made some scripts which remove shutdown messages, the motd messages and the cursor blink. this is useful on a small screen and aesthetically i think it's pretty nice.

<prompt>

there is no longer a blinking cursor which i believe was a minor power efficiency issue with these screens.

when shutting down, there is no longer a giant list of systemd logs the advantage of this is that when you power down with end call, a newline is drawn and then it shuts down. you can read all the text like had been mentioned in hacker news. (so long as you make sure the top line isn't important to you.)

i couldn't figure out getting rid of the remaining newline during shutdown. kind of grown to like it. (edit: i have seen this appear sometimes and no newline other times. still working to understand how it occurs, if possible to have screen stays literally 1:1 exactly the same aiming for that.)

i couldn't figure out getting rid of (automatic login) line and the 2 newlines surrounding it. giving up on that. i believe the trick with using tty3 may be a possibility here? but unexplored. (edit: got rid of this in a later patch, the trick is in the getty autologin conf.)

the 'my ip address is' line is probably required to make sure users with bad dns are able to figure out their issues so i didn't even look into that line. (EDIT: on another clean install and run, now i don't see 'my ip address is' anymore, but i don't know why i did before or why it's different now. not important exactly, and i still have wifi, i used literally the same launcher as before, though i guess my debian bullseye image is today's image instead of 2 days ago?)

dezren39 commented 1 year ago

i'd recc squashing, but i can cleanup my commits if needed

dezren39 commented 1 year ago

i am investigating alternative 3 here to enable the hardware cursor, but disable the blinking. https://unix.stackexchange.com/a/341753/402382