View Single Post
m2cm2c's Avatar
Posts: 100 | Thanked: 240 times | Joined on Feb 2010 @ The South Pole O.o
#216
Originally Posted by zimon View Post
Does not work for me. Disabled shortcutd (which was using proximity sensor) but still didn't work.

If one keeps camera lens cover open all the time (mine is and cannot shut it down), will the program work?
lfocus will not open up until it gets the signal from the lens cover.

whats on my mind now is that you can play with the stop_focus.py script to make it force the lens cover signal.

[edit]
or

you can hash out (comment out "#") the "self.hide_all()" located in line 130 of lfocuswi.py and replace it with "self.show_all()"

[edit]
Originally Posted by zimon View Post
Also tried to manually start lfocus.py on xterminal (sudo ...). Starts, but when camera button is pressed and camera application comes in front, I still cannot see anything which would tell there is some extra (lfocus).
do not run lfocus.py directly
instead use:
sudo lfocus start
that will activate the keyboard script for you
and when you're done type in:
sudo lfocus stop

Last edited by m2cm2c; 2010-05-28 at 18:13.
 

The Following User Says Thank You to m2cm2c For This Useful Post: