I am trying to get this work on 10.04 but when I run Idlerain.py
Code:
leb@leb-laptop:~$ ~/bin/idlerain.py
/bin/sh: xidle: not found
Traceback (most recent call last):
File "/home/leb/bin/idlerain.py", line 16, in <module>
idle=get_idle_time()
File "/home/leb/bin/idlerain.py", line 8, in get_idle_time
return float(proc.communicate()[0])
ValueError: empty string for float()
leb@leb-laptop:~$
When I run xidle, I get.
Code:
leb@leb-laptop:~$ ~/bin/xidle
0.006000
Any Help would be appreciated.
EDIT Never mind I got it. The error /bin/sh: xidle: not found should of told me to put the xidle in ~/bin/sh which made it work like a charm
Bookmarks