[Bug 227966] dwm shipped with FreeBSD doesn't open a terminal

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 4 09:17:44 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227966

Mateusz Piotrowski <0mp at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |0mp at FreeBSD.org

--- Comment #1 from Mateusz Piotrowski <0mp at FreeBSD.org> ---
(In reply to Wojciech A. Koszek from comment #0)

dwm on FreeBSD comes with no additional patches by default. Stock dwm is
configured to launch st (available as x11/sterm in ports). I don't know about
OpenBSD but Debian is patching dwm to launch xterm instead. 

Actually, after the installation of dwm you should get a message that it is
recommended to install additionally install sterm and dmenu. It's because dwm
is preconfigured to launch those programs.

In order to modify the terminal dwm is launching when you hit Mod+Shift+Enter
you've got to provide your own config.h file. This is the standard way to
modify most software from suckless.org:

 1. Get a copy of config.h (for example from here[1])
 2. Get a copy of the ports tree on your machine
 3. Install dwm from ports using DWM_CONF to point to your custom config.h:

    # cd /usr/ports/x11-wm/dwm
    # make DWM_CONF="/path/to/your/config.h" install

PS I am trying to provide a detailed answer for future reference for other
people who might not be experienced with FreeBSD just yet. Hence all those
links to things you probably know better than I do. :) 

[1]: https://git.suckless.org/dwm/tree/config.def.h
[2]: https://www.freebsd.org/doc/handbook/ports-using.html

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list