Skip to content

Instantly share code, notes, and snippets.

@defektive
Last active August 11, 2020 13:03
Show Gist options
  • Star 15 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save defektive/b6dcc5d00ed7232197b031925d54ddbc to your computer and use it in GitHub Desktop.
Save defektive/b6dcc5d00ed7232197b031925d54ddbc to your computer and use it in GitHub Desktop.
Install bspwm, sxhkd on ubuntu 16.04

Dependecies

sudo apt-get install git \
                      xcb \
                      libxcb-util0-dev \
                      libxcb-ewmh-dev \
                      libxcb-randr0-dev \
                      libxcb-icccm4-dev \
                      libxcb-keysyms1-dev \
                      libxcb-xinerama0-dev \
                      libasound2-dev \
                      gcc \
                      make \
                      libxcb-xtest0-dev \
                      libxft-dev \
                      libx11-xcb-dev

Install

mkdir -p ~/development/github.com/{defektive,baskerville,krypt-n}
cd  ~/development/github.com/baskerville
git clone https://github.com/baskerville/bspwm.git
git clone https://github.com/baskerville/sxhkd.git
git clone https://github.com/baskerville/sutils.git
git clone https://github.com/baskerville/xtitle.git
git clone https://github.com/baskerville/xdo.git

cd  ~/development/github.com/baskerville
cd bspwm/ && make && sudo make install
cd ../sxhkd/ && make && sudo make install
cd ../sutils/ && make && sudo make install
cd ../xtitle/ && make && sudo make install
cd ../xdo/ && make && sudo make install

# patched lemonbar
cd ~/development/github.com/krypt-n
cd !:1
git clone https://github.com/krypt-n/bar.git
cd bar && make && sudo make install
@evanescente-ondine
Copy link

So nice ! It worked first time ! Very sad to say it, but it's hardly common...

@geljo
Copy link

geljo commented Mar 19, 2019

just tried it in 18.04 and found a missing dependency.
libxcb-shape0-dev
Just in case you want to add it to your installation notes.
It seems that its needed for compilation of bspwm and the error says:
src/window.c:29:10: fatal error: xcb/shape.h: No such file or directory
when issuing the make command.

Everything else works great!

@isakhammer
Copy link

Got the same issue as Johann in a freshly installed ubuntu 16

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