Open eloyesp opened 10 years ago
The following code at the very bottom of my .bashrc worked!
if [ "$TERM" = "linux" ]; then echo -en "\e]P0073642" #black echo -en "\e]P1dc322f" #darkgrey echo -en "\e]P2859900" #darkred echo -en "\e]P3b58900" #red echo -en "\e]P4268bd2" #darkgreen echo -en "\e]P5d33682" #green echo -en "\e]P62aa198" #brown echo -en "\e]P7eee8d5" #yellow echo -en "\e]P8002b36" #darkblue echo -en "\e]P9cb4b16" #blue echo -en "\e]PA586e75" #darkmagenta echo -en "\e]PB657b83" #magenta echo -en "\e]PC839496" #darkcyan echo -en "\e]PD6c71c4" #cyan echo -en "\e]PE93a1a1" #lightgrey echo -en "\e]PFfdf6e3" #white clear #for background artifacting fi
@blueyed Cool, it works, @altercation should it be linked somewhere in the repo?
I was trying to get solarized working on tty2, tty3, etc. (the ones available on Linux with ctrl-alt-f2). Finally I could do it with escapes codes, based on a post I found.
This can be achieved adding a bunch of codes to
/etc/issue
(that is loaded bygetty
).The codes are: (the ascii escape character is not visible but it's there)
The last one just clear the screen to fix the background color. May be they can be added somewhere in the repo to be easy to add for anyone, but I'm not sure where it should be.