inzanity / geoclue-mock

Simple geoclue location faker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

geoclue-mock a location faker for GeoClue

This little location provider for geoclue can be used to fake location. It provides location set in gsettings to GeoClue.

Installation

autoreconf -i
./configure
make install
glib-compile-schemas /usr/share/glib-2.0/schemas

Usage

gsettings set fi.inz.GeoclueMock latitude 12.34
gsettings set fi.inz.GeoclueMock longitude 43.21
gsettings set fi.inz.GeoclueMock fuzz 0.01
gesttings set fi.inz.GeoclueMock active true

Then launch your favourite app that uses geoclue and it should get the faked position.

About

Simple geoclue location faker

License:GNU General Public License v2.0


Languages

Language:C 80.3%Language:M4 11.0%Language:Makefile 8.7%