The command is in the first post of this thread. That is the patched version. Do not forget to add the ‘–source gnss-share’ when running the flatpak from the command line.
It’s not going to work. You need elevated permissions to access gnss-share’s socket, and you’re not going to get those permissions from within flatpak containers.
The Satellite flatpak is an application independent from Purism. I saw it and wanted to use it to have some easy way to see the status of the GPS on the Librem 5.
The Satellite application project is hosted here.
Well, yes, but this gives every application running as the user access to raw GPS data regardless of whether location services are enabled or not. chmod 777 would work too
The current state is:
To get Satellite 4.1 working you have to add the user (normally purism) to the geoclue group. This bad practice from a security point of view, but for GPS testing it might be handy.
To add the user to the geoclue group, do in a terminal: sudo usermod -a -G geoclue purism
To remove the user again from the geoclue group, do in a terminal: sudo deluser purism geoclue
Note that you have to reboot the phone to make changes to the groups where the user is in effective.
Make sure you have at least version 4.1 of Satellite installed.
You can start Satellite without any command line instructions via its icon, and it should work.
The weird thing is, that Satellite tells me there is ‘No Fix’ and there are no satellites visible (nor any bars in the display). Satellite says that ‘Source is none, model None’ and ‘Lock lost’.
Yet my location, both in Satellite and PureMaps is spot on. PureMaps is accurate to within a meter of my actual position; it’s spookily precise.
{Oh, and I switched off my wifi positioning.}
I would say there is something wrong with Satellite.