maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Desktop Command Execution Widget scripts (https://talk.maemo.org/showthread.php?t=39177)

fpp 2010-04-12 09:31

Re: Desktop Command Execution Widget scripts
 
Quote:

Originally Posted by cpscotti (Post 606046)
I just uploaded a new version to -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..

Has anyone succeeded in upgrading this ? I see it in app manager but it has missing dependencies, just like most other updates since the extras-devel autobuilder was "promoted" to the PR1.2 SDK :-(

This situation is getting *really* old...

sygys 2010-04-12 14:19

Re: Desktop Command Execution Widget scripts
 
This is garbage! please post usefull info!!!!!!! Like codes we can use!!

Rob1n 2010-04-12 14:23

Re: Desktop Command Execution Widget scripts
 
Quote:

Originally Posted by sygys (Post 606951)
This is garbage! please post usefull info!!!!!!! Like codes we can use!!

Erm - perhaps you could post some useful info. Like a reference to what you think is garbage, what codes you want, and what you want to use them for. Your message makes absolutely zero sense otherwise.

Robb 2010-04-12 20:43

Re: Desktop Command Execution Widget scripts
 
I am currently using 0.9 (very buggy).
Cannot upgrade to 1.10 because of missing dependency libhildon1.

noobmonkey 2010-04-12 20:45

Re: Desktop Command Execution Widget scripts
 
Quote:

Originally Posted by Robb (Post 607532)
I am currently using 0.9 (very buggy).
Cannot upgrade to 1.10 because of missing dependency libhildon1.

will resolve itself with PR1.2, just means the latest version got built recently on the autobuilder - which is using the new version ;)

Hopefully not long now :D

andy_con 2010-04-12 20:55

Re: Desktop Command Execution Widget scripts
 
Quote:

Originally Posted by Robb (Post 607532)
I am currently using 0.9 (very buggy).
Cannot upgrade to 1.10 because of missing dependency libhildon1.

same .

Robb 2010-04-12 21:39

Re: Desktop Command Execution Widget scripts
 
Changed Load: definition http://wiki.maemo.org/Desktop_Comman...t_scripts#Load
from:
Code:

uptime | sed 's/min/:/' | awk -F "[: ]" '{print $12,$13,$14}'

to:
Code:

uptime | sed 's/.*load.*: *//'

It eliminates the awk execution, therefore is much quicker.

rooted 2010-04-12 22:09

Re: Desktop Command Execution Widget scripts
 
Cool, I also improved "uptime" script based on your example.

timperi 2010-04-13 19:21

Re: Desktop Command Execution Widget scripts
 
Hi,

I have a script that freezes hildon when booting.
I resolved it with a little wrapper script that prevents it from running when uptime is less that 120 seconds.

Code:

#!/bin/sh

SAFELIMIT=120

if [ `cat /proc/uptime | awk '{ print int($1) }'` -gt $SAFELIMIT ] ; then
        genplaylists.sh /home/user/MyDocs/.sounds
else
        cat /proc/uptime | awk -v limit="$SAFELIMIT" '{print "T-",limit-int($1)}'
fi

Using this the desktop doesn't freeze when booting, just change your own script instead of the "genplaylists.sh ..." -line.
And you can decrease the safe limit also, 120 seconds is a bit overkill.

bng 2010-04-15 11:42

Re: Desktop Command Execution Widget scripts
 
1)
hi all, I would love to have a script that would send a predefined SMS to specific number, perhaps something similar to what matristain wanted. I only found this article: http://wiki.maemo.org/Phone_control#Send_SMS
thanks for any help

2)
also, increase power of FM transmitter script in the wiki does not work
Code:

rootsh echo 118 > /sys/class/i2c-adapter/i2c-2/2-0063/power_level | echo ""
from reading comments above, would this help?
Code:

echo "echo 118 > /sys/class/i2c-adapter/i2c-2/2-0063/power_level" | sudo gainroot


All times are GMT. The time now is 15:31.

vBulletin® Version 3.8.8