0

Using arch-linux with KDE plasma.

I would like to set my tty font to the ttf-hack font.

I added FONT=ttf-hack to /etc/vconsol.conf

And got no results. Actually I do not know what the right names for font and font_map are. Is there a command to list both? Is it possible at all, to use ttf fonts as tty output when not running a display server?

  • Do you have this font in your /usr/lib/kbd/consolefonts/ directory? If you do, reboot your machine, the file is initiated on boot. – deimos Jun 19 at 13:56
  • In fact I have no /usr/lib/kbd/ but kbd is located in /usr/share/kbd/ /usr/share/kbd/consolefonts does not have the font I want (Hack). These are in /usr/share/fonts/TTF Should I just copy them into the /kbd/consolefonts directory and add the font name to /etc/vconsol.conf ? How can I know what the correct font name is, which I would pass in vconsol.conf ? Would the name include the specifier "-Regular" and the ending .ttf? I tried some combinations, not success so far. – 2419 Jun 20 at 10:17
0

According to the ArchLinux wiki, you can list the compatible terminal fonts (for TTY) with the command:

ls -l /usr/share/kbd/consolefonts/ | grep -i ".psfu.gz"

To list all available fonts, you can do:

fc-list

And search for a font with:

fc-list | grep -i "font name"

I hope it will help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.