+1
日增长
+11
周增长
1,001
stars
154
forks
40
watchers
349
prs
287
issues
17
releases
README
KMSCON !Build Status Kmscon is a simple terminal emulator based on linux kernel mode setting (KMS). It is an attempt to replace the in-kernel VT implementation with a userspace console. See kmscon(1) man-page for usage information. Requirements Mandatory dependencies Kmscon requires the following software to run: - libudev: providing input, video, etc. device hotplug support (=v172) - libxkbcommon: providing internationalized keyboard handling - linux-headers: linux kernel headers for ABI definitions Optional dependencies Video For video output at least one of the following is required: - libdrm: graphics access to DRM/KMS subsystemDRM: For unaccelerated drm output the "libdrm" library must be installed and accessible via pkg-config. - OpenGLES2: For accelerated video output via OpenGLESv2 the following must be installed: libdrm, libgbm, egl, glesv2 (i.e., mesa) - fbdev: For framebuffer video output the kernel headers must be installed and located in the default include path, and the kernel built with fbdev device support (which is disabled on some distributions). Fonts For font handling the following is required: - 8x16: static built-in font which does not require external dependencies. - psf: bitmap font backend, this requires no external dependencies, but you need to provide a path to a psf file that kmscon can read. - unifont: embed unifont in kmscon, this requires no external dependencies. - freetype: lightweight font rendering, using only freetype2 and fontconfig. - pango: drawing text with Pango requires: glib, pango, fontconfig, freetype2 and more Seats - libseat: Kmscon can take a seat with libseat . In this case you must have either systemd-logind, elogind, or seatd configured. It allows to run kmscon as a regular user, and configure which GPU/input device are allowed for kmscon. The drawback is that kmscon-launch-gui won't work to launch another GUI that uses libseat, as the seat is already in use. - If libseat is not present, kmscon will use its own VT handling, or a fake backend if VT is disabled in the kernel. Terminfo - ncurses You need the tic executable from ncurses, to build kmscon.ti into a binary terminfo definition. Setup On Debian-based system, to install the systemd service files in the right location, you need to install systemd-dev. bash sudo apt install systemd-dev To build with manpages and documentation, the following is required: - xsltproc (packaged as libxslt in Fedora, or xsltproc in Ubuntu/Debian) - docbook stylesheets (packaged as docbook-style-xsl in Fedora, or docbook-xsl in Ubuntu/Debian) Download Released tarballs can be found at: https://github.com/kmscon/kmscon/releases Install Compile dependencies To build kmscon, you will need: - meson - gcc or clang toolchain - cargo and a rust compiler for the Rust parts (kmscon-rs, including libtsm) To compile the kmscon binary, run the standard meson commands: bash meson setup build By default this will install into /usr/local, y
Top issues
#74Feature request input method suport22 comments · 2013-02-26#476Running kmscon may be prone to hangs and crashes after its dependencies are upgraded16 comments · 2026-07-23#403XDG_RUNTIME_DIR and DBUS_SESSION_BUS_ADDRESS no longer set after upgrading to v10.0.016 comments · 2026-05-21#138Feature: Sixel support14 comments · 2020-11-29#205Visual glitches (a33596e)12 comments · 2026-01-08#571Several issues with cursor shape change in kmscon11 comments · 2026-10-13#200mouse is laggy on agetty, but it's super smooth when calling /bin/login directly.11 comments · 2026-01-02#164Feature request: return to foreground mode automatically if all chidren died.11 comments · 2025-12-05
Latest release
v10.1.2 v10.1.2 2026-11-16What's Changed mailmap: deduplicate contributors with multiple email addresses by @1ace in https://github.com/kmscon/kmscon/pull/615 font_freetype: fix heap corruption from per-font fontconfig setup by @tagoh in https://github.com/kmscon/kmscon/pull/618 Handle F13-F24 keys, and allow to switch to next/previous VT by @kdj0c in https://github.com/kmscon/kmscon/pull/619 input: share the XKB state between all keyboard devices by @pandhedge in https://github.com/kmscon/kmscon/pull/617 uterm: Align VT switching shortcut to fbcon. by @kdj0c in https://github.com/kmscon/kmscon/pull/620 Pre