You are not logged in.
Pages: 1
Hello,
I have been pointed out dwm as a cool window manager, and it indeed is very cool (I'm starting to prefer it over wmii), however I have no clue as to how to configure it.
I have read that I had to use ABS in order to recompile it every time (for my custom changes to dwm to be applied), so I was reading the howto in the wiki, but I can't locate the dwm package, so I have no clue about what to do.
Please consider this is my first experience with ABS, even though I have used some PKGBUILDs, so any help is greatly appreciated.
Thanks!
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
I don't recommend using ABS / makepkg for dwm, since that stupid wm needs to be recompiled every time you need to change the config.
Just compile / install manually, it'll put it in /usr/local/ by default which is fine (separated from all arch packages).
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
Ok, thanks... I hate the thing I have to recompile every time, but the functionality is so awesome
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
If you install dwm by '# make && make install', it will be install into /usr/local/bin and it's Man-Page will be situated at /usr/local/share/man.
As /usr/local/bin and and /usr/local/share/man aren't activated by default at Archlinux, you have to add them to the PATH- and MANPATH-variable in /etc/profile.
If you don't do this, the system just wont be able find the dwm executable and and it's manual.
Why are we here? What is the sense of life?
INVITATION TO THE TRUTH
Offline
I'd recomend you to use ABS to compile dwm - which I happen to do myself.
Get abs if you haven't yet:
pacman -Sy cvsup wget
Uncomment [community] in /etc/abs.conf
run
abs
, copy the dwm folder in /var/abs/../../.. into /var/abs/local, cd into /var/abs/local/dwm and change config.h as you desire. Run makepkg and install it with pacman -U dwm-4.4.1-...
Advantages: dwm is "handeled" by pacman which should be the case on a clean Arch system. A simple "abs" gets you the newest dwm PKGBUILD as soon a new version is out.
Haven't been here in a while. Still rocking Arch.
Offline
Sigi, thanks for your help! However the md5sum check failed, since I have changed the config.h file, shall I just delete the md5sum field?
Edit:
By the way, how do I get rid of the package I have installed manually (which is now in /usr/local)?
Last edited by finferflu (2007-08-28 18:53:24)
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
Sigi, thanks for your help! However the md5sum check failed, since I have changed the config.h file, shall I just delete the md5sum field?
Edit:
By the way, how do I get rid of the package I have installed manually (which is now in /usr/local)?
Go in dwm source dir, then make uninstall .
You can have a look at the Makefile to see the available make targets and what they do.
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
Ok, thanks a lot, it worked. I asked because usually make uninstall does not work or doesn't work properly... I guess I have been quite unlucky...
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
Sigi, thanks for your help! However the md5sum check failed, since I have changed the config.h file, shall I just delete the md5sum field?
You can exec these three commands to generate new md5sums, overwrite previous files and update dwm:
makepkg -g >> PKGBUILD && makepkg -f && pacman -U dwm-4.4-1-i686.pkg.tar.gz
Offline
finferflu wrote:Sigi, thanks for your help! However the md5sum check failed, since I have changed the config.h file, shall I just delete the md5sum field?
You can exec these three commands to generate new md5sums, overwrite previous files and update dwm:
makepkg -g >> PKGBUILD && makepkg -f && pacman -U dwm-4.4-1-i686.pkg.tar.gz
I get a
bash: PKGBUILD: Permission denied
And I'm running the command as root (with sudo).
Last edited by finferflu (2007-08-29 14:15:36)
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
jofa wrote:finferflu wrote:Sigi, thanks for your help! However the md5sum check failed, since I have changed the config.h file, shall I just delete the md5sum field?
You can exec these three commands to generate new md5sums, overwrite previous files and update dwm:
makepkg -g >> PKGBUILD && makepkg -f && pacman -U dwm-4.4-1-i686.pkg.tar.gz
I get a
bash: PKGBUILD: Permission denied
And I'm running the command as root (with sudo).
sudo only applies to makepkg -g , not the >> redirection which actually writes to the file.
Anyway, you only need to run pacman -U as root, the other steps shouldn't be run as root. Just use a directory where you have write permission.
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
Ok, thanks, I'll look into that. I have chowned /var/abs/local to my user, I hope it's fine, since I think it's the most practical thing to do, not sure about security...
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
Ok, thanks, I'll look into that. I have chowned /var/abs/local to my user, I hope it's fine, since I think it's the most practical thing to do, not sure about security...
That's what I do as well.
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
Pages: 1