geoclue.conf 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. # Configuration file for Geoclue
  2. #
  3. # NOTE: All configurations settings below are mandatory and the defaults are
  4. # what you see before you edit them. If you want to keep the default
  5. # values around, copy and comment out the appropriate line(s) before
  6. # changing them.
  7. # Agent configuration options
  8. [agent]
  9. # Whitelist of desktop IDs (without .desktop part) of all agents we recognise,
  10. # separated by a ';'.
  11. whitelist=geoclue-demo-agent;gnome-shell;io.elementary.desktop.agent-geoclue2
  12. # Network NMEA source configuration options
  13. [network-nmea]
  14. # Fetch location from NMEA sources on local network?
  15. enable=false
  16. # 3G source configuration options
  17. [3g]
  18. # Enable 3G source
  19. enable=false
  20. # CDMA source configuration options
  21. [cdma]
  22. # Enable CDMA source
  23. enable=false
  24. # Modem GPS source configuration options
  25. [modem-gps]
  26. # Enable Modem-GPS source
  27. enable=false
  28. # WiFi source configuration options
  29. [wifi]
  30. # Enable WiFi source
  31. enable=false
  32. # URL to the WiFi geolocation service. If not set, defaults to Mozilla's
  33. # Location Service with a hardcoded key. To use a custom key, uncomment this URL
  34. # while changing YOUR_KEY to your MLS API key.
  35. #url=https://location.services.mozilla.com/v1/geolocate?key=YOUR_KEY
  36. # To use the Google geolocation service instead of Mozilla's, uncomment this URL
  37. # while changing YOUR_KEY to your Google API key.
  38. #
  39. # WARNING: Please make sure that you are complying with the Google's ToS and
  40. # policies if you uncomment this:
  41. #
  42. # https://developers.google.com/maps/documentation/geolocation/policies
  43. #
  44. #url=https://www.googleapis.com/geolocation/v1/geolocate?key=YOUR_KEY
  45. # Submit data to Mozilla Location Service
  46. # If set to true, geoclue will automatically submit network data to Mozilla
  47. # each time it gets a GPS lock.
  48. #
  49. submit-data=false
  50. # URL to submission API of Mozilla Location Service. If not set, defaults to
  51. # Mozilla's API with a hardcoded key. To use a custom key, uncomment this URL
  52. # while changing YOUR_KEY to your MLS API key.
  53. #submission-url=https://location.services.mozilla.com/v1/submit?key=YOUR_KEY
  54. # A nickname to submit network data with. A nickname must be 2-32 characters long.
  55. submission-nick=geoclue
  56. # Application configuration options
  57. #
  58. # NOTE: Having an entry here for an application with allowed=true means that
  59. # geoclue will not ask agent to authorize the application. This is to
  60. # ensure that applications with built-in authorization mechanism (e.g web
  61. # browsers) do not have to be bound to agents.
  62. #
  63. # If your application is denied access to location information and your
  64. # operating system doesn't provide any mechanism to change that, it is
  65. # likely a bug in your operation system (or geoclue). The solution is to
  66. # report the issue with all details, rather than adding your application
  67. # to this list.
  68. #
  69. # Format:
  70. #
  71. # # Desktop ID of application without .desktop part
  72. # [random-app]
  73. #
  74. # # Allowed access to location information?
  75. # allowed=true|false
  76. #
  77. # # Is application a system component?
  78. # system=true|false
  79. #
  80. # # List of UIDs of all users for which this application is allowed location
  81. # # info access, separate by ';'. Keep it empty for allowing it for all users.
  82. # users=
  83. [gnome-datetime-panel]
  84. allowed=false
  85. system=true
  86. users=
  87. [gnome-color-panel]
  88. allowed=false
  89. system=true
  90. users=
  91. [org.gnome.Shell]
  92. allowed=false
  93. system=true
  94. users=
  95. [io.elementary.desktop.agent-geoclue2]
  96. allowed=false
  97. system=true
  98. users=
  99. [epiphany]
  100. allowed=false
  101. system=false
  102. users=
  103. [firefox]
  104. allowed=false
  105. system=false
  106. users=