OpenBSD on a Laptop (Lenovo T500)
Place dedicated to my adventures with OpenBSD on my laptop.
Installation
Initial Configuration
Setting up doas
Enable doas for user It is generally not recommended on any *NIX-based system to login as root o...
Disable root login?
Disable root login? Unlike on Linux, where disabling the root account is one of the first things...
Connect to Wi-Fi on OpenBSD
Even though I prefer physical connection, even on a laptop, and I plug in an Ethernet cable whene...
Laptop – Touchpad tap to click
If you have installed OpenBSD on a laptop, you probably want the touchpad to work right. I expect...
GUI Setup (X11 + DWM)
Random notes & tips
Change or disable keyboard beep
Shutdown
$ doas shutdown -p now
Leave X and come back
You have logged into the X server, but want to quickly jump to a regular terminal? You can type t...
Vi – Show lines
To show lines in a file opened in vi, press Esc to enter Normal/Command mode and type :set number...
Vi – Jump to a line
In Normal mode, type :{line_nubmer}, e.g :20.
Show and change hostname
Show To show your hostname, you can conveniently type hostname into the terminal: Example outpu...
Error – database too small: /var/db/locate.database
Locate is a cool utility that allows you to search through your filesystem quickly thanks to an i...
Change repository, package mirror
Mirror information is located in /etc/installurl file. Unlike on Linux, where package managers us...