Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

DWM: Difference between revisions

From atl.wiki
Andre (talk | contribs)
added install guide. might add configuration guide too cus why the hell not
m Atmois moved page Dwm to DWM: Rename for consistency
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{SoftwareInfobox
{{SoftwareInfobox
| image = [[File:DynamicWindowManager.png|DWM logo]]
| image = [[File:Dwm.svg|thumb]]
| caption = DWM logo
| caption = DWM logo
| title      = DWM
| title      = DWM
Line 13: Line 13:


=== Installation ===
=== Installation ===
dwm is meant to be built from source. You can install the latest version of dwm by running:<syntaxhighlight lang="bash">
dwm is meant to be built from source. You can download the latest version of dwm by running:<syntaxhighlight lang="bash">
$ git clone https://git.suckless.org/dwm
$ git clone https://git.suckless.org/dwm
</syntaxhighlight>You can first configure it by making a copy of config.def.h and naming it config.h. This can be done by running:<syntaxhighlight lang="bash">
</syntaxhighlight>You can first configure it by making a copy of config.def.h and naming it config.h. This can be done by running:<syntaxhighlight lang="bash">
$ cp config.def.h config.h
$ cp config.def.h config.h
</syntaxhighlight>dwm can then be compiled by running:<syntaxhighlight lang="bash">
</syntaxhighlight><code>config.h</code> can then be configured to your liking.
 
Before compiling dwm, make sure you have X11 installed. You most likely have it installed already, but it won't hurt if you check.
 
dwm can then be compiled by running:<syntaxhighlight lang="bash">
$ sudo make install clean
$ sudo make install clean
</syntaxhighlight>If the command executes without any errors, you can then modify the ~/.xinitrc file and put <code>exec dwm</code> in it. You can then start X (by running <code>startx</code>) and dwm should be running.
</syntaxhighlight>If the command executes without any errors, you can then modify the ~/.xinitrc file and put <code>exec dwm</code> in it. You can then start X (by running <code>startx</code>) and dwm should be running.
[[Category:Desktop Environments]]
 
It is also recommended that you install dmenu and st along with dwm, as they provide you with a lightweight application launcher and a terminal emulator.
[[Category:Window Managers]]

Latest revision as of 10:13, 30 October 2024

DWM

DWM logo
Release Status Maintained
Last Release 6.5, 2024-03-19
Language(s) C
Developer(s) Suckless
Website dwm.suckless.org
A screenshot a desktop running DWM

dwm (Dynamic Window Manager) is a window manager developed by Suckless. dwm is designed to be small in source code, fast and light. The first version of dwm was released on July 14th, 2006.

Installation

dwm is meant to be built from source. You can download the latest version of dwm by running:

$ git clone https://git.suckless.org/dwm

You can first configure it by making a copy of config.def.h and naming it config.h. This can be done by running:

$ cp config.def.h config.h

config.h can then be configured to your liking.

Before compiling dwm, make sure you have X11 installed. You most likely have it installed already, but it won't hurt if you check.

dwm can then be compiled by running:

$ sudo make install clean

If the command executes without any errors, you can then modify the ~/.xinitrc file and put exec dwm in it. You can then start X (by running startx) and dwm should be running.

It is also recommended that you install dmenu and st along with dwm, as they provide you with a lightweight application launcher and a terminal emulator.