View Single Post
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#730
Originally Posted by Win7Mac View Post
Not (yet) possible. That guy uses 1 text size (normal) and 1 font (Pure), nothing mixed.




This works, but I still have that nasty "}" in white (default in BB) before "Flugmodus an ✈".
I also dropped the -1 evaluation from the script, too.
I quadro-checked for syntax errors, but there aren't; every opening bracket has a closing bracket. Very strange.
But when I run the script from terminal the output is fine with flightmode ON and OFF.

EDIT: Did some further testing and when I edit this line
Code:
{cell-signal-strength?{script: sh signalbar.sh}}{{red}}{cell-signal-strength!Flugmodus an ✈}
to
Code:
{cell-signal-strength?script: sh signalbar.sh}}{{red}}{cell-signal-strength!Flugmodus an ✈}
the outcome is fine when in flightmode, but the script does not get called when NOT in flightmode.
Seems to me Billboard has a problem here. Any ideas?
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 output for syntax errors? Maybe try it the other way around?

{{red}}{cell-signal-strength!Flugmodus an ✈}{cell-signal-strength?{script: sh signalbar.sh}}

Edit:

This will work:

{{red}}{cell-signal-strength!Flugmodus an ✈}{cell-signal-strength?{script: sh signalbar.sh}

Although, I think this is a bug. IMO every opening bracket should have a closing bracket.

Originally Posted by slarti View Post
Does anyone know how to get the current cellular radio mode (2g or 3g)?
I'll answer this myself.

Code:
~ $ develsh
~ $ qdbus --system com.nokia.csd.CSNet /com/nokia/csd/csnet com.nokia.csd.CSNet.RadioAccess.Technology

Last edited by slarti; 2013-03-22 at 21:23.
 

The Following 2 Users Say Thank You to slarti For This Useful Post: