Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 May 2018 09:17:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 227966] dwm shipped with FreeBSD doesn't open a terminal
Message-ID:  <bug-227966-7788-xADrNFC9d8@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227966-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227966-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227966

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

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

--- Comment #1 from Mateusz Piotrowski <0mp@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 abo=
ut
OpenBSD but Debian is patching dwm to launch xterm instead.=20

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 d=
wm
is preconfigured to launch those programs.

In order to modify the terminal dwm is launching when you hit Mod+Shift+Ent=
er
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=3D"/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. :)=20

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227966-7788-xADrNFC9d8>