Skip to content

Location portal does not work on NixOS when no agent are installed #80

@bobby285271

Description

@bobby285271

What Happened?

(Originally posted in elementary/seeds#100 (comment))

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 a LocationUpdated response, this is not the case when I have either pantheon-agent-geoclue2 or geoclue-demo-agent installed (natively). Since ubuntu's geoclue-2.0 package provides geoclue-demo-agent, I am not sure if I should enable that in NixOS also.

We have geoclue 2.7.0 and elementary/default-settings#279, elementary/settings-security-privacy#148 are backported when testing.

Steps to Reproduce

  1. Have no agent installed, including the demo one.
  2. flatpak run com.belmoussaoui.ashpd.demo
  3. Go to "location" and click "start session"
  4. Receive no response.

Expected Behavior

Receive LocationUpdated on org.freedesktop.portal.Location

OS Version

Other Linux

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions