Increase Font Size Of Virtual Terminals
My earlier post shows how to change, on the fly, the font size of X in conclusion emulators. Besides in conclusion emulators, Linux provides vi virtual terminals which you lot tin pick out upward from X Window past times pressing Control+Alt+F1 to Control+Alt+F6 keys respectively. This post service explains how to conform the font size of virtual terminals for Debian, Ubuntu, as well as their derivatives.
Replace console-tools amongst kbd
By default, Debian installs the console bundle console-tools instead of kbd. With console-tools, the console font is express to viii pixels wide. If your draw of piece of job organization is middle fatigue, you lot produce wish a wider font. Installing the kbd bundle automatically removes console-tools.
$ sudo apt-get install kbd Reading bundle lists... Done Building dependency tree Reading position down information... Done The next packages volition live on REMOVED: console-tools kbd-compat The next NEW packages volition live on installed: kbd 0 upgraded, 1 newly installed, two to take away as well as iii non upgraded. ...snipped...
View live
Influenza A virus subtype H5N1 bonus for installing kbd is the setfont utility that is included inwards the package. With setfont, you lot tin temporarily alter the font of a virtual terminal, as well as sentiment it alive to create upward one's hear if you lot wish to configure it permanently.
You can't arbitrarily pick a font for a virtual terminal. The available fonts are stored inwards the directory /usr/share/consolefonts.
The refer of a font file - Uni2-Terminus28x14.psf.gz - tells you lot iii cardinal pieces of information:
- Codeset.
For English-speaking users, select the codeset Uni2 or Lat15.
- Font face.
Popular choices are Terminus as well as Fixed.
- Font size.
The font size is specified past times two numbers inwards pixels represented every bit HEIGHT 10 WIDTH. If the width is viii pixels, thus exclusively the meridian is specified. For comparing purposes, the default console font size is xvi (that is, xvi 10 8).
To sentiment a font live, press Control+Alt+F1 keys to pick out upward virtual in conclusion #1, as well as thus execute the setfont command.
$ setfont /usr/share/consolefonts/Uni2-Terminus28x14.psf.gz
Configure permanently novel font as well as font size
You tin conduct edit the console configuration file (/etc/default/console-setup). But, it is much easier to piece of job the reconfigure plan every bit below.
- Run dpkg-reconfigure.
$ sudo dpkg-reconfigure console-setup [sudo] password for peter:
- Select UTF-8.
- Select Combined - Latin; savic Cyrillic; Greek.
- Select Terminus.
- Select the desired font size.
- Run setupcon inwards virtual terminals.
If you lot immediately switch to a virtual terminal, you lot volition yet run into the former font size until you lot piece of job the next ascendancy from the virtual terminal.
$ setupcon
0 Response to "Increase Font Size Of Virtual Terminals"
Post a Comment