View Single Post
Posts: 119 | Thanked: 124 times | Joined on Jan 2010 @ Brazil
#5
Originally Posted by hypnotik View Post
Do you know of a way to launch the maps app from command line (xterm?) passing arguments to display a certain location or create a routing between two points?
I'd like to launch the maps app from another application.
I tried to look for Ovi Maps config files directly from X-Terminal and tried to pass arguments when starting Maps, but didn't find any help file.

If I remember right the command to start it through the command line is /usr/bin/nokia-maps

If you are interested the following command will search through directories and files for the pattern "*map*" and stops at each page using the command more. The symbol "|" (pipe) can be found on [Sym] key:

$ find / -name *map* -print 2> /dev/null | more
....
/usr/bin/nokia-maps
....
/usr/lib/nokiamaps-navigation-provider
....

If you would like to launch Ovi Maps do it as the normal user, not root, since the environment variables are not defined for root:

$ /usr/bin/nokia-maps