You are not logged in.

#1 2014-08-09 20:09:33

chord
Member
Registered: 2012-11-07
Posts: 121

[Solved] console font issue

Hi there!
Can't get terminus-font in console
I installed terminus-font, and renamed it as it described at wiki:
cp /usr/share/kbd/consolefonts/ter-v14n.psf.gz /usr/share/kbd/consolefonts/ter-v14n.psfu.gz

FONT="ter-v14n" string added to /etc/vconsole.conf
"consolefont" hook added to mkinitcpio hooks list, mkinitcpio rebuilt.

But after reboot I still have a default font.
During boot I can see that font switches to terminus but at login prompt it switches back to default font.
I think font itself is ok: I can switch to terminus manually by running 'setfont ter-v14n' and it works fine. But it so boring to do it on every boot...

Where am I wrong?
Thanks in advance.

Last edited by chord (2014-08-10 00:15:25)

Offline

#2 2014-08-09 20:18:39

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,548
Website

Re: [Solved] console font issue

chord wrote:

renamed it as it described at wiki:
cp /usr/share/kbd/consolefonts/ter-v14n.psf.gz /usr/share/kbd/consolefonts/ter-v14n.psfu.gz

What??  Which wiki page is that from (link please).  Unless this is something brand new, that is not needed and just seems like a bad idea.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2014-08-09 21:56:44

chord
Member
Registered: 2012-11-07
Posts: 121

Re: [Solved] console font issue

Trilby, I found it as a search result from main arch wiki page: https://wiki.archlinux.org/
Type 'terminus' at search box and hit enter. Seventh link leads to the page I used. It was a first link relevant to my problem, so I used it.

Nevertheless, it should work, regardless how many fonts/files I have under usr/share/kbd/consolefonts directory. Appropriate font should be picked up an used. In fact, I see terminus font during boot, but for unknown reason it switches back to default at login prompt. Have you any idea on why it occurs?

P.S.
Once I will get a problem fixed I will remove one of these two files.

Last edited by chord (2014-08-09 21:57:47)

Offline

#4 2014-08-09 21:59:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] console font issue

What graphics driver are you using? It it's intel or nouveau, do you have it in MODULES in mkinitcpio.conf?


Edit: Is it https://wiki.archlinux.org/index.php/In … %B8%D0%B9) ?

Last edited by karol (2014-08-09 22:02:00)

Offline

#5 2014-08-09 22:08:39

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,548
Website

Re: [Solved] console font issue

Perhaps Karol can review that wiki page (that is Polish, right).  But that cp command doesn't make any sense to me.  It is certainly not needed for me to use terminus, and simply renaming a font file would not provide any additional symbols/accents that might be needed for internationalization.

EDIT: sorry, pardon my ignorance.  I thought one of the bits as I was looking up that thread said Polish - I guess not.

Last edited by Trilby (2014-08-09 22:59:09)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2014-08-09 22:27:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] console font issue

That's Russian and I'd rather not touch non-English pages. I barely have to time to fix the English ones, so spreading myself thinner isn't going to help.
https://en.wikipedia.org/wiki/Cyrillic_script

Google translated the part about the cp command as

In this case, after the installation of many of the fonts, for example, terminus, font files, and even get there automatically, but are unsupported extension psf.gz. To a certain variable CONSOLEFONT font was found, rename the font file to its expansion was psfu.gz.

That's not true - at least not anymore. Maybe it once was <shrugs>

$ cat /etc/vconsole.conf
FONT=ter-v16n
FONT_MAP=8859-2
KEYMAP=pl2
$ ls -l /usr/share/kbd/consolefonts/ter-*.psfu.gz
$ ls -l /usr/share/kbd/consolefonts/ter-v16n.psf.gz
-rw-r--r-- 1 3.7K May  8 16:33 /usr/share/kbd/consolefonts/ter-v16n.psf.gz

Look, Ma, no psfu.gz files!


Edit: Quick rm https://wiki.archlinux.org/index.php?ti … did=316040

Last edited by karol (2014-08-09 22:46:15)

Offline

#7 2014-08-10 00:03:44

chord
Member
Registered: 2012-11-07
Posts: 121

Re: [Solved] console font issue

Yeah, seems it is in russian. Though this pages looks like edited not so far - three months ago.

@karol
I have ati video card, radeon driver loaded.
I read somewhere that for ati cards radeon driver should be loaded before consolefont starts, but can't remember where this info was read and how to reproduce it.

P.S.
I think I've remembered - mkinitcpio.conf has a "module" section, I'll try to add radeon to it.

Last edited by chord (2014-08-10 00:06:19)

Offline

#8 2014-08-10 00:14:53

chord
Member
Registered: 2012-11-07
Posts: 121

Re: [Solved] console font issue

Yes, it is, radeon should be added to modules for loading before consolefont hook.
It works.

Thanks for reminder that my video card is ati smile

Offline

#9 2014-08-10 22:31:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] console font issue

chord wrote:

I read somewhere that for ati cards radeon driver should be loaded before consolefont starts, but can't remember where this info was read and how to reproduce it.

https://bbs.archlinux.org/viewtopic.php … 3#p1445373
I did ask you about MODULES line in mkinitcpio.conf :-)

Offline

Board footer

Powered by FluxBB