ubuntu-location-service  ..
An aggregating location service providing positioning and geocoding capabilities to applications.
/build/location-service-RTD1Vg/location-service-3.0.0+16.10.20160811/doc/tips_n_tricks.md
Go to the documentation of this file.
1 # Tips'n'Tricks
2 
3 ## Mark HERE license as accepted from cmdline
4 
5  sudo LC_ALL=C gdbus call --system --dest org.freedesktop.Accounts --object-path /org/freedesktop/Accounts/User32011 --method org.freedesktop.DBus.Properties.Set com.ubuntu.location.providers.here.AccountsService LicenseAccepted '<true>'
6 
7 ## Force startup after ofono and NM are started
8 
9 This is a *workaround* to get connectivity API to collect; mount your
10 system read-write and edit
11 /etc/init/ubuntu-location-provider-here-slpgwd.conf:
12 
13  sudo mount -o remount,rw /
14  sudo vi /etc/init/ubuntu-location-provider-here-slpgwd.conf
15 
16 change: `start on started dbus and (started ofono or started network-manager)`
17 to: `start on started dbus and started ofono and started network-manager`
18 
19  sudo mount -o remount,ro /
20  sync
21  sudo reboot