Changing Font In CentOS 7

General support questions
Post Reply
kodingwarrior
Posts: 2
Joined: 2017/10/04 18:25:08

Changing Font In CentOS 7

Post by kodingwarrior » 2017/10/04 18:31:14

I'm using CentOS7(Not Desktop mode or GUI Environment) and I want to change current font to another font.
For example, Fira Code, Consolas, Monaco, etc.

Is there any possible method????
In desktop mode, changing font is so easy.But, I'm using CentOS in CLI and default font gives me cancer, and it gives me much lower productivity :(

aks
Posts: 3069
Joined: 2014/09/20 11:22:14

Re: Changing Font In CentOS 7

Post by aks » 2017/10/04 20:26:13

The setfont command (see man setfont)?

kodingwarrior
Posts: 2
Joined: 2017/10/04 18:25:08

Re: Changing Font In CentOS 7

Post by kodingwarrior » 2017/10/04 20:46:54

I used setfont command to ttf/otf file.
but output was "Bad input file size".... what...?

and, man page describes entirely supposing that using .gz file not .ttf, .otf
aks wrote:The setfont command (see man setfont)?

desertcat
Posts: 842
Joined: 2014/08/07 02:17:29
Location: Tucson, AZ

Re: Changing Font In CentOS 7

Post by desertcat » 2017/10/04 21:03:15

kodingwarrior wrote:I'm using CentOS7(Not Desktop mode or GUI Environment) and I want to change current font to another font.
For example, Fira Code, Consolas, Monaco, etc.

Is there any possible method????
In desktop mode, changing font is so easy.But, I'm using CentOS in CLI and default font gives me cancer, and it gives me much lower productivity :(
Assuming you want to change the font in CLI mode try this:

1) Start a konsole (or terminal)
2) At the very top locate SETTINGS and click on it.
3) A drop down menu will appears and click on EDIT CURRENT PROFILE
4) A window will appear. Click on APPEARANCE
5) Here at the very top you can select background etc, at the BOTTOM you will see FONT here is where you can select the Font Type you want to use, Text Size. Click on Select Font. Another window will open.
6) Along the top you will see a list of Fonts, Font Style, Size. Make your selection and hit OK.
7) This will take you back to the previous window. Click on APPLY, which will then grey out, then click on OK.
8) Close the konsole (or terminal) and then restart it to see your selections take effect.

Post Reply