Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: ferran on March 21, 2020, 03:31:52 PM
-
Hello again.
The next battle to set up my TC is againts the console fonts because currently are a bit small for my view.
Thus i've been readen this link:
http://forum.tinycorelinux.net/index.php/topic,23048.msg144202.html#msg144202 (http://forum.tinycorelinux.net/index.php/topic,23048.msg144202.html#msg144202)
but it don't work anything to me :(
some examples i did:
setfont /usr/local/share/consolefonts/lat1-12.psfu.gz
(no error but no change)
setfont sun12x22
(no error but no change)
busybox_setfont /usr/local/share/consolefonts/lat1-12.psfu.gz
sh: busybox_setfont not found
setfont
Thanks in advance.
-
Hi, ferran!
setfont sun12x22
works fine in pure console, not in terminal emulator under X. You can switch to console with Ctrl-Alt-F1 and back to X with Ctrl-Alt-F2
Correct call of busybox' executable is
busybox setfont lat1-12
without underline.
If You need to change Your terminal emulator font You can do this in ~/.Xdefaults
-
OMG when I press Ctrl+Alt+F! I drops to a dark dungeon under my desktop ! ;D
Now I understand the difference between "terminal" and "console" terms. One big lesson for today. Also I tried diferents fonts into the Console successfully, I saw the spanish es.kmap running there (another headhache I did) and so fine. Really I am satisfied with this discover.
OK. So let's focusing this question only with the fonts of Terminal this is my problem now.
If You need to change Your terminal emulator font You can do this in ~/.Xdefaults
jazzbiker: Can you tell the full path to find it, please? (*)
(*) the linux command Find or Locate don't works either to me, but this will be another Q6A post.
-
Heh, dungeon is the first impression, it's near-light-speed highway )
What the problems with find?
tc@box:~$ find /home -name ".Xdefaults"
/home/tc/.Xdefaults
-
Another lesson learned !
My -old- problem with Find was I didn't write "-name" attribute in the command. Never more.
Well, now I want to change the line "Aterm*font=fixed" for another font. What can i do it?
-
Default fixed fonts are located in /usr/local/lib/X11/fonts. I think /usr/local/lib/X11/fonts/misc are of interest. Try
ls /usr/local/lib/X11/fonts/misc
You will see a lot of font files, along with "fonts.dir" and "fonts.alias" files.
In Your .Xdefaults You can use either font description from "fonts.dir", for example
-misc-fixed-bold-r-normal--18-120-100-100-c-90-iso10646-1
or alias from "fonts.alias", for example
10x20
Sorry, may be it is not the best explanation, but I feel that You understand.
-
The problem of default aterm is that it doesn't work with UTF-8, so You may need another terminal emulator, my favorite is rxvt for fixed fonts. And terminus fonts are great, imho.
If You will use terminus, read extension info and make some steps, explained in it.
-
All right. Thank you very much jazzbiker !!
Tomorrow i will test all you told and search more info about termnal emulators and Terminus, etc.
-
Solved problem.
My terminal now is so beautiful, readable for my eyes and able to work.
the steps i did:
#First let's take a look inside all the fonts we can to select for our terminal
cd /usr/local/lib/X11/fonts/misc
ls | more
#I chose 3 different options to try on and wrote it in a notebook (you chose it that you like)
#
# 8x13.pcf.gz (aka 8x13)
# 8x16.pcf.gz (aka 8x16)
# 10x20.ISO8859-1.pcf.gz (aka 10x20)
#I save a copy of original .Xdefaults in case i needed it:
cd /home/tc
cp .Xdefaults .Xdefaults_original
# Now i'm ready to change the font:
editor .Xdefaults
# I will change the default line Aterm*Fonts=fixed by Aterm*Fonts=8x13
# (The font 8x13 in an alias from 8x13.pcf.g font file)
# Also I could change too the color of cursor, background, foreground, etc. But for me its enough.
#Now exit from the Terminal and open it again.
Absoultely fantastic ! :D
I would like to thank jazzbiker for his great help.
-
Hi, ferran!
Nice to hear that You got what You need. In TinyCore if You know, what You want, You move straight toward Your goal, thanks to its architecture.
Haven't You read "Into the Core" book? If not - I recommend it stongly, it's real fun! You can find it here - http://tinycorelinux.net/book.html
TinyCore is great to explore, good luck!
-
Hi again jazzbiker
Surely i will buy it (i need it) as soon as possible, but it's sadly that in my country is closed by coronavirus now, so it's forbidden to buy anything but food or health products.
Instead, I like to read a lot of threads of this forum, searching in the net, etc. and I'm learning very much :)
-
I believe "Into the Core" is definitely health product! Why not to try? ;-)
-
LOL I believe it with all my hearth... but the police surely don't ;D
-
Hi, ferran!
This is the link for free downloading book in pdf format, no viruses, no fees! Sorry, I was joking a little, expected You will try.