View Single Post
Posts: 7 | Thanked: 4 times | Joined on Apr 2012 @ Sweden
#45
Hi there, I'm not succeeding with your script.

I installed xresponse, x11-utils, python-qmsystem, python-qtmobility.multimediakit, python-qtmobility.systeminfo, python-pyside.qtgui and python-pyside.qtcore (is "deps" a package?). Then I created the file /usr/bin/n9-button-monitor containing v0.4 of the script. I gave this executable rights. I also created the .conf-file, and your autostart script in /etc/init/apps (/etc/init isn't writeable).

This is the output from "devel-su -c 'python /home/user/MyDocs/n9-button-monitor'":
Code:
torch on
Permission denied: opening file /home/user/.omap3cam
Starting camera without viewfinder available
Permission denied: opening file /home/user/.omap3cam
auto shut-off
torch off
Permission denied: opening file /home/user/.omap3cam
After I've locked the screen and pressed VOL+:
Code:
2: long-start
torch on
running cmd "xprop -root _NET_ACTIVE_WINDOW"
running cmd "xprop -id 0xe0006e
 WM_COMMAND"
2: long-stop
torch off
Permission denied: opening file /home/user/.omap3cam
running cmd "xprop -root _NET_ACTIVE_WINDOW"
running cmd "xprop -id 0xe0006e
 WM_COMMAND"
Nothing happens... What am I doing wrong?

Last edited by GuSec; 2012-04-06 at 07:29.
 

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