You are not logged in.
I recently bought a new high resolution monitor and added the line GRUB_GFXMODE=2560x1440 in /etc/default/grub. This works and I get a nice high resolution for the console, but then the kernel decides to use a larger (16x32) font (https://wiki.archlinux.org/title/Linux_console, "The kernel chooses the [font] to use based on its evaluation of the screen resolution.")
I don't know how to keep the default 8x16 font. I tried adding GRUB_CMDLINE_LINUX="fbcon=font:8x16" to /etc/default/grub, but it doesn't work.
Last edited by LudwigJ (2024-05-03 13:13:03)
Offline
You can set the font in /etc/vconsole.conf file like this:
FONT=ter-728n
but you need to know which font is used by default. You can find the installed fonts in /usr/share/kbd/consolefonts directory, and choose from them.
Also you can switch to a tty, login, and use "setfont" command to test some fonts:
https://man.archlinux.org/man/setfont.8
Offline
Sorry for the late response, that did the trick, thank you.
I still don't understand why the fbcon=font option in GRUB doesn't work, though.
Offline
I still don't understand why the fbcon=font option in GRUB doesn't work, though.
https://bbs.archlinux.org/viewtopic.php?id=275225
EDIT: sorry, that's not actually relevant, I didn't read the thread to the end.
I think you just need to set the name correctly so try something like
fbcon=font:VGA8x16
The list of accepted names is given in https://www.kernel.org/doc/Documentation/fb/fbcon.txt.
Last edited by Head_on_a_Stick (2024-05-04 18:11:53)
Para todos todo, para nosotros nada
Offline