Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to change the font size in the console

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
andy55
Posts: 84
Joined: 2012-08-20 12:59

How to change the font size in the console

#1 Post by andy55 »

Hello,

I have Debian 10. Once I click ENTER in GRUB the system starts booting but with really tiny console fonts and it is really difficult to read them. How do I change their size to something bigger ?

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 461 times

Re: How to change the font size in the console

#2 Post by sunrat »

Try (as root or sudo):

Code: Select all

dpkg-reconfigure console-setup
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

andy55
Posts: 84
Joined: 2012-08-20 12:59

Re: How to change the font size in the console

#3 Post by andy55 »

For bigger fonts do I need to have fb configured ?


arid
Posts: 135
Joined: 2014-05-08 18:40
Location: Aridzona
Has thanked: 3 times
Been thanked: 1 time

Re: How to change the font size in the console

#5 Post by arid »

Once I click ENTER in GRUB
First things first.

Why are you clicking in grub? Login screen maybe but grub?

Looks like you are describing all the boot sequences flying on by.

I'm really old and don't wear glasses but I can read it all just fine :mrgreen:

That grub font is adjustable in a number of ways.

I know you can find how on your own.

.
There's no drama in my sid......

andy55
Posts: 84
Joined: 2012-08-20 12:59

Re: How to change the font size in the console

#6 Post by andy55 »

arochester wrote:What do you mean by "the console"?

https://en.wikipedia.org/wiki/Linux_console
I mean the console not terminal. The console which is on the screen before the xwindow gets loaded.

andy55
Posts: 84
Joined: 2012-08-20 12:59

Re: How to change the font size in the console

#7 Post by andy55 »

I have encrypted disk and just after GRUB it asks for password. The fonts are tiny while typing password. Is there any way I can enlarge them ?

tynman
Posts: 131
Joined: 2016-05-03 19:48
Location: British Columbia, Canada
Been thanked: 1 time

Re: How to change the font size in the console

#8 Post by tynman »

You may be able to adjust the console font size by modifying this file: /etc/default/console-setup

YMMV

For some information on how it works, use

Code: Select all

man console-setup
Sorry I can't offer more detailed information, but perhaps this will help...

andy55
Posts: 84
Joined: 2012-08-20 12:59

Re: How to change the font size in the console

#9 Post by andy55 »

Thanks a lot !

GPWR
Posts: 92
Joined: 2021-11-26 14:57
Has thanked: 12 times
Been thanked: 3 times

Re: How to change the font size in the console

#10 Post by GPWR »

tynman wrote: 2021-04-26 03:37 You may be able to adjust the console font size by modifying this file: /etc/default/console-setup

YMMV

For some information on how it works, use

Code: Select all

man console-setup
Sorry I can't offer more detailed information, but perhaps this will help...
Sorry for barging in one year later…

Changing the console font doesn't seem like much of a hassle, given tynman's solution. However, if ever I do mess up, as is the case fifty percent of the time I do something that's supposed to be easy, will Debian ignore an invalid font entry, or will I just not see the console text next time I boot?

Other question: Does booting Debian in recovery mode make the console use the default font, or the one set in /etc/default/console-setup? In other words, does booting Debian in recovery mode have it ignore the console configuration and just boot as though it was never touched?

I'm asking because some special characters don't show up when using the default console font, and I use the console a lot when I don't feel like launching my DE, which happens from time to time. Rainy days, you know.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: How to change the font size in the console

#11 Post by Head_on_a_Stick »

GPWR wrote: 2022-05-22 12:26if ever I do mess up, as is the case fifty percent of the time I do something that's supposed to be easy, will Debian ignore an invalid font entry, or will I just not see the console text next time I boot?
Try it and see :mrgreen:

But seriously, the correct solution was given by @sunrat in the second post. Debian's configuration abstraction offers a menu selection to help prevent invalid entries.
deadbang

chamdarig
Posts: 1
Joined: 2022-08-24 13:14

Re: How to change the font size in the console

#12 Post by chamdarig »

tynman wrote: 2021-04-26 03:37 You may be able to adjust the console font size by modifying this file: /etc/default/console-setup

YMMV

For some information on how it works, use

Code: Select all

man console-setup
Sorry I can't offer more detailed information, but perhaps this will help...
Thank you for that!
I have updated the /etc/default/console-setup file to 16x32 and after the restart, terminal font looks perfect for my eyes :)
btw
man command is not working for me but I found details on that page:
https://manpages.debian.org/testing/con ... .5.en.html

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: How to change the font size in the console

#13 Post by Head_on_a_Stick »

chamdarig wrote: 2022-08-24 13:22 man command is not working for me
That doesn't sound good.
deadbang

Post Reply