Difference between revisions of "User:Thisoldman"

From ArchWiki
Jump to: navigation, search
(Blanked the page)
Line 1: Line 1:
 +
===Console (Virtual Terminals)===
  
 +
<!-- should be a list instead of explaining configuration. to merge with Fonts Configuration. -->
 +
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====
 +
For displaying characters such as ''č, ć, ž, đ, ''or ''š'' use the font {{Filename|lat2-16.psfu.gz}}:
 +
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 {{Codeline|keymap}} hook to {{Filename|/etc/mkinitcpio.conf}}:
 +
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]]

Revision as of 15:48, 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