Last active
September 6, 2021 15:30
-
-
Save morphykuffour/ccc3fa039e2516914b785ddf3f6736d2 to your computer and use it in GitHub Desktop.
Install Luke Smith's dwm fork on ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install needed dependencies | |
sudo apt install build-essential sharutils suckless-tools stterm libx11-dev libxinerama-dev libxft-dev libx11-xcb-dev libxcb-res0-dev xcb x11-xkb-utils libxkbcommon-x11-dev | |
# And then build libxft-bgra # https://github.com/uditkarode/libxft-bgra | |
mkdir -p ~/build; | |
cd ~/build; | |
git clone https://github.com/uditkarode/libxft-bgra | |
cd libxft-bgra | |
sh autogen.sh --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man | |
sudo make install | |
cd ~; | |
mdkir -p ~/suckless; | |
cd ~/suckless; | |
git clone https://github.com/LukeSmithxyz/dwm | |
cd dwm | |
sudo make install | |
# if you have a headless version of ubuntu installed you will not have this directory created. | |
cd /usr/share/xsessions/ | |
sudo su | |
echo | |
"[Desktop Entry] | |
Encoding=UTF-8 | |
Name=Dwm | |
Comment=the dynamic window manager | |
Exec=dwm | |
Icon=dwm | |
Type=XSession | |
" | |
>> dwm.desktop # check to see if the file is created | |
# exit out of root | |
exit | |
# You might also want to install dmenu and st, since these are the default menu manager and terminal built by suckless and configured by Luke Smith | |
cd ~/suckless | |
git clone https://git.suckless.org/dmenu | |
sudo make clean install | |
cd ~/suckless | |
git clone https://git.suckless.org/st | |
sudo make clean install | |
cd | |
exit | |
# Restart and choose dwm from the desktop options menu in the lower hand right side |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment