You are not logged in.
Pages: 1
Hi,
I'm trying to set the tty font (powerline patched) via /etc/vconsole.conf, but it only works for a short while while booting, and gets overridden somewhere in the boot process.
What I've verified so far:
0. Set the font in /etc/vconsole.conf:
# Written by systemd-localed(8) or systemd-firstboot(1), read by systemd-localed
# and systemd-vconsole-setup(8). Use localectl(1) to update this file.
KEYMAP=pl2
FONT=ter-powerline-v32n
XKBLAYOUT=pl
1. setfont ter-powerline-v32n works (only for the current boot)
2. /usr/share/kbd/consolefonts has my font
-rw-r--r-- 1 root root 5929 Mar 11 22:16 /usr/share/kbd/consolefonts/ter-powerline-v32n.psf.gz
3. /etc/mkinicpio.conf has the consolefont hook
HOOKS=(base udev autodetect keyboard keymap consolefont modconf block encrypt filesystems fsck)
3.1. And I've regenerated the UKI
4. `journalctl -b` - didn't find anything useful - https://bpa.st/E43A
Any ideas? Read through the wiki topic, didn't find anything that would help here.
Last edited by szczot3k (2024-04-08 17:01:02)
Offline
a short while while booting, and gets overridden somewhere in the boot process
More when the initramfs transitions to the installed system or when agetty starts (right before you get to login - or maybe even only afterwards)?
Anything for
grep -r setfont /etc/systemd/system/
Offline
it seems like it's happening when initramfs transitions to the installed system (there's still a ~second of delay before I can login) but also could be when agetty starts
grepping /etc/systemd/system/ for setfont yields nothing
Offline
So vconsole is applied (through the consolefont hook) in the initramfs but not to the installed system - that's kinda the opposite of what one might expect.
What happens if you remove /etc/vconsole.conf (but don't rebuild the initramfs)?
Do you have https://wiki.archlinux.org/title/Kernel … _KMS_start ?
Or does the framebuffer resolution change after the initramfs?
Offline
turns out adding a kms hook into mkinitcpio helped - the framebuffer resolution did in fact change after the initramfs, and now I'm pretty sure that I was just taking it for "applying the wrong font", thank you so much, that was a dumb mistake!
Offline
Pages: 1