diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-27 06:50:43 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-27 07:03:35 -0600 |
| commit | c40aa6c5367f7cad05a3dc75d01e91849d0a5ebf (patch) | |
| tree | 8c51cb82062464d4832e8b01945fe425609f5b82 | |
| parent | c890f8f3c668822f552661a62b5ccc10be4d15ca (diff) | |
| download | archsetup-c40aa6c5367f7cad05a3dc75d01e91849d0a5ebf.tar.gz archsetup-c40aa6c5367f7cad05a3dc75d01e91849d0a5ebf.zip | |
fix(archsetup): enable BeaconDB for geoclue location service
Default Mozilla Location Service (Ichnaea) API is defunct (returns 404).
Uncomment BeaconDB community replacement URL in geoclue.conf.
| -rwxr-xr-x | archsetup | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1081,6 +1081,12 @@ EOF action="enabling geoclue geolocation service" && display "task" "$action" systemctl enable geoclue.service >> "$logfile" 2>&1 || error_warn "$action" "$?" + # Enable BeaconDB as geoclue wifi location provider (default MLS/Ichnaea API is defunct) + action="configuring geoclue to use BeaconDB location service" && display "task" "$action" + if grep -q '^#url=https://api.beacondb.net/v1/geolocate' /etc/geoclue/geoclue.conf 2>/dev/null; then + sed -i 's|^#url=https://api.beacondb.net/v1/geolocate|url=https://api.beacondb.net/v1/geolocate|' /etc/geoclue/geoclue.conf + fi + # Whitelist gammastep in geoclue config (geoclue demo agent is started via hyprland.conf exec-once) action="whitelisting gammastep in geoclue" && display "task" "$action" if ! grep -q "^\[gammastep\]" /etc/geoclue/geoclue.conf 2>/dev/null; then |
