Difference between revisions of "User:Thisoldman"

From ArchWiki
Jump to: navigation, search
(Example=)
Line 4: Line 4:
 
The default font used in the console and in virtual terminals uses the ASCII character set. To see To use other fonts change the {{Codeline|CONSOLEFONT}} and {{Codeline|CONSOLEMAP}} settings in {{Filename|/etc/rc.conf}}. Different fonts can be found in {{Filename|/usr/share/kbd/consolefonts/}} directory and key maps can be found in the subdirectories of {{Filename|/usr/share/kbd/keymaps/}}.
 
The default font used in the console and in virtual terminals uses the ASCII character set. To see To use other fonts change the {{Codeline|CONSOLEFONT}} and {{Codeline|CONSOLEMAP}} settings in {{Filename|/etc/rc.conf}}. Different fonts can be found in {{Filename|/usr/share/kbd/consolefonts/}} directory and key maps can be found in the subdirectories of {{Filename|/usr/share/kbd/keymaps/}}.
  
===Example====
+
===Example===
 
For displaying characters such as ''č, ć, ž, đ, ''or ''š'' use the font {{Filename|lat2-16.psfu.gz}}:
 
For displaying characters such as ''č, ć, ž, đ, ''or ''š'' use the font {{Filename|lat2-16.psfu.gz}}:
 
  CONSOLEFONT="lat2-16.psfu.gz"
 
  CONSOLEFONT="lat2-16.psfu.gz"

Revision as of 15:50, 21 November 2009

Console (Virtual Terminals)

The default font used in the console and in virtual terminals uses the ASCII character set. To see To use other fonts change the Template:Codeline and Template:Codeline settings in Template:Filename. Different fonts can be found in Template:Filename directory and key maps can be found in the subdirectories of Template:Filename.

Example

For displaying characters such as č, ć, ž, đ, or š use the font Template:Filename:

CONSOLEFONT="lat2-16.psfu.gz"

And set the proper key map, in this case:

CONSOLEMAP="8859-2"

To use the specified font in early userspace (early in the bootup process), add the Template:Codeline hook to Template:Filename:

HOOKS="base udev autodetect pata scsi sata filesystems keymap"

Then rebuild the image:

# mkinitcpio -p kernel26
Note: Repeat if you have more than one kernel package installed and want the same behavior for each kernel.

See: Mkinitcpio#Configuring the HOOKS