master kmscon.conf.example
  1## All this options are overriden by the command line.
  2## So check your ksmcon launch script if an option has no visible effect
  3##
  4## For boolean options (like hwaccel), you can disable
  5## them by adding a "no-" prefix, like no-hwaccel or no-mouse
  6
  7### General Options
  8#verbose
  9#debug
 10
 11### Seat options (Usually setup in command line)
 12#vt=1
 13#switchvt
 14#libseat
 15
 16### Session Options
 17#session-max=6
 18#session-control
 19
 20### Graphics options
 21## Use drm driver (enabled by default)
 22drm
 23
 24## GPU to use, [all, primary, aux]
 25gpus=all
 26
 27## Enable 3d rendering, using gltex with drm3d instead of bbulk with drm2d
 28hwaccel
 29
 30## Use original mode (enabled by default)
 31#use-original-mode
 32
 33## Force a specific mode for all monitors, widthxheight
 34#mode=1024x768
 35
 36## Multi monitor configuration [clone, largest, scaled], default is scaled.
 37#multi-monitor=scaled
 38
 39## Screen rotation, can be [normal, left, upside-down, right]
 40#rotate=left
 41
 42## Fonts
 43## font-engine, can be [freetype, pango, psf, unifont, 8x16], by default kmscon tries in this order.
 44#font-engine=freetype
 45## The font size is the height of the font in pixels. For psf, unifont and 8x16, only integer scaling is supported.
 46## The default value is 0, which will auto-detect the font size based on the monitor resolution.
 47#font-size=18
 48## font-name is only for freetype/pango. For psf, it's the path of the psf or psf.gz file. Unifont and 8x16 uses their own bitmap.
 49#font-name=Hack Nerd Font
 50
 51### Input Options ###
 52## Keyboard
 53#xkb-model=pc102
 54#xkb-layout=de
 55#xkb-variant=
 56#xkb-options=
 57#xkb-keymap=path/to/keymap.map
 58#xkb-compose-file=path/to/compose
 59#xkb-repeat-delay=200
 60#xkb-repeat-rate=65
 61
 62## Keyboard Shortcuts
 63## Control keys are not case insensitive. Ex: <Ctrl>, <ctrl>, <CTRL>
 64## Other keys are case sensitive, and follow the keysym_names[] of the
 65## xkbcommon library.
 66## https://github.com/xkbcommon/libxkbcommon/blob/master/src/keysym-names.h
 67#grab-scroll-up=<Shift>Up
 68#grab-scroll-down=<Shift>Down
 69#grab-page-up=<Shift>Prior
 70#grab-page-down=<Shift>Next
 71#grab-zoom-in=<Ctrl>plus
 72#grab-zoom-out=<Ctrl>minus
 73#grab-session-next=<Ctrl><Logo>Right
 74#grab-session-prev=<Ctrl><Logo>Left
 75#grab-session-close=<Ctrl><Logo>BackSpace
 76#grab-terminal-new=<Ctrl><Logo>Return
 77#grab-rotate-cw=<Logo>plus
 78#grab-rotate-ccw=<Logo>minus
 79## Reboot system (disabled by default)
 80## Reboot behavior follows /proc/sys/kernel/ctrl-alt-del:
 81##   0 (default): graceful reboot (sends SIGINT to init)
 82##   >0: immediate hard reboot after syncing disk buffers
 83#grab-reboot=<Ctrl><Alt>Delete
 84
 85## Enable mouse
 86mouse
 87## Force software cursor
 88#soft-cursor
 89
 90## Power Management
 91## Screen timeout in seconds (0 = disabled)
 92## The screen will be turned off (DPMS OFF) after this period of inactivity
 93## Any keyboard or mouse input will turn the screen back on
 94#dpms-timeout=600
 95
 96## Terminal options
 97## Play an asciicast animation after opening the terminal session.
 98## The animation stops on keyboard input.
 99#asciicast=/usr/share/kmscon/login.cast
100
101## Loop the asciicast animation.
102#asciicast-loop
103
104## value of the $TERM variable
105term=xterm-256color
106
107## Reset environment [on]
108reset-env
109
110## Send delete when backspace is pressed [on]
111#backspace-delete
112
113## Scrollback buffer size, in lines
114#sb-size=10000
115
116## Forward BEL (0x07) to the VT (default off)
117#bell
118
119## Blinking cursor and text with blink attribute (enabled by default)
120#blink
121
122## Colors palette, one of [solarized, solarized-black, solarized-white,
123## soft-black, base16-dark, base16-light, vga, legacy, custom]
124#palette=solarized
125
126## If you selected palette=custom, you can customize each color with:
127palette-black={color0.strip}
128palette-red={color1.strip}
129palette-green={color2.strip}
130palette-yellow={color3.strip}
131palette-blue={color4.strip}
132palette-magenta={color5.strip}
133palette-cyan={color6.strip}
134palette-light-grey={color7.strip}
135palette-dark-grey={color8.strip}
136palette-light-red={color9.strip}
137palette-light-green={color10.strip}
138palette-light-yellow={color11.strip}
139palette-light-blue={color12.strip}
140palette-light-magenta={color13.strip}
141palette-light-cyan={color14.strip}
142palette-white={color15.strip}
143palette-foreground={colorfg.strip}
144palette-background={colorbg.strip}