Virtual GPS simulates GPS receiver, which uses configurable geographic location
Run Virtual GPS from command line as gpsd user:
sudo -u gpsd python3 virtualgps.py
OR
Setup system-wide service:
sudo cp virtualgps.py /usr/local/bin/
sudo cp virtualgps.service /etc/systemd/system/
sudo systemctl enable virtualgps.service
sudo systemctl start virtualgps.service
Note: Running virtualgps.py as gpsd user ensures that gpsd daemon can access /tmp/virtualgps device. If you run the application as any other user, make sure that access rights are set properly.
None 2: You need gpsd, gpsd-tools, apparmor-utils installed in your system for virtualgps to work. You can install these packages by runnig:
sudo apt install gpsd gpsd-tools apparmor-utils
Virtual GPS device is linked to /tmp/virtualgps file (only when virtualgps.py is running)
You can edit /etc/virtualgps.conf file or use Preferences/Geographic Location menu
If you don't have GPS device but you use applications that require one, you can simulate GPS device with Virtual GPS. While started it reads location from /etc/virtualgps.conf file and feeds it to gpsd daemon. Any application that can get location form gpsd will use your location from configuration file.
File any issues on https://github.com/rkaczorek/virtualgps/issues