You are not logged in.

#1 2008-01-25 09:06:23

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

setting console font (way) earlier [solved]

I'm setting terminus ter-v20b as console font on a 1280x800 LCD with a 1024x768 vesafb resolution set. this is one of the most legible, pretty and not fugly given the flat panel scaling.

but one 'issue' remains. when I boot, by the time the font gets set by rc the tex above has been displayed with the default font, and it lasts some damn time. while I could care less about the previous point, I'm not caring less about the fact that when the font is set a huge gaping hole is left in the middle of my rc output.

so I was wondering if there was some way to set ter-v20b much earlier (maybe with a hook) which would take care of both points at once, since I'm running with 'quiet' kernel parameter (so the kernel outputs basically nil and one of the first things spit out is hook parsing...)

PS: I do (re)boot often, because of very mobile laptop usage, and I'm not yet able to trust 100% s2r and s2d.

Last edited by lloeki (2008-01-25 09:22:43)


To know recursion, you must first know recursion.

Offline

#2 2008-01-25 09:24:37

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: setting console font (way) earlier [solved]

answering to myself:

by sheer luck while investigating how to create a hook, I stumbled upon the keymap hook, and noticed it will set font too...

so the solution is to add keymap hook right after base hook, rebuild initcpio with mkinitcpio -p kernel26, and reboot.

Last edited by lloeki (2008-01-25 09:25:52)


To know recursion, you must first know recursion.

Offline

#3 2008-01-25 14:03:48

dunc
Member
From: Glasgow, UK
Registered: 2007-06-18
Posts: 559

Re: setting console font (way) earlier [solved]

Cool. smile That's been bothering me for a while too. Not enough to try and find a fix myself, but thanks for posting.


0 Ok, 0:1

Offline

Board footer

Powered by FluxBB