You are not logged in.
Hi, on /usr/share/kbd/consolefonts I have the file:
Unifont-APL8x16-15.psf.gz
On /etc/vconsole.conf I have set:
FONT=Unifont-APL8x16-15
On /etc/mkinitcpio.conf I have add to my hooks:
consolefont
After the last step I did
sudo mkinitcpio -P
I rebooted
The font works, but I can see, for a brief moment, the font changing from the default one to what I defined.
Anyway to not make it possible to see happen?
Thanks.
Last edited by user11 (2023-12-18 08:51:15)
Offline
Is the consolefont hook placed early in the array? The hooks are run in order. This is why you should post the full configuration rather than excerpts and vague descriptions.
Jin, Jîyan, Azadî
Offline
Hi, thanks for replying.
I switched the consolefont hook to the first spot, but it's still the same thing.
Here's what's inside the /etc/mkinitcpio.conf file:
MODULES=(btrfs)
BINARIES=(/usr/bin/btrfs)
FILES=()
HOOKS=(consolefont base udev autodetect keyboard keymap modconf block filesystems fsck)Offline
Are you referring to the "Running early hooks" message (and a couple other lines) which are displayed during the boot process?
Offline
The base hook needs to go first.
I've just tested and this works for me (ie, the sun12x22 font is the first font that appears on the TTY, there is no switch):
~$ grep -v '^$\|^#' /etc/mkinitcpio.conf
MODULES=(amdgpu nvme btrfs)
BINARIES=(/usr/bin/setfont)
FILES=()
HOOKS=(base consolefont)
COMPRESSION="cat"
~$ cat /etc/vconsole.conf
KEYMAP=uk
FONT=sun12x22
~$Note the early KMS start for my (AMD) graphics card. Perhaps try that also?
Jin, Jîyan, Azadî
Offline
I see, thanks for all the info.
I tried to do with the base hook first and also with the early KMS start for my Intel (i915) graphics, but for the font I'm using (the GNU unifont adapted to the console format), it's still not working as I expect.
I'll just deal with it, I think.
Thanks for the support!
Offline