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 do I change the font size of SystemD as it loads?

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
vmclark
Posts: 186
Joined: 2008-07-30 15:16
Has thanked: 1 time

Re: How do I change the font size of SystemD as it loads?

#1 Post by vmclark »

I think your referring to resolution and not the font size.

ibrahim
Posts: 2
Joined: 2021-10-25 10:30

Re: How do I change the font size of SystemD as it loads?

#2 Post by ibrahim »

Yes it is related to resolution.

User avatar
abu_bua
Posts: 22
Joined: 2022-02-25 19:30
Has thanked: 13 times
Been thanked: 4 times

Re: How do I change the font size of SystemD as it loads?

#3 Post by abu_bua »

Since you use a console you can change the console font size. Take a look at the manual page console-setup(5)

Code: Select all

man console-setup
The file console-setup specifies the encoding and the font to be used by setupcon(1) in order
to setup the console. It can be used also to specify the keyboard layout but it is not recommended
to do so, use keyboard(5) instead.

The font specification consists of three parameters - codeset, font face and font size. The
codeset specifies what characters will be supported by the font.

......

FONTFACE and FONTSIZE
Valid font faces are: VGA (sizes 8x8, 8x14, 8x16, 16x28 and 16x32), Terminus (sizes
6x12, 8x14, 8x16, 10x20, 12x24, 14x28 and 16x32), TerminusBold (sizes 8x14, 8x16,
10x20, 12x24, 14x28 and 16x32), TerminusBoldVGA (sizes 8x14 and 8x16), and Fixed (sizes
8x13, 8x14, 8x15, 8x16 and 8x18). If however CODESET=Ethiopian, then the available
font faces are Goha and GohaClassic, each in sizes 8x12, 8x14 and 8x16.

Set FONTFACE and FONTSIZE to empty strings if you want to configure only the keyboard
and to leave the console font unchanged.
The configuration file can be found in /etc/default/console-setup and looks like

Code: Select all

 
# CONFIGURATION FILE FOR SETUPCON

# Consult the console-setup(5) manual page.

ACTIVE_CONSOLES="/dev/tty[1-6]"

CHARMAP="ISO-8859-15"

CODESET="guess"
FONTFACE="Fixed"
FONTSIZE="8x16"

VIDEOMODE=

# The following is an example how to use a braille font
# FONT='lat9w-08.psf.gz brl-8x8.psf'
Change the size to a supported one and reboot.

You can also change the font-size menu-driven using the perl script dpkg-reconfigure provided by the dpkg repo:

Code: Select all

sudo dpkg-reconfigure console-setup 

User avatar
canci
Global Moderator
Global Moderator
Posts: 2497
Joined: 2006-09-24 11:28
Has thanked: 135 times
Been thanked: 134 times

Re: How do I change the font size of SystemD as it loads?

#4 Post by canci »

vmclark wrote: 2021-10-14 16:04 I think your referring to resolution and not the font size.
How do you know what they think? They might be thinking about the font size that is changeable with console-setup. In the age of kernel modesetting and flat screens, suggesting to a user to change resolutions when what they actually really mean is font size, is puzzling to me.
Image Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe

READ THIS:

* How to Post a Thread Here
* Other Tips and Great Resources

Post Reply