From: <el...@ji...> - 2006-03-19 11:13:30
|
cga wrote: > I'm trying to install pywm on debian sarge. I did an 'apt-get install > flwm'.. created the /usr/local/lib/python.2.3.5/site-packages/flwm > directory.. copied the flwm executable and the > ~/pywm.0.1.1/src-python/* files to this directory.. set my .xinitrc > file to exec pywm-run.. cd'd to the ~/pywm directory.. started X via > startx from a console and I do get to the chooser alright but there's > nothing to choose from. I'm probably missing something - regarding > this 'pyrex' thing I would imagine.. but I don't know what. I've taken > a look at the launcher - pywm.py.. but since I am totally unfamiliar > with Tk I haven't been able to figure out what the chooser should be > displaying. I noticed that it did create the ~/.pywm directory but > failed to populate it - iow .. it is empty.. > > Please advise. > Well, I don't know wether you looked in the README and or the INSTALL files (wich you should), but here are the parts that are applicable: " *** INSTALLING BINARY PACKAGE * There is no binary offered in this package (with the formerly distributed binary, there's a version mismatch with current python, f.ex.), so building from source is encouraged. I'll gladly help, or might even send a binary if asked nicely=). If you'd like to try the old binary, it's in the original 0.1 release (caution: the instructions below might not be correct). ... " So you do need libfltk1.1-dev and python-pyrex(this might not be enough, we'll see), but you have no use for flwm(if you wan't a prebuilt binary, that's not the place where to look for it). " ... If you have successfully [built and] installed FLTK, you can log in as root and type: make install (or 'python setup.py build', and link to it by means of a site.py, etc) If the make completes successfully, you will have: * The PYWM launcher utility, installed as /usr/bin/pywm-run.py This program pops up a window of available window manager scripts, as well as an xterm fallback * The directory 'pywm' installed in your Python site-packages directory. Note that within this pywm directory is a copy of the examples directory. ... " This should work, but tell me if the instructions aren't clear enough(they aren't complete nor completely right, I have to work on that). |