Skip to content

Instantly share code, notes, and snippets.

@luk707
Last active December 15, 2023 01:39
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save luk707/46ef70635a36bcf434fabd7c6c302ce7 to your computer and use it in GitHub Desktop.
Save luk707/46ef70635a36bcf434fabd7c6c302ce7 to your computer and use it in GitHub Desktop.
Setting up DWM on a Raspberry Pi running Raspbian lite

Setting up DWM on a Raspberry Pi running Raspbian lite

Make sure git is intalled

sudo apt install git

Clone the repository from suckless:

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

Install the required dependencies

sudo apt install libx11-dev libxft-dev libxinerama-dev

Build and install dwm

cd dwm && sudo make clean install

Install xinit

sudo apt install xinit

Confiure /etc/X11/xinit/xinitrc

#!/bin/sh

# /etc/X11/xinit/xinitrc
#
# global xinitrc file, used by all X sessions started by xinit (startx)

# invoke global X session script
# /etc/X11/Xsession

exec dwm

Enter the desktop environment:

startx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment