SETUPCON(1)
๐ SETUPCON(1) ๐
Hiii bestie, this is the manual page for Console-setup User's Manual ๐ Let's get into it!
โจ NAME โจ
okay so setupcon is the thing that sets up the font and the keyboard on the console ๐ง literally that's the whole job ๐
โจ SYNOPSIS โจ
setupcon [OPTION]... [VARIANT]
๐ DESCRIPTION ๐
okay so setupcon is a program for fast and easy setup of the font and the keyboard on the console โจ Most of the time you just run setupcon with no arguments, no cap ๐ซถ The keyboard config lives in ~/.keyboard or /etc/default/keyboard. The font config lives in ~/.console-setup or /etc/default/console-setup. If you want the full tea on how to set up those two files, check out keyboard(5) and console-setup(5) ๐
If you keep switching between encodings, keyboards, or languages, you can make a bunch of alternative config files for setupcon ๐ Say most of the time you're typing in Greek with a Greek keyboard layout, but sometimes you need German with a German layout ๐ฉ๐ช In that case, customize the main config files (keyboard and console-setup) for Greek. Then make alternative files named keyboard.german and console-setup.german for German ๐ To get Greek, you just run setupcon with no arguments. To get German, you run setupcon german. iykyk, it's so easy ๐ญ
๐ฆ OPTIONS ๐ฆ
VARIANTโ this picks which config file to use ๐ With no variant, the files are calledconsole-setupandkeyboard. But if you pass something likechukchias VARIANT, the files becomeconsole-setup.chukchiandkeyboard.chukchi. This is how you get several different setups at once, like one for the Chukchi language and another for your default setup โจ-v,--verboseโ makessetupconextra chatty ๐ฃ๏ธ Use this if something goes wrong or if you're messing around with the config files ๐-k,--keyboard-onlyโ only sets up the keyboard. It won't touch the font or the terminal โจ๏ธ On Linux, you only need to do this once, bestie ๐-f,--font-onlyโ only sets up the font. It won't touch the keyboard or the terminal ๐ค On Linux, you should repeat this every time a new console driver gets activated (like when the frame buffer turns on) ๐ผ๏ธ-t,--terminal-onlyโ only sets up the terminal. It leaves the keyboard and the font alone ๐ป--current-ttyโ only sets up the current virtual terminal, and nothing else ๐ฏ--forceโ skips the check for whether you're actually on the console ๐ฌ > Careful!! If you runsetupconwith this option while the screen is controlled by an X server, you could be forced to hard-reboot your computer. Not the vibe ๐--saveโ this one is super useful if you want to runsetupconearly in the boot process, before/usris mounted and the data it needs isn't around yet ๐ง It makessetupconcopy the required files into/etc/console-setup/so they're available before/usrgets mounted. If you do run it early in boot, run it with this option after every change to your console config ๐--save-onlyโ same as--save, except it doesn't set up anything ๐ซง Handy for saving the files while the screen is controlled by an X server ๐ธ--save-keyboard FILEโ meant for initrd builders ๐ ๏ธ It doesn't configure anything. It just saves a usable keyboard layout intoFILE๐--setup-dir DIRโ also for initrd builders, and again it doesn't configure anything ๐ซถ It arranges everything needed to configure the console inside the directoryDIR. The fileDIR/morefileslists all the binaries the initrd builder has to install into the initrd image ๐ฆ Every other file inDIRhas to be copied into the initrd unchanged ๐ To actually configure the console, you run the scriptDIR/bin/setupconโจ-h,--helpโ shows usage info ๐
๐๏ธ FILES ๐๏ธ
~/.console-setup~/.keyboard/etc/default/console-setup/etc/default/keyboard/etc/default/console-setup.VARIANT/etc/default/keyboard.VARIANT/etc/console-setup/
๐ SEE ALSO ๐
keyboard(5), console-setup(5) ๐
Okay bestie, that's the whole tea โ๐ Console-setup, dated 2011-03-17, SETUPCON(1) on the console, all wrapped up with a bow ๐๐ Go make your terminal look iconic ๐งโจ
๐ฆ where this page comes from
- centos-stream 9: console-setup 1.200-4.el9 ยท GPLv2+ and MIT and Public Domain
- debian bookworm: console-setup 1.221
- debian bookworm: console-setup-mini 1.221
- debian trixie: console-setup 1.242~deb13u1
- debian trixie: console-setup-mini 1.242~deb13u1
- fedora 43: console-setup 1.239-2.fc43 ยท GPL-2.0-or-later AND MIT AND LicenseRef-Fedora-Public-Domain
- fedora 44: console-setup 1.245-3.fc44 ยท GPL-2.0-or-later AND MIT AND LicenseRef-Fedora-Public-Domain
- opensuse-leap 16.0: console-setup 1.223-160000.2.2 ยท GPL-2.0-or-later AND MIT AND SUSE-Public-Domain
- ubuntu jammy: console-setup 1.205ubuntu3
- ubuntu jammy: console-setup-mini 1.205ubuntu3
- ubuntu noble: console-setup 1.226ubuntu1
- ubuntu noble: console-setup 1.226ubuntu1.1
- ubuntu noble: console-setup-mini 1.226ubuntu1
- ubuntu noble: console-setup-mini 1.226ubuntu1.1
- ubuntu questing: console-setup 1.237ubuntu1
- ubuntu questing: console-setup-mini 1.237ubuntu1
- ubuntu resolute: console-setup 1.237ubuntu3
- ubuntu resolute: console-setup 1.237ubuntu3.1
- ubuntu resolute: console-setup-mini 1.237ubuntu3
- ubuntu resolute: console-setup-mini 1.237ubuntu3.1
- ubuntu stonking: console-setup 1.248ubuntu3
- ubuntu stonking: console-setup-mini 1.248ubuntu3
- Copyright (C) 2007, 2011 Anton Zinoviev <anton@lml.bas.bg>
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms