Skip to content

Instantly share code, notes, and snippets.

@manvscode
Forked from luk707/rpi_dwm.md
Created March 3, 2023 04:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manvscode/8c842facc505db7476a3cbc9ea3fe0ba to your computer and use it in GitHub Desktop.
Save manvscode/8c842facc505db7476a3cbc9ea3fe0ba 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