You are not logged in.

#1 2008-02-26 12:13:25

HyperBaton
Member
From: Belgium
Registered: 2008-01-18
Posts: 207

How can I set the virtual console font?

I've just setup fonts in X, but now I want to use the Terminus font in the virtual consoles as well. I know I have to change my rc.conf CONSOLEFONT variable (which is set to nothing at the moment, just like CONSOLEMAP), but to what do I have to change it? There are like a million Terminus fonts in /usr/share/kbd/consolefonts/ :

-rw-r--r-- 1 root root 1706 2007-02-20 23:00 ter-112n.psf.gz
-rw-r--r-- 1 root root 1828 2007-02-20 23:00 ter-114b.psf.gz
-rw-r--r-- 1 root root 1821 2007-02-20 23:00 ter-114f.psf.gz
-rw-r--r-- 1 root root 1824 2007-02-20 23:00 ter-114n.psf.gz
-rw-r--r-- 1 root root 1858 2007-02-20 23:00 ter-116b.psf.gz
-rw-r--r-- 1 root root 1856 2007-02-20 23:00 ter-116f.psf.gz
-rw-r--r-- 1 root root 1856 2007-02-20 23:00 ter-116n.psf.gz
-rw-r--r-- 1 root root 2354 2007-02-20 23:00 ter-120b.psf.gz
-rw-r--r-- 1 root root 2326 2007-02-20 23:00 ter-120n.psf.gz
-rw-r--r-- 1 root root 2607 2007-02-20 23:00 ter-124b.psf.gz
-rw-r--r-- 1 root root 2570 2007-02-20 23:00 ter-124n.psf.gz
-rw-r--r-- 1 root root 2876 2007-02-20 23:00 ter-128b.psf.gz
-rw-r--r-- 1 root root 2808 2007-02-20 23:00 ter-128n.psf.gz
-rw-r--r-- 1 root root 2965 2007-02-20 23:00 ter-132b.psf.gz
-rw-r--r-- 1 root root 2981 2007-02-20 23:00 ter-132n.psf.gz
-rw-r--r-- 1 root root 1675 2007-02-20 23:00 ter-212n.psf.gz
-rw-r--r-- 1 root root 1827 2007-02-20 23:00 ter-214b.psf.gz
-rw-r--r-- 1 root root 1821 2007-02-20 23:00 ter-214f.psf.gz
-rw-r--r-- 1 root root 1803 2007-02-20 23:00 ter-214n.psf.gz
-rw-r--r-- 1 root root 1860 2007-02-20 23:00 ter-216b.psf.gz
-rw-r--r-- 1 root root 1842 2007-02-20 23:00 ter-216f.psf.gz
-rw-r--r-- 1 root root 1837 2007-02-20 23:00 ter-216n.psf.gz
-rw-r--r-- 1 root root 2283 2007-02-20 23:00 ter-220b.psf.gz
-rw-r--r-- 1 root root 2253 2007-02-20 23:00 ter-220n.psf.gz
-rw-r--r-- 1 root root 2509 2007-02-20 23:00 ter-224b.psf.gz
-rw-r--r-- 1 root root 2468 2007-02-20 23:00 ter-224n.psf.gz
-rw-r--r-- 1 root root 2756 2007-02-20 23:00 ter-228b.psf.gz
-rw-r--r-- 1 root root 2683 2007-02-20 23:00 ter-228n.psf.gz
-rw-r--r-- 1 root root 2826 2007-02-20 23:00 ter-232b.psf.gz
-rw-r--r-- 1 root root 2845 2007-02-20 23:00 ter-232n.psf.gz
-rw-r--r-- 1 root root 1704 2007-02-20 23:00 ter-912n.psf.gz
-rw-r--r-- 1 root root 1828 2007-02-20 23:00 ter-914b.psf.gz
-rw-r--r-- 1 root root 1828 2007-02-20 23:00 ter-914f.psf.gz
-rw-r--r-- 1 root root 1830 2007-02-20 23:00 ter-914n.psf.gz
-rw-r--r-- 1 root root 1858 2007-02-20 23:00 ter-916b.psf.gz
-rw-r--r-- 1 root root 1856 2007-02-20 23:00 ter-916f.psf.gz
-rw-r--r-- 1 root root 1861 2007-02-20 23:00 ter-916n.psf.gz
-rw-r--r-- 1 root root 2354 2007-02-20 23:00 ter-920b.psf.gz
-rw-r--r-- 1 root root 2323 2007-02-20 23:00 ter-920n.psf.gz
-rw-r--r-- 1 root root 2599 2007-02-20 23:00 ter-924b.psf.gz
-rw-r--r-- 1 root root 2566 2007-02-20 23:00 ter-924n.psf.gz
-rw-r--r-- 1 root root 2872 2007-02-20 23:00 ter-928b.psf.gz
-rw-r--r-- 1 root root 2804 2007-02-20 23:00 ter-928n.psf.gz
-rw-r--r-- 1 root root 2960 2007-02-20 23:00 ter-932b.psf.gz
-rw-r--r-- 1 root root 2978 2007-02-20 23:00 ter-932n.psf.gz
-rw-r--r-- 1 root root 1699 2007-02-20 23:00 ter-c12n.psf.gz
-rw-r--r-- 1 root root 1826 2007-02-20 23:00 ter-c14b.psf.gz
-rw-r--r-- 1 root root 1812 2007-02-20 23:00 ter-c14f.psf.gz
-rw-r--r-- 1 root root 1807 2007-02-20 23:00 ter-c14n.psf.gz
-rw-r--r-- 1 root root 1861 2007-02-20 23:00 ter-c16b.psf.gz
-rw-r--r-- 1 root root 1839 2007-02-20 23:00 ter-c16f.psf.gz
-rw-r--r-- 1 root root 1819 2007-02-20 23:00 ter-c16n.psf.gz
-rw-r--r-- 1 root root 2366 2007-02-20 23:00 ter-c20b.psf.gz
-rw-r--r-- 1 root root 2319 2007-02-20 23:00 ter-c20n.psf.gz
-rw-r--r-- 1 root root 2628 2007-02-20 23:00 ter-c24b.psf.gz
-rw-r--r-- 1 root root 2576 2007-02-20 23:00 ter-c24n.psf.gz
-rw-r--r-- 1 root root 2893 2007-02-20 23:00 ter-c28b.psf.gz
-rw-r--r-- 1 root root 2785 2007-02-20 23:00 ter-c28n.psf.gz
-rw-r--r-- 1 root root 2951 2007-02-20 23:00 ter-c32b.psf.gz
-rw-r--r-- 1 root root 2980 2007-02-20 23:00 ter-c32n.psf.gz
-rw-r--r-- 1 root root 1709 2007-02-20 23:00 ter-d12n.psf.gz
-rw-r--r-- 1 root root 1859 2007-02-20 23:00 ter-d14b.psf.gz
-rw-r--r-- 1 root root 1851 2007-02-20 23:00 ter-d14f.psf.gz
-rw-r--r-- 1 root root 1816 2007-02-20 23:00 ter-d14n.psf.gz
-rw-r--r-- 1 root root 1885 2007-02-20 23:00 ter-d16b.psf.gz
-rw-r--r-- 1 root root 1877 2007-02-20 23:00 ter-d16f.psf.gz
-rw-r--r-- 1 root root 1862 2007-02-20 23:00 ter-d16n.psf.gz
-rw-r--r-- 1 root root 2360 2007-02-20 23:00 ter-d20b.psf.gz
-rw-r--r-- 1 root root 2326 2007-02-20 23:00 ter-d20n.psf.gz
-rw-r--r-- 1 root root 2605 2007-02-20 23:00 ter-d24b.psf.gz
-rw-r--r-- 1 root root 2556 2007-02-20 23:00 ter-d24n.psf.gz
-rw-r--r-- 1 root root 2885 2007-02-20 23:00 ter-d28b.psf.gz
-rw-r--r-- 1 root root 2800 2007-02-20 23:00 ter-d28n.psf.gz
-rw-r--r-- 1 root root 2968 2007-02-20 23:00 ter-d32b.psf.gz
-rw-r--r-- 1 root root 2974 2007-02-20 23:00 ter-d32n.psf.gz
-rw-r--r-- 1 root root 1662 2007-02-20 23:00 ter-g12n.psf.gz
-rw-r--r-- 1 root root 1814 2007-02-20 23:00 ter-g14b.psf.gz
-rw-r--r-- 1 root root 1809 2007-02-20 23:00 ter-g14f.psf.gz
-rw-r--r-- 1 root root 1804 2007-02-20 23:00 ter-g14n.psf.gz
-rw-r--r-- 1 root root 1851 2007-02-20 23:00 ter-g16b.psf.gz
-rw-r--r-- 1 root root 1844 2007-02-20 23:00 ter-g16f.psf.gz
-rw-r--r-- 1 root root 1833 2007-02-20 23:00 ter-g16n.psf.gz
-rw-r--r-- 1 root root 2260 2007-02-20 23:00 ter-g20b.psf.gz
-rw-r--r-- 1 root root 2230 2007-02-20 23:00 ter-g20n.psf.gz
-rw-r--r-- 1 root root 2505 2007-02-20 23:00 ter-g24b.psf.gz
-rw-r--r-- 1 root root 2470 2007-02-20 23:00 ter-g24n.psf.gz
-rw-r--r-- 1 root root 2751 2007-02-20 23:00 ter-g28b.psf.gz
-rw-r--r-- 1 root root 2670 2007-02-20 23:00 ter-g28n.psf.gz
-rw-r--r-- 1 root root 2808 2007-02-20 23:00 ter-g32b.psf.gz
-rw-r--r-- 1 root root 2812 2007-02-20 23:00 ter-g32n.psf.gz
-rw-r--r-- 1 root root 1808 2007-02-20 23:00 ter-i12n.psf.gz
-rw-r--r-- 1 root root 1908 2007-02-20 23:00 ter-i14b.psf.gz
-rw-r--r-- 1 root root 1904 2007-02-20 23:00 ter-i14f.psf.gz
-rw-r--r-- 1 root root 1885 2007-02-20 23:00 ter-i14n.psf.gz
-rw-r--r-- 1 root root 1942 2007-02-20 23:00 ter-i16b.psf.gz
-rw-r--r-- 1 root root 1938 2007-02-20 23:00 ter-i16f.psf.gz
-rw-r--r-- 1 root root 1914 2007-02-20 23:00 ter-i16n.psf.gz
-rw-r--r-- 1 root root 2494 2007-02-20 23:00 ter-i20b.psf.gz
-rw-r--r-- 1 root root 2445 2007-02-20 23:00 ter-i20n.psf.gz
-rw-r--r-- 1 root root 2751 2007-02-20 23:00 ter-i24b.psf.gz
-rw-r--r-- 1 root root 2688 2007-02-20 23:00 ter-i24n.psf.gz
-rw-r--r-- 1 root root 3052 2007-02-20 23:00 ter-i28b.psf.gz
-rw-r--r-- 1 root root 2962 2007-02-20 23:00 ter-i28n.psf.gz
-rw-r--r-- 1 root root 3128 2007-02-20 23:00 ter-i32b.psf.gz
-rw-r--r-- 1 root root 3160 2007-02-20 23:00 ter-i32n.psf.gz
-rw-r--r-- 1 root root 1729 2007-02-20 23:00 ter-k12n.psf.gz
-rw-r--r-- 1 root root 1827 2007-02-20 23:00 ter-k14b.psf.gz
-rw-r--r-- 1 root root 1825 2007-02-20 23:00 ter-k14f.psf.gz
-rw-r--r-- 1 root root 1800 2007-02-20 23:00 ter-k14n.psf.gz
-rw-r--r-- 1 root root 1856 2007-02-20 23:00 ter-k16b.psf.gz
-rw-r--r-- 1 root root 1859 2007-02-20 23:00 ter-k16f.psf.gz
-rw-r--r-- 1 root root 1818 2007-02-20 23:00 ter-k16n.psf.gz
-rw-r--r-- 1 root root 2396 2007-02-20 23:00 ter-k20b.psf.gz
-rw-r--r-- 1 root root 2334 2007-02-20 23:00 ter-k20n.psf.gz
-rw-r--r-- 1 root root 2679 2007-02-20 23:00 ter-k24b.psf.gz
-rw-r--r-- 1 root root 2601 2007-02-20 23:00 ter-k24n.psf.gz
-rw-r--r-- 1 root root 2898 2007-02-20 23:00 ter-k28b.psf.gz
-rw-r--r-- 1 root root 2823 2007-02-20 23:00 ter-k28n.psf.gz
-rw-r--r-- 1 root root 2984 2007-02-20 23:00 ter-k32b.psf.gz
-rw-r--r-- 1 root root 3007 2007-02-20 23:00 ter-k32n.psf.gz
-rw-r--r-- 1 root root 1780 2007-02-20 23:00 ter-m12n.psf.gz
-rw-r--r-- 1 root root 1882 2007-02-20 23:00 ter-m14b.psf.gz
-rw-r--r-- 1 root root 1868 2007-02-20 23:00 ter-m14f.psf.gz
-rw-r--r-- 1 root root 1839 2007-02-20 23:00 ter-m14n.psf.gz
-rw-r--r-- 1 root root 1918 2007-02-20 23:00 ter-m16b.psf.gz
-rw-r--r-- 1 root root 1906 2007-02-20 23:00 ter-m16f.psf.gz
-rw-r--r-- 1 root root 1881 2007-02-20 23:00 ter-m16n.psf.gz
-rw-r--r-- 1 root root 2474 2007-02-20 23:00 ter-m20b.psf.gz
-rw-r--r-- 1 root root 2425 2007-02-20 23:00 ter-m20n.psf.gz
-rw-r--r-- 1 root root 2743 2007-02-20 23:00 ter-m24b.psf.gz
-rw-r--r-- 1 root root 2677 2007-02-20 23:00 ter-m24n.psf.gz
-rw-r--r-- 1 root root 3018 2007-02-20 23:00 ter-m28b.psf.gz
-rw-r--r-- 1 root root 2931 2007-02-20 23:00 ter-m28n.psf.gz
-rw-r--r-- 1 root root 3108 2007-02-20 23:00 ter-m32b.psf.gz
-rw-r--r-- 1 root root 3148 2007-02-20 23:00 ter-m32n.psf.gz
-rw-r--r-- 1 root root 1701 2007-02-20 23:00 ter-p12n.psf.gz
-rw-r--r-- 1 root root 1824 2007-02-20 23:00 ter-p14b.psf.gz
-rw-r--r-- 1 root root 1808 2007-02-20 23:00 ter-p14f.psf.gz
-rw-r--r-- 1 root root 1803 2007-02-20 23:00 ter-p14n.psf.gz
-rw-r--r-- 1 root root 1848 2007-02-20 23:00 ter-p16b.psf.gz
-rw-r--r-- 1 root root 1830 2007-02-20 23:00 ter-p16f.psf.gz
-rw-r--r-- 1 root root 1823 2007-02-20 23:00 ter-p16n.psf.gz
-rw-r--r-- 1 root root 2324 2007-02-20 23:00 ter-p20b.psf.gz
-rw-r--r-- 1 root root 2277 2007-02-20 23:00 ter-p20n.psf.gz
-rw-r--r-- 1 root root 2615 2007-02-20 23:00 ter-p24b.psf.gz
-rw-r--r-- 1 root root 2576 2007-02-20 23:00 ter-p24n.psf.gz
-rw-r--r-- 1 root root 2876 2007-02-20 23:00 ter-p28b.psf.gz
-rw-r--r-- 1 root root 2777 2007-02-20 23:00 ter-p28n.psf.gz
-rw-r--r-- 1 root root 2939 2007-02-20 23:00 ter-p32b.psf.gz
-rw-r--r-- 1 root root 2970 2007-02-20 23:00 ter-p32n.psf.gz
-rw-r--r-- 1 root root 1736 2007-02-20 23:00 ter-u12n.psf.gz
-rw-r--r-- 1 root root 1837 2007-02-20 23:00 ter-u14b.psf.gz
-rw-r--r-- 1 root root 1837 2007-02-20 23:00 ter-u14f.psf.gz
-rw-r--r-- 1 root root 1814 2007-02-20 23:00 ter-u14n.psf.gz
-rw-r--r-- 1 root root 1873 2007-02-20 23:00 ter-u16b.psf.gz
-rw-r--r-- 1 root root 1868 2007-02-20 23:00 ter-u16f.psf.gz
-rw-r--r-- 1 root root 1830 2007-02-20 23:00 ter-u16n.psf.gz
-rw-r--r-- 1 root root 2409 2007-02-20 23:00 ter-u20b.psf.gz
-rw-r--r-- 1 root root 2357 2007-02-20 23:00 ter-u20n.psf.gz
-rw-r--r-- 1 root root 2692 2007-02-20 23:00 ter-u24b.psf.gz
-rw-r--r-- 1 root root 2621 2007-02-20 23:00 ter-u24n.psf.gz
-rw-r--r-- 1 root root 2914 2007-02-20 23:00 ter-u28b.psf.gz
-rw-r--r-- 1 root root 2837 2007-02-20 23:00 ter-u28n.psf.gz
-rw-r--r-- 1 root root 2999 2007-02-20 23:00 ter-u32b.psf.gz
-rw-r--r-- 1 root root 3027 2007-02-20 23:00 ter-u32n.psf.gz
-rw-r--r-- 1 root root 3581 2007-02-20 23:00 ter-v12n.psf.gz
-rw-r--r-- 1 root root 3731 2007-02-20 23:00 ter-v14b.psf.gz
-rw-r--r-- 1 root root 3710 2007-02-20 23:00 ter-v14f.psf.gz
-rw-r--r-- 1 root root 3677 2007-02-20 23:00 ter-v14n.psf.gz
-rw-r--r-- 1 root root 3813 2007-02-20 23:00 ter-v16b.psf.gz
-rw-r--r-- 1 root root 3791 2007-02-20 23:00 ter-v16f.psf.gz
-rw-r--r-- 1 root root 3755 2007-02-20 23:00 ter-v16n.psf.gz
-rw-r--r-- 1 root root 4746 2007-02-20 23:00 ter-v20b.psf.gz
-rw-r--r-- 1 root root 4660 2007-02-20 23:00 ter-v20n.psf.gz
-rw-r--r-- 1 root root 5213 2007-02-20 23:00 ter-v24b.psf.gz
-rw-r--r-- 1 root root 5131 2007-02-20 23:00 ter-v24n.psf.gz
-rw-r--r-- 1 root root 5665 2007-02-20 23:00 ter-v28b.psf.gz
-rw-r--r-- 1 root root 5542 2007-02-20 23:00 ter-v28n.psf.gz
-rw-r--r-- 1 root root 5845 2007-02-20 23:00 ter-v32b.psf.gz
-rw-r--r-- 1 root root 5901 2007-02-20 23:00 ter-v32n.psf.gz

Offline

#2 2008-02-26 15:30:31

stojic
Member
From: Zagreb, Croatia
Registered: 2008-02-24
Posts: 51

Re: How can I set the virtual console font?

You can try out fonts out with setfont, for example (as root on console):

setfont ter-114f

That font is also the one I use, because it is about the same size as the default one (and isn't thin like ter-114n).

Offline

#3 2008-02-26 22:00:33

HyperBaton
Member
From: Belgium
Registered: 2008-01-18
Posts: 207

Re: How can I set the virtual console font?

Thanks! That did the trick.

Offline

#4 2008-12-27 10:26:37

listdata
Member
Registered: 2008-12-23
Posts: 102
Website

Re: How can I set the virtual console font?

stojic wrote:

You can try out fonts out with setfont, for example (as root on console):

setfont ter-114f

That font is also the one I use, because it is about the same size as the default one (and isn't thin like ter-114n).

This works very well, but how do I make it so that it keeps these settings next time I reboot? (Or, to make it execute this command each time before I log in to my desktop environment?)

Offline

#5 2008-12-27 10:36:46

string
Member
Registered: 2008-11-03
Posts: 286

Re: How can I set the virtual console font?

CONSOLEFONT="ter-114f" in /etc/rc.conf ?

Offline

#6 2008-12-27 21:57:32

listdata
Member
Registered: 2008-12-23
Posts: 102
Website

Re: How can I set the virtual console font?

string wrote:

CONSOLEFONT="ter-114f" in /etc/rc.conf ?

Hey, that worked! (Although, it only changes the font like 1/2 way through the booting process; if only there's a way to make Arch spit out all the boot messages, from the beginning, in Terminus -- that would be even better).

Offline

#7 2008-12-27 23:00:05

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: How can I set the virtual console font?

Put it in rc.local perhaps.

Offline

#8 2008-12-28 00:50:58

listdata
Member
Registered: 2008-12-23
Posts: 102
Website

Re: How can I set the virtual console font?

MoonSwan wrote:

Put it in rc.local perhaps.

It didn't work. hmm

Offline

#9 2008-12-28 00:59:34

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: How can I set the virtual console font?

Here's an idea:

1) Make sure that mkinitcpio.conf is configured to include keymap hook; regenerate boot images.
2) add "loglevel=0 quiet" to kernel boot line in /boot/grub/menu.lst

This should suppress all kernel messages and the only output Arch init stuff.  Since the font will be loaded from the boot image everything that's displayed should use the same font.  I never tried this, but in theory this should work.

Offline

#10 2008-12-28 05:29:43

listdata
Member
Registered: 2008-12-23
Posts: 102
Website

Re: How can I set the virtual console font?

fwojciec wrote:

Here's an idea:

1) Make sure that mkinitcpio.conf is configured to include keymap hook; regenerate boot images.
2) add "loglevel=0 quiet" to kernel boot line in /boot/grub/menu.lst

