I am so close to figuring this out, that I can taste it, but there is one thing which continually teases me, and that is fbterm’s TERM setting.
So right; I am using zsh as my shell. Everywhere. It’s even set as login shell. I am also using PowerLevel9K as my theme, which is a Powerline-alike that is super-functional, so I have a fancy and blinged-out terminal with the colours and settings I want. And I want it to work in a TTY. So here’s the problems I encountered and how I resolved prior ones thus far;
- PL9K complains abbout lack f 256-colour support
- Resolution: Do what the theme says and set zsh to use xterm-256colors in my
.zshrc
file -
fbterm
doesn’t function withoutsudo
- Resolution: Add myself to
video
group withgpasswd
; reboot -
fbterm
isn’t the first thing that shows when I sign in via TTY - Resolution: Add this to my
.zlogin
file. -
fbterm
doesn’t load with 256-color support - Resolution: Yet to be determined.
So that is where I am at. The solution seems simple; tell fbterm to use fbterm
as TERM, but when I put in code to do that, it ends up doing nothing of significance; when I do echo $TERM
I get xterm-256colors
still instead of fbterm
as output. So now here’s the question, with all of that setup in mind;
How do I change it so after logging into a TTY, TERM
is set to fbterm
instead of xterm-256colors
?