0

Since upgrade to 18.10 and gnome-clocks 3.30 I am prompted every time to confirm permission to access geolocation. I see that gnome-clocks has an entry in dconf but I don't see an entry for this permission.

Update : I built and install 3.31.2. Now the error message has more information

Failed to connect to GeoClue2 service:
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: 
Agent rejected 'org.gnome.clocks' for user '1000'. 
Please ensure that 'org.gnome.clocks' has installed 
a valid org.gnome.clocks.desktop file.

The dconf config through dconf dump shows this: [org/gnome/clocks] timer=uint32 1200 alarms=[{'name': <'Alarm'>, 'id': <'5a21b7926c6c553218b671425c316095'>, 'active': , 'hour': <18>, 'minute': <20>, 'days': <@ai []>}] world-clocks=@aa{sv} []

[org/gnome/clocks/state/window]
size=(870, 683)
state=132
panel-id='stopwatch'

How do I fix this?

  • is it a snap version or APT? – PRATAP Jan 12 at 16:27
  • It is APT. I've added an error message from gnome-clocks when started from command line. – Stephen Boston Jan 12 at 16:39
  • can you attach the pic of prompt also please – PRATAP Jan 12 at 16:45
  • 1
    github.com/jonls/redshift/issues/318 may this help? – PRATAP Jan 12 at 16:53
  • I have built the latest from github and am getting a more informative error message. I have edited my question to include this new information. – Stephen Boston Jan 13 at 16:19
0

To /etc/geoclue/geoclue.conf add :

[org.gnome.clocks]
allowed=true
system=true
users=

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.