You are not logged in.

#26 2020-01-16 20:05:39

Colonel Panic
Registered: 2018-11-13
Posts: 176

Re: [Solved] Trying to compile dwm from source in Debian

Sure, this is what I did. I'm not sure all these steps are necessary but they worked.

First off, I got into the root account;

sudo su root [password]

Then, I installed all these libraries in turn;

apt-get install libx11-dev libxft-dev libxinerama-dev build-essential

Then the source file for dwm itself;

apt-get source dwm

and finally the freetype 6 library, and the build dependencies for dwm;

apt-get install libfreetype6-dev

apt-get build-dep dwm 

Then I switched to the dwm build directory and changed the auxiliary key in the config.h file from Alt;

#define MODKEY Mod1Mask

to Win;

#define MODKEY Mod4Mask

and then finally, I compiled the window manager;

cd / home/user/dwm-6.1
make install

Job done.

Last edited by Colonel Panic (2020-01-16 20:12:25)


#27 2020-01-16 20:11:50

From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: [Solved] Trying to compile dwm from source in Debian

^Excellent, thanks. This basically what is written on DebianDwm. It is good to know those instructions (still) works as expected.

Postpone all your duties; if you die, you won't have to do them ..


Board footer

Powered by FluxBB