Notices


Reply
Thread Tools
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#251
Originally Posted by rooted View Post
#!/bin/sh
-dial command-
sleep 290
-end call command-


then execute this script with dcew:

sh /path/script.sh | echo ""
Doesn't this make problems with a time-out? I think DCEW might not wait that long for a script to be ending.
Maybe this could work around:
sh /path/script.sh & ; echo ""
This way, the script would run in background and DCEW would receive the 'output' immediately. I didn't test it, just an idea.
 
matristain's Avatar
Posts: 40 | Thanked: 14 times | Joined on Sep 2009 @ Monterrey Mexico
#252
I just can now make the call and end it the problem y have is when I end the call manually the script make the call again be cause it keeps running.
I try this

if dbus-send --system --dest=com.nokia.csd.Call --print-reply /com/nokia/csd/call com.nokia.csd.Call.Instance.GetStatus = "8" (this is call active, AFAIK)
then
"End call"
else
exit
fi


And get this error
"Data item "=" is badly formed"

Any advice?
 
Posts: 156 | Thanked: 90 times | Joined on Jan 2010
#253
Yeah, it's not THAT easy...

1. forgot #!/bin/sh

2. here:

if [ `dbus-send --system --dest=com.nokia.csd.Call --print-reply /com/nokia/csd/call com.nokia.csd.Call.Instance.GetStatus` = 8 ]
 

The Following 2 Users Say Thank You to rooted For This Useful Post:
Posts: 112 | Thanked: 122 times | Joined on Dec 2009 @ London, United Kingdom
#254
I just uploaded a new version do -devel that addresses many of the bugs described here (including for example the execution at boot, the settings dialog glitches..).

I'll leave it on -devel for some days and then start the promotion process.

Note that I didn't address any feature requests yet.

Enjoy..
__________________
Happy n900 owner!
Check my apps: n900fly, accdisplay and the "desktop command execution" widget!
 

The Following 3 Users Say Thank You to cpscotti For This Useful Post:
Posts: 235 | Thanked: 8 times | Joined on Feb 2010
#255
ive had to uninstall this app as my fone really dont like it. every few hours my n900 freezes, but now its uninstalled its working fine
 
anapospastos's Avatar
Posts: 552 | Thanked: 183 times | Joined on Oct 2009 @ Not decided
#256
I ve set a custom command named temperature with the command "cat /sys/devices/platform/omap34xx_temp/temp1_input" and every time I m doing a reboot it resets to uptime. Is this a known bug?
__________________
My name was Maemo, then it became Meego and now I'm getting a third one. I am Sailfish.
 
Posts: 156 | Thanked: 90 times | Joined on Jan 2010
#257
Originally Posted by cpscotti View Post
I just uploaded a new version do -devel that addresses many of the bugs described here (including for example the execution at boot, the settings dialog glitches..).

I'll leave it on -devel for some days and then start the promotion process.

Note that I didn't address any feature requests yet.

Enjoy..

Does it address the bug associated with hildon-home/desktop freezing?
 
Posts: 112 | Thanked: 122 times | Joined on Dec 2009 @ London, United Kingdom
#258
Originally Posted by anapospastos View Post
I ve set a custom command named temperature with the command "cat /sys/devices/platform/omap34xx_temp/temp1_input" and every time I m doing a reboot it resets to uptime. Is this a known bug?
Very weird! Which version are you using?! things got way better lately... and I don't know why that would happen..
Try removing "/home/user/.desktop_cmd_exec" to clean your settings file and see if that happens again..
__________________
Happy n900 owner!
Check my apps: n900fly, accdisplay and the "desktop command execution" widget!
 
Posts: 112 | Thanked: 122 times | Joined on Dec 2009 @ London, United Kingdom
#259
Originally Posted by rooted View Post
Does it address the bug associated with hildon-home/desktop freezing?
So, if you mean the times that the user command locks, no it does not and since it only occurs with "malicious" commands... one could get around it.
But some older versions had different lock ups that no longer exists.
(as far as I know).
__________________
Happy n900 owner!
Check my apps: n900fly, accdisplay and the "desktop command execution" widget!
 
Posts: 156 | Thanked: 90 times | Joined on Jan 2010
#260
What are the malicious commands?
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:54.