TTY ricing
2019-02-01
This is just a repost from /g/, thread 66847569
(meaning this is not my content)
Thanks, Anonymous!
Anonymous Mon 23 Jul 2018 16:40:02 No.66851929:
>>66851873
--- tty ricing guide ---
- install fbsplash or splashutils depending on the distro
- you're gonna need to configure and recompile the kernel
enable required kernel options, see https://wiki.gentoo.org/wiki/Fbsplash
ignore the rest of the article
- install some themes you can use as templates
splash-themes-gentoo or bootsplash-themes or fbsplash-theme-natural-arch or whatever
you can try out some themes like so
splash_manager -c set --theme=THEME
that will set the theme on your current tty, to set the theme on another tty, use
splash_manager -c set --theme=THEME --tty=N
you can't apply themes that don't match your resolution
- make your own theme, it's ez
use a bg img that's in your res, put it in themedir/images, name it "verbose-<your res>.png"
edit the file named "<your res>.cfg" in themedir appropriately
just use another theme as a template, you don't need any guide or whatever to do this
if something isn't obvious, look at <slash>usr/share/doc/splashutils-1.5.4.4-r7/theme_format
- make a simple init script/systemd unit to set your login theme and tty colors on startup
(you can set a different theme in .bash_profile for post login if you want)
- setting the console (tty) font differs between distros, see your distro wiki or whatever
- don't forget to put some cool ascii in <slash>etc/issue
here's how I did it
- <slash>etc/tty_theme - file where I keep the names of the themes I'm using:
export TTY_LOGIN_THEME=login_theme
export TTY_THEME=post_login_theme
- my openrc script where I set the login theme and colors: http://ix.io/1dCa
- relevant stuff from .bash_profile (setting the post login theme):
. <slash>etc/tty_theme
[ "$TERM" = "linux" ] && [ -z $SSH_TTY ] && \
sudo splash_manager -c set --theme=$TTY_THEME
- .bash_logout so when you log out it resets the login theme:
[ "$TERM" = "linux" ] && [ -z $SSH_TTY ] && \
sudo splash_manager -c set --theme="$TTY_LOGIN_THEME"
Anonymous Mon 23 Jul 2018 16:41:22 No.66851939:
>>66851929
had to put <slash> instead of / because 4chan/cloudflare won't let me post if there's unix file paths
use this for tty scrots https://github.com/maandree/scrotty