-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enabling location access causes Organic Map to crash (PureOS 10.3) #61
Comments
geoclue.conf:
|
|
It appears, that Guido from Purism implemented a new geoclue agent here. Consequences so far:
A temporary workaround for [app.organicmaps.desktop]
allowed=true
system=false
users= |
@tristanvigar flatpak install --user https://dl.flathub.org/build-repo/51463/app.organicmaps.desktop.flatpakref And then apply the above mentioned |
Can confirm Organic Maps and Geoclue are working together after installing .flatpakref from #62, adding above entry into geoclue.conf and restarting Geoclue service. Thanks for checking into this! If a more permanent solution is identified that I can help validate, feel free to reach out. I'd be happy to help. |
* Certain GUI Shells like [Phosh](https://en.wikipedia.org/wiki/Phosh) implement a `geoclue` agent in which the `desktopId` of the application, that requested positioning is checked against the desktop file of the same application for authorization purposes. See the [location manager of Phosh]( https://gitlab.gnome.org/World/Phosh/phosh/-/blob/main/src/location-manager.c?ref_type=heads#L239) * Needed for flathub/app.organicmaps.desktop#61 Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
* Certain GUI Shells like [Phosh](https://en.wikipedia.org/wiki/Phosh) implement a `geoclue` agent in which the `desktopId` of the application, that requested positioning is checked against the desktop file of the same application for authorization purposes. See the [location manager of Phosh]( https://gitlab.gnome.org/World/Phosh/phosh/-/blob/main/src/location-manager.c?ref_type=heads#L239) * Needed for flathub/app.organicmaps.desktop#61 Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
* Certain GUI Shells like [Phosh](https://en.wikipedia.org/wiki/Phosh) implement a `geoclue` agent in which the `desktopId` of the application, that requested positioning is checked against the desktop file of the same application for authorization purposes. See the [location manager of Phosh]( https://gitlab.gnome.org/World/Phosh/phosh/-/blob/main/src/location-manager.c?ref_type=heads#L239) * Needed for flathub/app.organicmaps.desktop#61 Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
Latest release is working without any manual interventions. Thanks! |
(Posting as separate issue on @Ferenc- 's recommendation)
Updated to new Organic Maps (Organic Maps 2023.09.22-1-3fc5d2277-dirty-Linux) via Flathub on Librem 5 (PureOS 10/6.3.0-1-librem5) today and Organic Maps crashes after when allowing location access (Location Services is already on via Settings). Launched again using flatpak run app.organicmaps.desktop to try to get more information. This is what I saw:
qt.positioning.geoclue2: Unable to start the client: "org.freedesktop.DBus.Error.AccessDenied" "Agent rejected 'app.organicmaps.desktop' for user '1000'. Please ensure that 'app.organicmaps.desktop' has installed a valid app.organicmaps.desktop.desktop file"
Geoclue version: 2.7.0-1pureos1~byz1
Is there anything immediately obvious that I could attempt to troubleshoot with or does this look like a PureOS/Purism issue that I should redirect accordingly? If there is anything I can do to help test, I'm happy to help.
The text was updated successfully, but these errors were encountered: