You are not logged in.
I've searched the forums and the interwebs for a solution, and the only thing I've found is positive confirmation that dwm has very minimal documentation and community support. So hopefully someone on here understands what's going on.
I tried dwm on a friend's computer a while back and loved it. So recently, when I resurrected my laptop, I decided to go with dwm. I haven't had any problems with Arch otherwise. I pacman'd the dwm package, but I -R'd it and downloaded the source tar.gz from the dwm homepage. It seemed that pacman just installed the binary, which didn't seem too helpful since you configure from source. So anyway, I had some trouble compiling at first, but it worked out. Trouble is, when I call 'exec dwm' in .xinitrc, it tells me 'dwm not found'. I've verified that the binary is there in /usr/local/bin, and even tried exec'ing it with the full path. Nothing. I've uninstalled and reinstalled dwm, I've tweaked .xinitrc, etc., and nothing seems to work. My .xinitrc is currently:
!# /bin/sh
exec /usr/local/bin/dwm
Output error is:
: No such file or directory /usr/local/bin/dwm
Does anyone have any idea what could be going wrong? I used Slackware extensively before a Linux hiatus of a year or so, so I'm not quite as familiar with Arch. Could it possibly be something particular to Arch? I've gone through the FAQs and Beginner's Guide. I'd appreciate any advice.
Offline
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Hrrm, I usually don't have a #!/bin/sh line.
As it's in /usr/local, I assume you downloaded and compiled.
Is it showing as executable. Did you definitely run make install after running make?
Other option would be to install it via pacman. That might pull in whatever is missing.
Might be missing a font. Install terminus fonts just to be sure--though it might give messages afterwards about missing fonts, if terminus is in there, it should be enough for dwm. Do a ls -l on /usr/local/bin/dwm and make sure it's executable. (Should read -rwx-r-x-r-x as a general rule)
Do you definitely have the necessary pieces of X installed? That is, does startx definitely work?
Offline
Thanks for the replies. I fixed it. Apparently it was one of those Arch-specific things. The X11 resources were being referenced at the wrong location by config.mk. Once I got that squared away it compiled like a dream. Thanks again!
Offline