View Single Post
Posts: 14 | Thanked: 7 times | Joined on May 2011
#150
What a neat little fix.
Nicely done xxxxts.
We aren't actually running smartcam binary via icon, but instead we are running newly created script in /opt/smartcam.

And yes, as maartenmk stated, there is indeed a typo with 'Exec' part and the IP address is ... somewhat lost


I presume this is how you meant to say it
(not trying to take credits for your work, just want to clarify it) :


LOADING/SAVING FIX (as root) :


Code:
cd /usr/share/applications/hildon
leafpad  smartcam_m5.desktop
find and change this line

Code:
Exec=/opt/smartcam_m5/bin/smartcam_m5
to

Code:
Exec=/opt/smartcam_m5/smartcam_m5
then

Code:
leafpad  /opt/smartcam_m5/smartcam_m5
insert this and save:

Code:
cd /opt/smartcam_m5/bin
./smartcam_m5
I think we should give it executable attribute with:

Code:
chmod +x /opt/smartcam_m5/smartcam_m5


(optionally) if you want to add .conf file manually:

Code:
leafpad /opt/smartcam_m5/bin/smartcam_m5.conf
insert ip and port and save (e.g.) :

Code:
192.168.1.2:9361

Last edited by momcilosystem; 2011-07-19 at 19:56. Reason: forgot to say 'as root'
 

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