Monday, May 27, 2013

DWM on FreeBSD

Run the following commands:
$ sudo pkg_add -rv dwm dmenu terminus-font
$ sudo vi /etc/X11/xorg.conf

Add the following line to the "Files" section:
FontPath "/usr/local/lib/X11/fonts/terminus-font/"

Create a startup file:
$ cd ~
$ vi .xinitrc

Add the following line:
exec dwm

$ reboot

After logging back in:
$ cd /etc
$ sudo cp -v rc.conf rc.conf.bak
$ vi rc.conf

Add the following lines:
Note: If you skip this dmenu and your mouse/keyboard will not work.

$ reboot

$ startx
Also, test dmenu by launching an xterm.

DWM window manager should start up, along with dmenu becoming functional (on the top bar). You should also see an xterm window and be able to type commands into it.

No comments:

Post a Comment