this post was submitted on 28 Jul 2024
144 points (97.4% liked)

Unixporn

15444 readers
4 users here now

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

founded 5 years ago
MODERATORS
 

Got sidetracked and accidentally customized my tty login

all 14 comments
sorted by: hot top controversial new old
[–] CsXGF8uzUAOh6fqV@lemmy.world 13 points 4 months ago (2 children)

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.

[–] kamenlady@lemmy.world 5 points 4 months ago

love this kind of consistency

[–] Static_Rocket@lemmy.world 2 points 4 months ago

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

[–] mat@linux.community 10 points 4 months ago (1 children)

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

[–] ColdWater@lemmy.ca 8 points 4 months ago* (last edited 4 months ago)

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

[–] SteveTech@programming.dev 7 points 3 months ago (1 children)

You can do colours as well!

My Linux TTY with a coloured /etc/issue message

[–] ColdWater@lemmy.ca 4 points 3 months ago* (last edited 3 months ago) (1 children)

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

[–] SteveTech@programming.dev 1 points 3 months ago* (last edited 3 months ago)

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.

unrelated but that image took 5 years to load