This should suppress all kernel messages and the only output Arch init stuff.  Since the font will be loaded from the boot image everything that's displayed should use the same font.  I never tried this, but in theory this should work.

Well, I actually like seeing all those kernel messages before Arch takes over and gets into /etc/rc.conf, etc. Maybe what I'm searching for is a little too much.

Offline

#11 2008-12-28 09:20:36

string
Member
Registered: 2008-11-03
Posts: 286

Re: How can I set the virtual console font?

I think you might find that making "everything" appear in terminus font might turn out to be a not so trivial task. If I were you I'd stick to what I .. erh .. you .. currently have.

Last edited by string (2008-12-28 09:21:20)

Offline

#12 2008-12-28 13:46:40

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: How can I set the virtual console font?

Rebuild the initcpio with the new font and it will appear a bit earlier.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#13 2008-12-29 03:49:43

listdata
Member
Registered: 2008-12-23
Posts: 102
Website

Re: How can I set the virtual console font?

Mr.Elendig wrote:

Rebuild the initcpio with the new font and it will appear a bit earlier.

This is beyond me... neutral

Offline

#14 2009-03-09 09:22:20

listdata
Member
Registered: 2008-12-23
Posts: 102
Website

Re: How can I set the virtual console font?

I just wanted to say that, since about 1 or 2 months ago, Arch loads up the CONSOLEFONT environment variable much, much earlier up in the startup/boot process. (I see my beloved Terminus font in just a few quick seconds after bootup). So I'm more or less very happy with the way it is now. smile

Offline

#15 2009-03-09 20:21:11

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: How can I set the virtual console font?

listdata wrote:

I just wanted to say that, since about 1 or 2 months ago, Arch loads up the CONSOLEFONT environment variable much, much earlier up in the startup/boot process. (I see my beloved Terminus font in just a few quick seconds after bootup). So I'm more or less very happy with the way it is now. smile

Heh.. you know why smile (tip: when you install a new kernel package, mkinitcpio is run)


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#16 2009-03-10 23:09:50

listdata
Member
Registered: 2008-12-23
Posts: 102
Website

Re: How can I set the virtual console font?

Dieter@be wrote:
listdata wrote:

I just wanted to say that, since about 1 or 2 months ago, Arch loads up the CONSOLEFONT environment variable much, much earlier up in the startup/boot process. (I see my beloved Terminus font in just a few quick seconds after bootup). So I'm more or less very happy with the way it is now. smile

Heh.. you know why smile (tip: when you install a new kernel package, mkinitcpio is run)

Cool, thanks for the heads up. It says in the wiki pages that the keymap hook takes the CONSOLEFONT variable from /etc/rc.conf and enables it early on in userspace. Neat. smile

Offline

Board footer

Powered by FluxBB