navit / making announcement not execute a command line call as well

Ed Kapitein ed at
Sun Nov 13 20:50:22 CET 2011

Hi Robin,

I have something like this in my navit.xml:
<speech type="cmdline" data="/home/navit/scripts/ '%s'"/>

and /home/navit/scripts/ is a script  that does some post
processing for speech,
but you can make it do anything i guess.
The %s is passed on to the script as command line parameters, so you
could first handle
$* in the script and then dim/brighten the screen.

Kind regards,

On 11/13/2011 07:32 PM, robin wrote:
> Maybe someone from the openmoko list is using navit and has an idea if one can
> make the <announcement tag not only announce the the next direction to turn to
> but also to execute a command as well.
> My idea would be to have navit fully dimmed if one is travelling on the correct
> path. Once a there are crossings and directions are announced the display will
> change brightness via a fso call. once travelling on the right track again the
> display should be dimmed again.
> anyone has any idea?
> _______________________________________________
> Openmoko community mailing list
> community at

More information about the community mailing list