Thread: [Fremantle Maemo5+Harmattan Maemo6] [Announce] gpscon gps position cli shell console
View Single Post
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#44
Maybe this is interesting for sfos users. I uploaded a tool so called gpstoggle which toggles the gps chip power and the location permission.
So now you could change the status via remote access, script, cron and so on. Only thing is that you need root rights.
gpstoggle

edit: tested with sailfish 3.0.0.8 and it changes on a really safe way a systemfile /etc/location/location.conf. But when this file get changed in future releases this app could fail.

Last edited by Halftux; 2018-11-30 at 01:57.
 

The Following 3 Users Say Thank You to Halftux For This Useful Post: