Difference between revisions of "Console (OpenBSD)"

From Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
__TOC__
 
__TOC__
 +
[[Category:OpenBSD]]
  
 
= Colors =
 
= Colors =

Revision as of 10:12, 14 August 2021

Colors

  • export TERM=wsvt25
  • OpenBSD's ls doesn't support colors, but you can use GNU ls instead:
    • pkg_add coreutils
    • gls --color

Blanking

Add following lines to /etc/wsconsctl.conf:

display.screen_off=60000
display.kbdact=on
display.msact=off
display.outact=off
display.vblank=on
  • screen_off blanks the screen after the given value in ms
  • kdbact=on activates the screen on keyboard input
  • mscact=on activates on mouse movement
  • outact=on activates if there is output on the screen
  • vblank=on disables the vertical synchronization pulse, which allows some screens to go into energy saving mode

Keyboard

  • The configuration file is /etc/kbdtype, which contains just the layout, e.g. de.nodead
  • To change the layout on the fly: kbd de.nodead