Console (no GUI) font colors
- Anmelden oder Registrieren um Kommentare zu schreiben
Hello fellow Trisquelers.
As I stated in previous post, I installed Trisquel console (only) via net install iso. Some times when I boot pc the whole console have blue fonts and sometimes it has white. When I later launch xfce the terminal emulator colors work properly. I just want to know why are sometimes fonts blue and sometimes white in default bash without gui.
Thank you
Are you sure? My TTY console is colored (for example when I run $(ls) or $(emacs) )
maybe I did not make my self clear - I have no GUI, Desktop installed only console - Trisquele console - and all of my text in console is sometimes blue and sometimes white. However, when I run xfce on top of this console - to start GUI - and open xfce terminal emulator, my colors are decided by xfce terminal emulator correctly. I just want to find out why they are all blue or all white in no GUI console.
if you run this command:
ls /etc/init.d/
does it show any colored text (like green?)
This time I turned on the computer, the default text color was white and when I executed the command the output and only the output was blue. When in XFCE the terminal colors were again normal and all the text was green.
I can relate to what you say. Actually my Terminal is exactly the same. At first it is white, then it changes to blue and after that its colorful (the pages refreshes 2 times upon startup) so I think maybe a process (which is responsible to color the TTY) is not starting for you. And the netinstall just introduced recently in Trisquel 11, so it might be a good idea to open an issue on gitlab so that the developers - who actually know a lot, unlike me! - can help you out. BTW, does this temporarily workaround work for you?
cat << EOF >> ~/.bashrc
if [ "$TERM" = "linux" ]; then
echo -en "\e]P0232323" #black
echo -en "\e]P82B2B2B" #darkgrey
echo -en "\e]P1D75F5F" #darkred
echo -en "\e]P9E33636" #red
echo -en "\e]P287AF5F" #darkgreen
echo -en "\e]PA98E34D" #green
echo -en "\e]P3D7AF87" #brown
echo -en "\e]PBFFD75F" #yellow
echo -en "\e]P48787AF" #darkblue
echo -en "\e]PC7373C9" #blue
echo -en "\e]P5BD53A5" #darkmagenta
echo -en "\e]PDD633B2" #magenta
echo -en "\e]P65FAFAF" #darkcyan
echo -en "\e]PE44C9C9" #cyan
echo -en "\e]P7E5E5E5" #lightgrey
echo -en "\e]PFFFFFFF" #white
clear #for background artifacting
fi
EOF
(source: https://archive.is/QSYHd )
I do not confirm with this configuration in .bashrc, because I don't see these lines in my .bashrc file.
I don't think opening an issue on gitlab is the right way.
If I run taskel, I see that "Trisquel console environment" is installed. Maybe installing this will solve the problem, too.
I don't know exaclty but this is what I found:
the color table for the Linux console is located at /etc/vtrgb
my /etc/vtrgb looks like this:
1,222,57,255,0,118,44,204,128,255,0,255,0,255,0,255
1,56,181,199,111,38,181,204,128,0,255,255,0,0,255,255
1,43,74,6,184,113,233,204,128,0,0,0,255,255,255,255
dpkg-query -S vtrgb
kbd: /sbin/setvtrgb
kbd: /usr/share/man/man8/setvtrgb.8.gz
kbd: /usr/share/man/man1/setvtrgb.1.gz
console-setup-linux: /lib/systemd/system/setvtrgb.service
console-setup-linux: /etc/console-setup/vtrgb.vga
So maybe you need to install kbd.
I have kbd installed already.
Did you have "Trisquel console environment" installed with tasksel, like I mentioned in another post? And if not, do you want to install it?
Yes.
During installation I chose Trisquel console environment as shown on picture below. Then I installed xfce4 and xfce4-goodies via apt.
- Anmelden oder Registrieren um Kommentare zu schreiben