Open bobby285271 opened 1 year ago
(I will be surprised if this is not my fault :upside_down_face:)
I tried running the where-am-i program before and after the change. When having agent installed, both GTK_USE_PORTAL=1 where-am-i
and where-am-i
reports correct location of mine (if that matters).
When having no agent installed, GTK_USE_PORTAL=1 where-am-i
reports CRITICAL **: 23:36:57.492: Failed to connect to GeoClue2 service: Start failed
and where-am-i
reports CRITICAL **: 23:38:07.599: Failed to connect to GeoClue2 service: Timeout was reached
.
looking at geoclue code, we still need the agent to check if the geolocation was disabled system wide and showing the agent for host process that have a .desktop file but isn't using the location portal. removing the agent seems like a error.
What Happened?
(Originally posted in https://github.com/elementary/seeds/issues/100#issuecomment-1562310351)
Since pantheon-agent-geoclue2 is not maintained anymore I am trying to follow the change in NixOS but got stuck.
I am actually trying to do some testing with flatpak
com.belmoussaoui.ashpd.demo
, for some reasons with the change I can make location requests but no longer can get aLocationUpdated
response, this is not the case when I have eitherpantheon-agent-geoclue2
orgeoclue-demo-agent
installed (natively). Since ubuntu's geoclue-2.0 package providesgeoclue-demo-agent
, I am not sure if I should enable that in NixOS also.We have geoclue 2.7.0 and https://github.com/elementary/default-settings/pull/279, https://github.com/elementary/switchboard-plug-security-privacy/pull/148 are backported when testing.
Steps to Reproduce
flatpak run com.belmoussaoui.ashpd.demo
Expected Behavior
Receive
LocationUpdated
onorg.freedesktop.portal.Location
OS Version
Other Linux
Software Version
Latest release (I have run all updates)
Log Output
No response
Hardware Info
No response