openbsd cheatsheet.txt 675 B

1234567891011121314151617
  1. pkg_info -Q name search packages for name
  2. pkg_add name install package name
  3. su use instead of sudo
  4. setxkbmap cz set keyboard layout in X environment
  5. kbd us set keyboard layout in console/TTY (doesn't have cz)
  6. rcctl stop xenodm stop xserver
  7. rcctl start xenodm start xserver (but to start it with dwm use xinit)
  8. xinit dwm start dwm
  9. Connect to ethernet: ifconfig, dhclient INTERFACE.
  10. To compile st remove -lrt from config.mk.
  11. To setup dwm correctly create .xsession file (for xenodm display manager) and only put the line "dwm" in it, dwm will start after login.
  12. Default WM is CWM.