Skip to content

Instantly share code, notes, and snippets.

@theodric
Last active October 15, 2021 11:44
Show Gist options
  • Save theodric/c156ae749e1b622bbc6b3be80cce5f48 to your computer and use it in GitHub Desktop.
Save theodric/c156ae749e1b622bbc6b3be80cce5f48 to your computer and use it in GitHub Desktop.
OpenBSD based install
# https://xmonad.org/
# https://github.com/jcs/sdorfehs
#apt-cache search ~= pkg_info -Q
pkg_add nano tmux htop git neofetch gdk-pixbuf pkg_mgr wget vim-8.2.3456-no_x11-perl-python3-ruby colorls md5sum vmwh firefox gdk-pixbuf-xlib
##current is broken, use 1.0 release! **cd /usr/src && git clone https://github.com/jcs/progman.git
cd /usr/src && wget https://github.com/jcs/progman/archive/refs/tags/v1.0.tar.gz
#edit Makefile, change CFLAGS+= -O2...... to CFLAGS= -pipe -Ofast......, CFLAGS+= -DHIDPI=1 to =0 for non-HiDPI screens
echo alias ls=\'colorls -G\' >> $HOME/.profile
echo progman >> $HOME/.xsession
#middle-button scrolling for thinkpad, add to .xsession:
xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation" 1
xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Button" 2
#trackpoint natural scrolling in both directions
xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Axes" 7 6 5 4
# disable trackpad
wsconsctl mouse.tp.disable=1
# map caps lock to control
setxkbmap -option ctrl:nocaps
xsetroot -solid grey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment