Got sidetracked and accidentally customized my tty login

12 points

I always log in to my TTY. Have you tried setting your colour scheme before login? I have a mega janky setup where I add an OpenRC sysinit service that calls setvtrgb. The first lines of the startup log aren’t affected but most of them are. That way I can log in with a colour scheme consistent with that which comes after the login.

permalink
report
reply
5 points

love this kind of consistency

permalink
report
parent
reply
2 points

Ever thought of unraveling that escape sequence and injecting it into the agetty start string?

permalink
report
parent
reply
10 points

Looks great! Do you often use TTY login over a graphical display manager?

permalink
report
reply
8 points
*

I used to have sddm but this time I forgot to install it after a clean reinstall of Arch (btw) so I use tty for a few day and I quite like it, I think I’m going to use tty login from now on

permalink
report
parent
reply
6 points

You can do colours as well!

permalink
report
reply
3 points
*

Oh nice, I’m only just getting started and still don’t know what possible, funny how we use the same font XD

permalink
report
parent
reply
1 point
*

Oh cool, I believe only 4bit colours are possible, you can use this table from Wikipedia and the escape sequence \e[<FG>m replacing<FG> with your chosen foreground colour. Also \e[0m to reset everything.

funny how we use the same font XD

Haha yeah! I noticed that too!

I think I just used regex look aheads and look behinds to insert the colours easily.

Edit: Oh you can change that actual TTY font to a bigger one, if the text is too small too.

permalink
report
parent
reply
1 point
*
Deleted by creator
permalink
report
reply
4 points

you can easily make this by editing a file in /etc/issue, it’s basically just html here is some possible switches that I use and I use this website to generate the logo

permalink
report
parent
reply
1 point
*
Deleted by creator
permalink
report
reply
4 points
*

You can do this by editing the “issue” file located in /etc/issue, you can put anything in there and it will display in tty login as long as it is text based, if you want it to show date and time or other information here is some possible switches, I recommended Kate if you want ascii because nano can’t display ascii

permalink
report
parent
reply
1 point

I also couldn’t get sddm to work from the KDE settings. I changed the sddm.conf file manually and I’m using the catpuccin theme. The Arch wiki helped (as usual).

permalink
report
parent
reply

Unixporn

!unixporn@lemmy.ml

Create post

Unixporn

Submit screenshots of all your *NIX desktops, themes, and nifty configurations, or submit anything else that will make themers happy. Maybe a server running on an Amiga, or a Thinkpad signed by Bjarne Stroustrup? Show the world how pretty your computer can be!

Rules

  1. Post On-Topic
  2. No Defaults
  3. Busy Screenshots
  4. Use High-Quality Images
  5. Include a Details Comment
  6. No NSFW
  7. No Racism or use of racist terms

Community stats

  • 961

    Monthly active users

  • 678

    Posts

  • 5.4K

    Comments