Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize Shutdown, Disable MOTD, Disable Cursor Blink #26

Open
wants to merge 53 commits into
base: main
Choose a base branch
from

Conversation

dezren39
Copy link

@dezren39 dezren39 commented Aug 27, 2023

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
Copy link
Author

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

@dezren39 dezren39 changed the title Optimize Shutdown, MOTD, Remove Blinking Cursor Optimize Shutdown, Disable MOTD, Disable Blinking Cursor Aug 28, 2023
@dezren39
Copy link
Author

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

* disable cursor blink

* Update enable_disabled_cursor_blink.sh

* improve shushing
@dezren39 dezren39 changed the title Optimize Shutdown, Disable MOTD, Disable Blinking Cursor Optimize Shutdown, Disable MOTD, Disable Cursor Blink Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant