LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-06-2021, 10:10 AM   #1
dadcompton
LQ Newbie
 
Registered: Jan 2017
Location: PA
Distribution: Slackware
Posts: 7

Rep: Reputation: Disabled
Geolocation


Running Slackware current. Geolocation doesn't work in Falkon or Firefox. Using cinnamon desktop built from slackbuild. Tried using gsettings to set it but it still doesn't work. Any ideas?
 
Old 06-06-2021, 10:48 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
sorry, which kind of geolocation do you expect to work?
can you please make some examples?
 
Old 06-06-2021, 10:59 AM   #3
dadcompton
LQ Newbie
 
Registered: Jan 2017
Location: PA
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: Disabled
Geolocation

Trying to watch locast.org. It's a free streaming service that shows a schedule by your location. If I download firefox and run it from a folder geolocation works. Does this help at all?

Last edited by dadcompton; 06-06-2021 at 11:01 AM.
 
Old 06-06-2021, 11:13 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
I don't think it's that: when you load locast.org it should ask you for permission to access your position and if you grant that permission it should work fine.
does it ask you for that permission?
 
Old 06-06-2021, 11:18 AM   #5
dadcompton
LQ Newbie
 
Registered: Jan 2017
Location: PA
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: Disabled
Geolocation

It does ask. I click allow and remember my choice. Locast says I denied the request. Checked Settings->Privacy & Security->Permissions and locast.org is allowed in Location.
 
Old 06-06-2021, 11:25 AM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
I'm able to reproduce this with firefox-89.0 in current but not with a custom-built version of firefox (just a version bump to 90.0b2, the script is the same) so maybe it's a temporary problem depending on how it was built but it could probably go away at the next upgrade...
 
1 members found this post helpful.
Old 06-06-2021, 11:26 AM   #7
dadcompton
LQ Newbie
 
Registered: Jan 2017
Location: PA
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: Disabled
geolocation

Ok. Thank you.
 
Old 06-08-2021, 02:55 AM   #8
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,540

Rep: Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309
Quote:
Originally Posted by dadcompton View Post
It does ask. I click allow and remember my choice. Locast says I denied the request. Checked Settings->Privacy & Security->Permissions and locast.org is allowed in Location.
The site most likely has a Geo IP database and your IP isn't registered as being within the US.
 
Old 06-08-2021, 04:24 AM   #9
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,355

Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
Hi,

You could also check

about:config

geo.enable : false / true

Last edited by marav; 06-08-2021 at 04:28 AM.
 
Old 06-08-2021, 05:29 AM   #10
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,355

Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
I don't know why but there is a difference between the built-in firefox & Firefox Nightly (binaries from mozilla website)

With built-in one, geoloc doesn't seem to work
While it works with nightly

nb: the first screenshot is the error message from openstreetmap with built-in firefox 89 (and it's the same with google maps, yandex maps, etc ...)
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20210608_122016.png
Views:	27
Size:	9.8 KB
ID:	36545   Click image for larger version

Name:	Screenshot_20210608_122430.png
Views:	21
Size:	145.3 KB
ID:	36546  

Last edited by marav; 06-08-2021 at 05:31 AM.
 
Old 06-08-2021, 05:35 AM   #11
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,355

Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
And,
It works fine with firefox 89 (binaries from mozilla) ...
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20210608_123441.jpg
Views:	12
Size:	65.0 KB
ID:	36547  
 
Old 06-08-2021, 07:31 AM   #12
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,355

Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
Google and/or Mozilla Localtion Service Keys are missing

Firefox 89 ship with slackware : screenshot 1 (142700)
Firefox 89 from mozilla.org : screenshot 2 (142804)
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20210608_142700.png
Views:	41
Size:	8.7 KB
ID:	36548   Click image for larger version

Name:	Screenshot_20210608_142804.png
Views:	40
Size:	6.9 KB
ID:	36549  
 
Old 07-15-2021, 05:48 AM   #13
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,355

Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
It finally works

Here is the tweak :

about:config

search for :
geo.provider.network.url

replace the url (googleapi) with :

Code:
https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%

Last edited by marav; 07-15-2021 at 05:50 AM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what can be used as a device for geolocation? eantoranz Linux - Hardware 6 09-10-2012 12:24 PM
LXer: Geolocation for Nagios LXer Syndicated Linux News 0 07-03-2012 04:50 PM
geolocation software for linux freeworldsid Linux - Software 5 05-18-2012 01:14 PM
LXer: New Features in digiKam 2.0:*Geolocation LXer Syndicated Linux News 0 03-24-2011 04:10 PM
LXer: Display your geolocation data with Viking LXer Syndicated Linux News 0 09-04-2008 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration