Forum: MeeGo / Harmattan
05-15-2013, 10:32 AM
|
|
Replies: 1,331
Views: 133,410
Re: [Announce] ProfileMatic for Harmattan
I see what you mean, but I still think it's more down to luck what you see as percentage in the morning. Let's say it takes two hours to charge the phone to 100% from 20%. You go to bed for eight...
|
Forum: MeeGo / Harmattan
05-15-2013, 09:38 AM
|
|
Replies: 1,331
Views: 133,410
Re: [Announce] ProfileMatic for Harmattan
AFAIK, if you leave your device to charge overnight it charges the phone to 100% and then stops charging (the battery would be damaged if it was "overcharged"). Then, when some threshold (~90%) is...
|
Forum: MeeGo / Harmattan
04-29-2013, 08:24 AM
|
|
Replies: 882
Views: 112,802
Re: [Support thread] Billboard Standby Screen
#!/bin/sh
reply=""
if $(qdbus | grep org.tgalal.wazapp > /dev/null)
then
reply=`qdbus org.tgalal.wazapp /org/maemo/contextkit/Wazapp/Online org.maemo.contextkit.Property.Get | sed -n 1p`
fi
...
|
Forum: MeeGo / Harmattan
04-19-2013, 08:16 AM
|
|
Replies: 882
Views: 112,802
Re: [Support thread] Billboard Standby Screen
The indentations are tab lengths. In other words, one level of indentation is one press of a tab key and two levels is two presses and so on. The command continue is at two levels of indentation.
...
|
Forum: MeeGo / Harmattan
04-19-2013, 12:53 AM
|
|
Replies: 882
Views: 112,802
|
Forum: MeeGo / Harmattan
04-18-2013, 12:47 PM
|
|
Replies: 882
Views: 112,802
Re: [Support thread] Billboard Standby Screen
You have some weird characters in the indentations. What did you use to save the scripts?
Use nano to edit the characters out and you'll be fine.
http://i.imgur.com/xjIjo0zl.jpg...
|
Forum: MeeGo / Harmattan
04-18-2013, 11:29 AM
|
|
Replies: 882
Views: 112,802
Re: [Support thread] Billboard Standby Screen
Hi, utf-8 encoding doesn't have anything to do with the above python scripts not working. gprs_usage.py doesn't output any special characters and profilematic_active_rules.py encodes everything it...
|
Forum: MeeGo / Harmattan
04-04-2013, 03:27 PM
|
|
Replies: 1,331
Views: 133,410
Re: [Announce] ProfileMatic for Harmattan
Ok, the finnish translation is up to date, I think. Were there any such strings outside of QmlRuleUtil?
The transifex editor is really annoying with these "invisible" spaces. It simply won't show...
|
Forum: MeeGo / Harmattan
04-04-2013, 02:33 AM
|
|
Replies: 1,331
Views: 133,410
Re: [Announce] ProfileMatic for Harmattan
I was wondering about that. It's almost impossible to see the preceding or following spaces in the transifex editor, so maybe add a note to these strings?
That's why I wasn't sure what was...
|
Forum: MeeGo / Harmattan
04-03-2013, 05:19 AM
|
|
Replies: 1,331
Views: 133,410
Re: [Announce] ProfileMatic for Harmattan
Yes, they seem to be fixed.
I found a couple more:
- In the 'about' -section at least the close button should be translated but I'm not sure about the rest.
- In the alarm action the time to...
|
Forum: Applications
04-01-2013, 12:32 PM
|
|
Replies: 164
Views: 17,067
|
Forum: MeeGo / Harmattan
04-01-2013, 10:21 AM
|
|
Replies: 1,331
Views: 133,410
Re: [Announce] ProfileMatic for Harmattan
Ok, got it working. A few things after a quick test with the finnish translation:
- the .qm file should be tr_fi.qm, not ts_fi.qm as in your post.
- in the battery condition, the 'not...
|
Forum: MeeGo / Harmattan
03-27-2013, 11:26 AM
|
|
Replies: 882
Views: 112,802
Re: [Support thread] Billboard Standby Screen
The magic line is this:
{script: develsh signalbar.sh}
I may have been the one to suggest doing this...:o
It does work when the property is not empty. For example, {battery?{script:sh...
|
Forum: MeeGo / Harmattan
03-27-2013, 11:01 AM
|
|
Replies: 1,331
Views: 133,410
Re: [Announce] ProfileMatic for Harmattan
I started the finnish translation but I'm not sure if you want to do that yourself?
I had a bit of trouble finding the button to add a translation because I've never seen a "FreeForAll". However,...
|
Forum: MeeGo / Harmattan
03-26-2013, 11:15 AM
|
|
Replies: 882
Views: 112,802
|
Forum: MeeGo / Harmattan
03-23-2013, 05:23 PM
|
|
Replies: 882
Views: 112,802
Re: [Support thread] Billboard Standby Screen
For that, use:
qdbus --system com.nokia.csd.CSNet /com/nokia/csd/csnet com.nokia.csd.CSNet.RadioAccess.SelectionMode
(You'll need to run it with develsh)
Here is what I have for changing...
|
Forum: MeeGo / Harmattan
03-22-2013, 05:16 PM
|
|
Replies: 882
Views: 112,802
Re: [Support thread] Billboard Standby Screen
Now I really have no idea why the extra bracket is there.
I do see why the script doesn't get called when not in flight mode with the latter line but I think you do, too. Did you check the script...
|
Forum: MeeGo / Harmattan
03-21-2013, 12:40 PM
|
|
Replies: 882
Views: 112,802
Re: [Support thread] Billboard Standby Screen
Use echo instead of printf, or use %% with printf to get a single "%".
This works for me. I have no idea why it doesn't for you.
That's because the {cell-signal-strength} property isn't...
|
Forum: MeeGo / Harmattan
03-21-2013, 08:49 AM
|
|
Replies: 882
Views: 112,802
Re: [Support thread] Billboard Standby Screen
Ok, you shouldn't put the tag in to the script but you should call the script with it.
{cell-signal-strength?{script: sh signalbar.sh}}
This ties the execution of the script to changes in the...
|
Forum: MeeGo / Harmattan
03-21-2013, 12:32 AM
|
|
Replies: 882
Views: 112,802
Re: [Support thread] Billboard Standby Screen
As far as functionality goes, nothing. I guess that it's cheaper for BB to go for the image directly instead of it running the shell script every time the signal strength changes.
And one doesn't...
|
Forum: MeeGo / Harmattan
03-20-2013, 03:10 PM
|
|
Replies: 882
Views: 112,802
Re: [Support thread] Billboard Standby Screen
For a dynamically changing signalbar image, in Billboard write:
<</usr/share/themes/blanco/meegotouch/icons/icon-s-status-network{cell-signal-bars}.png>>
@thp:
Have you done any testing on...
|
Forum: MeeGo / Harmattan
03-20-2013, 01:53 PM
|
|
Replies: 882
Views: 112,802
|
Forum: MeeGo / Harmattan
03-08-2013, 01:17 PM
|
|
Replies: 1,331
Views: 133,410
Re: [Announce] ProfileMatic for Harmattan
Updated my scripts to be compatible with ProfileMatic 2.1
Alarm rule (https://github.com/slarti42/Alarm-rule-for-ProfileMatic/blob/master/script.py)
Set alarm from command line...
|
Forum: MeeGo / Harmattan
02-23-2013, 05:38 AM
|
|
Replies: 1,331
Views: 133,410
Re: [Announce] ProfileMatic for Harmattan
Turns out setting an alarm from the command line is now extremely simple thanks to PMs executeAction method. Was that always there?
Here is a simple script that takes seconds as an argument. If...
|
Forum: MeeGo / Harmattan
02-22-2013, 03:39 AM
|
|
Replies: 1,331
Views: 133,410
Re: [Announce] ProfileMatic for Harmattan
This works.
This explains why it has sometimes seemed like the rule actions failed to execute. I just didn't wait long enough.
You're right, not much sense in the extra precision.
|