Advertisement
neochapay

Untitled

Feb 14th, 2022
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.86 KB | None | 0 0
  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.  
  8. # Agent configuration options
  9. [agent]
  10.  
  11. # Whitelist of desktop IDs (without .desktop part) of all agents we recognise,
  12. # separated by a ';'.
  13. whitelist=geoclue-demo-agent;gnome-shell;io.elementary.desktop.agent-geoclue2;sm.puri.Phosh;lipstick
  14.  
  15. # Network NMEA source configuration options
  16. [network-nmea]
  17.  
  18. # Fetch location from NMEA sources on local network?
  19. enable=true
  20.  
  21. # use aa nmea unix socket as the data source
  22. nmea-socket=/var/run/gpsd.sock
  23.  
  24. # 3G source configuration options
  25. [3g]
  26.  
  27. # Enable 3G source
  28. enable=true
  29.  
  30. # CDMA source configuration options
  31. [cdma]
  32.  
  33. # Enable CDMA source
  34. enable=true
  35.  
  36. # Modem GPS source configuration options
  37. [modem-gps]
  38.  
  39. # Enable Modem-GPS source
  40. enable=true
  41.  
  42. # WiFi source configuration options
  43. [wifi]
  44.  
  45. # Enable WiFi source
  46. enable=true
  47.  
  48. # URL to the WiFi geolocation service. If not set, defaults to Mozilla's
  49. # Location Service with a hardcoded key. To use a custom key, uncomment this URL
  50. # while changing YOUR_KEY to your MLS API key.
  51. #url=https://location.services.mozilla.com/v1/geolocate?key=YOUR_KEY
  52.  
  53. # To use the Google geolocation service instead of Mozilla's, uncomment this URL
  54. # while changing YOUR_KEY to your Google API key.
  55. #
  56. # WARNING: Please make sure that you are complying with the Google's ToS and
  57. # policies if you uncomment this:
  58. #
  59. # https://developers.google.com/maps/documentation/geolocation/policies
  60. #
  61. #url=https://www.googleapis.com/geolocation/v1/geolocate?key=YOUR_KEY
  62.  
  63. # Submit data to Mozilla Location Service
  64. # If set to true, geoclue will automatically submit network data to Mozilla
  65. # each time it gets a GPS lock.
  66. #
  67. submit-data=false
  68.  
  69. # URL to submission API of Mozilla Location Service. If not set, defaults to
  70. # Mozilla's API with a hardcoded key. To use a custom key, uncomment this URL
  71. # while changing YOUR_KEY to your MLS API key.
  72. #submission-url=https://location.services.mozilla.com/v1/submit?key=YOUR_KEY
  73.  
  74. # A nickname to submit network data with. A nickname must be 2-32 characters long.
  75. submission-nick=geoclue
  76.  
  77. # Compass configuration options
  78. [compass]
  79.  
  80. # Enable Compass
  81. enable=true
  82.  
  83. # Application configuration options
  84. #
  85. # NOTE: Having an entry here for an application with allowed=true means that
  86. # geoclue will not ask agent to authorize the application. This is to
  87. # ensure that applications with built-in authorization mechanism (e.g web
  88. # browsers) do not have to be bound to agents.
  89. #
  90. # If your application is denied access to location information and your
  91. # operating system doesn't provide any mechanism to change that, it is
  92. # likely a bug in your operation system (or geoclue). The solution is to
  93. # report the issue with all details, rather than adding your application
  94. # to this list.
  95. #
  96. # Format:
  97. #
  98. # # Desktop ID of application without .desktop part
  99. # [random-app]
  100. #
  101. # # Allowed access to location information?
  102. # allowed=true|false
  103. #
  104. # # Is application a system component?
  105. # system=true|false
  106. #
  107. # # List of UIDs of all users for which this application is allowed location
  108. # # info access, separate by ';'. Keep it empty for allowing it for all users.
  109. # users=
  110.  
  111. [gnome-datetime-panel]
  112. allowed=true
  113. system=true
  114. users=
  115.  
  116. [gnome-color-panel]
  117. allowed=true
  118. system=true
  119. users=
  120.  
  121. [org.gnome.Shell]
  122. allowed=true
  123. system=true
  124. users=
  125.  
  126. [io.elementary.desktop.agent-geoclue2]
  127. allowed=true
  128. system=true
  129. users=
  130.  
  131. [sm.puri.Phosh]
  132. allowed=true
  133. system=true
  134. users=
  135.  
  136. [epiphany]
  137. allowed=true
  138. system=false
  139. users=
  140.  
  141. [firefox]
  142. allowed=true
  143. system=false
  144. users=
  145.  
  146. [lipstick]
  147. allowed=true
  148. system=true
  149. users=
  150.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement