Xlib: watching key presses without trapping them

2012-08-11 Thread Raffaele Ricciardi
Hello there, I'm writing a X Windows program to perform some actions when modifier keys have been released. After looking into the Pykeylogger project (pykeylogger.sourceforge.net), I've gone as far as detecting all events related to modifiers, but then such events get trapped by the program

Re: Please don't use "setuptools", the "rotten .egg" install system.

2012-01-20 Thread Raffaele Ricciardi
In order to build and run Mercurial on Linux, I needed Python with docutils. I've just installed Python from source and later setuptools. As a non-Pythonista, my impression has been that the procedure of installing setuptools and then using them is quite straightforward, but it's not advertis