You probably also need python-xlib. There is a slackbuild for it here: http://slackbuilds.org/repository/13.1/ ... thon-xlib/
Here's how to use slackbuilds if you don't already know: http://slackbuilds.org/howto/
disable automatic screen blackout? [SOLVED]
Re: disable automatic screen blackout?
That was a good onemimosa wrote:Hi Ray,
Done. Are thee bindings used by the gnomes to tie their pythons on before going into battle?

As for the error, you need python-xlib.
Unfortunately, it isnt in the repos. Get it from here:
http://repository.slacky.eu/slackware-1 ... b/0.15rc1/
I use it and i can confirm it doesnt break anything.
EDIT: Or you can build it like gapan suggested.
Cheers,
ray
Re: disable automatic screen blackout?
Thank you both. I'll try one of those when my glasses come back from the mender's.
I feel rather pathetic that I had no idea how to solve these recent problems independently. How does one get to know that pynotify means notify-python, for instance? Just by putting in the man-hours against the brick wall? Of course, I have precious little idea what any of these things even are, and that may be the rub. As far as I'm concerned, I might just as well be playing Dungeons and Dragons here ... Remember all that tedious rolling of dice?
I feel rather pathetic that I had no idea how to solve these recent problems independently. How does one get to know that pynotify means notify-python, for instance? Just by putting in the man-hours against the brick wall? Of course, I have precious little idea what any of these things even are, and that may be the rub. As far as I'm concerned, I might just as well be playing Dungeons and Dragons here ... Remember all that tedious rolling of dice?
Re: disable automatic screen blackout?
After a while you tend to recognize the errors yourself. Googling the error message usually helps anyway though.
Re: disable automatic screen blackout?
I've tried both of those, following the instructions carefully (but nonetheless, I may have made a mistake somewhere) and in both cases I eventually get a message saying the file doesn't exist - the .SlackBuild file in the case of the slackbuild, and setup.py for Ray's suggested method; this file really doesn't seem to be in the directory, but the .SlackBuild one is there and I made it executable using chmod. Is there something that ought to be obvious but that I might have missed about either where to unpack the tar files or which directory to be in when executing the commands? (The one containing the files?) For the slackbuild, I used su - rather than su, as in the instructions, and I checked the version number which didn't need changing.
Re: disable automatic screen blackout?
... and a few weeks later ...
Finally managed to install caffeine! I was stumped by the slackbuild for python-xlib, but now with slapt-src even I could do it. Needed to do
first though, which might not be immediately obvious.
Thanks again Ray, and to the developers for slapt-src.
Finally managed to install caffeine! I was stumped by the slackbuild for python-xlib, but now with slapt-src even I could do it. Needed to do
Code: Select all
slapt-src -u
Thanks again Ray, and to the developers for slapt-src.