DWM
I have looked at the arch wiki. It isn't written so well. Is that the best way to install dwm? Is there a better way?
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- 33ph6e
I have looked at the arch wiki. It isn't written so well. Is that the best way to install dwm? Is there a better way?
22 comments
Since dwm is customized almost entirely by editing the source code, building from source really is the best way to go for installing it.
You can just go the pacman -S route, but you miss out on a lot of configuration that way.
You can just install using pacman. If you go this route though you can't do any configuring. This is mentioned in the note on the wiki page:
Wow. That's hardcore. In that case, I retract my statement on the wiki being out of date, and see the value of the use of ABS rather than the main repo.
The -git section is the way to go with dwm, so
Use pacman packages wherever possible.
using 6.1 has saved me plenty of headache.
Yeah, that's how it is 99% of the time, but due to dwm's nature, you end up with a heavily customized version of it so it makes no sense for it to be tracked by your package manager.
Ok, I followed these steps and have gotten dwm installed. If I change the cogfig.h do I just re make and install again or do I need to remove something?
Yea just make and make install.
Git is especially handy lately since dwm has recently had a few much-needed updates (in particular, xft fonts with fallback support)
So clone from the website then is best then? Then don't use abs and makepkg -i as suggested by the arch wiki?
To install dwm: sudo pacman -S dwm
I'll assume you know how to change your WM.
I have the exact opposite reaction to the Arch wiki - I find that it's pretty well-written for a technically oriented site, and amazingly detailed.
I recently changed from an ATI to an NVIDIA GPU, and the amount of information on the Nouveau driver vs. the proprietary NVIDIA one was amazing. I've never seen a more comprehensive page on the topic.
I believe they were saying that the arch wiki page for Dwm isn't well written.
Yes I meant the DWM entry relative to the rest of the arch wiki. In fact at the top of the entry it says that it isn't well written.
I am currently using i3 and it is great. Am I going to be disappointed with the functionality of DWM? Is the bar configurable?
dwm's bar listens to WM_NAME property, this is set using xsetroot -name. This makes it extremly flexible using simple shell like acpi, awk, sed and other commands to display battery, keyboard, date, etc.
By its nature of being extremely minimal, it doesn't have things like colour in the bar and other things, so you'll need to edit the source code. There are many many patches that can be applied with a simple git apply
http://dwm.suckless.org/customisation/patches_in_git
Thanks, seems like what I am looking for.
The ideal way is to use the abs + makepkg as described in the wiki.
I usually, copy the contents of the abs to a folder in my home directory that I use to hack around dwm.
So copy the folder. Edit config.h with keybindings and customizations as you please. Build with "makepkg" and install with "pacman -U".
DWM is not usually updated too much - I set it to ignore in pacman so it doesn't auto update from the repos (I am still on 6.0.1).
Tip:
a) I only set minimal keybindings in config.h. Most other things I configure using xbindkeys.
b) Patches exist that you can merge in to your files. You can find them on the dwm website and arch forum.
https://www.youtube.com/watch?v=eJlsJixO86E for a video of how to best install dwm :)