¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Conky not displaying Gridsquare #conky


 

I can't seem to get Conky to display my Gridsquare, Bullseye OS everything updated. Fresh install of Build-A-Pi (BAP). I am definitly getting GPS data when I run cgps -s from terminal I can see my gridsquare and GPS data. I tried other suggestions for installing maidenhead (sudo gem install maidenhead) but I get the gem not found. Yes Ruby is installed and gpsd_clients. I'm out of ideas and any suggestions are appreciated.?


 

I think implementation is still stock.? Check the following on your implementation.

This line in ${HOME}.conkyrc populates the Gridsquare field in the Conky desktop display.

${font Arial:bold:size=12}${color White}Gridsquare ${alignr}${color Yellow}${execi 60 cat /run/user/1000/gridinfo.txt | cut -c1-8}

?

Execute crontab -e and scroll down to see if it contains the following entry that periodically(1 min) excutes and updates gridinfo.txt

*/1 * * * * ${HOME}/bin/conky/grid

?

The bash shell grid uses the shell get-grid to get the grid square info it puts in gridinfo.txt


 

On Mon, Aug 29, 2022 at 09:13 AM, KK7AWA wrote:
I can't seem to get Conky to display my Gridsquare, Bullseye OS everything updated. Fresh install of Build-A-Pi (BAP). I am definitly getting GPS data when I run cgps -s from terminal I can see my gridsquare and GPS data. I tried other suggestions for installing maidenhead (sudo gem install maidenhead) but I get the gem not found. Yes Ruby is installed and gpsd_clients. I'm out of ideas and any suggestions are appreciated.?
Mark is on the right track. We can run the commands manually to check for any errors.

Run this command and see if it will grab the grid or produce any errors:
$HOME/bin/conky/get-grid

If you get no errors, run:
$HOME/bin/conky/grid
?
--
73, de KM4ACK
|
|


 

So when I run?
$HOME/bin/conky/get-grid
I get the error "cannot load such file -- gpsd_client"?

However I am getting gps data when running "cgps -s"?

I check and I have gpsd-client 3.22-4 installed.

If I try sudo gem install gpsd_client?
I get "could not find valid gem 'gpsd_client'"

Is there a difference between gpsd-client and gpsd_client??


 

MIne wasn't working all morning. It was seeing satellites in XGPS, but no fix. I just got a fix, after sitting there for about 30 minutes... Maybe?try to re-engage?the GPS Update Tool in accessories. And... the GPS just went back to "No GPS" in Conky. Could be the solar conditions as of late. Being that i got a grid for a bit, i think it's a conditions error.

-Jon

On Tue, Aug 30, 2022 at 11:16 AM KK7AWA <info@...> wrote:
So when I run?
$HOME/bin/conky/get-grid
I get the error "cannot load such file -- gpsd_client"?

However I am getting gps data when running "cgps -s"?

I check and I have gpsd-client 3.22-4 installed.

If I try sudo gem install gpsd_client?
I get "could not find valid gem 'gpsd_client'"

Is there a difference between gpsd-client and gpsd_client??


 

Correction, that was after 30 minutes?of another restart... so, several hours of no fix, then a fix, 30 minutes after re engaging GPS Update Tool. Still no lock again, i'll reply if i get another fix.


On Tue, Aug 30, 2022 at 12:09 PM Jon [KF0DUQ] via <kf0duq=[email protected]> wrote:
MIne wasn't working all morning. It was seeing satellites in XGPS, but no fix. I just got a fix, after sitting there for about 30 minutes... Maybe?try to re-engage?the GPS Update Tool in accessories. And... the GPS just went back to "No GPS" in Conky. Could be the solar conditions as of late. Being that i got a grid for a bit, i think it's a conditions error.

-Jon

On Tue, Aug 30, 2022 at 11:16 AM KK7AWA <info@...> wrote:
So when I run?
$HOME/bin/conky/get-grid
I get the error "cannot load such file -- gpsd_client"?

However I am getting gps data when running "cgps -s"?

I check and I have gpsd-client 3.22-4 installed.

If I try sudo gem install gpsd_client?
I get "could not find valid gem 'gpsd_client'"

Is there a difference between gpsd-client and gpsd_client??


 

I did nothing and i have a fix again. I am using latest BAP, 32 Bit Bullseye on Pi4 with the USB Glonass/GPS UBlox 7. Device is plugged directly into USB of PI, no other USB attached other than power, and it is about a foot from my window.

And, a minute?later, GPS reads NO GPS. This will be my final share on this, just wanted to pass word that maybe it's just conditions if you are seeing GPS data coming in. Check XGPS, it takes a few minutes for data to populate. ... FIX is back again. Ha.

Regards,
Jon


On Tue, Aug 30, 2022 at 12:12 PM Jon [KF0DUQ] via <kf0duq=[email protected]> wrote:
Correction, that was after 30 minutes?of another restart... so, several hours of no fix, then a fix, 30 minutes after re engaging GPS Update Tool. Still no lock again, i'll reply if i get another fix.

On Tue, Aug 30, 2022 at 12:09 PM Jon [KF0DUQ] via <kf0duq=[email protected]> wrote:
MIne wasn't working all morning. It was seeing satellites in XGPS, but no fix. I just got a fix, after sitting there for about 30 minutes... Maybe?try to re-engage?the GPS Update Tool in accessories. And... the GPS just went back to "No GPS" in Conky. Could be the solar conditions as of late. Being that i got a grid for a bit, i think it's a conditions error.

-Jon

On Tue, Aug 30, 2022 at 11:16 AM KK7AWA <info@...> wrote:
So when I run?
$HOME/bin/conky/get-grid
I get the error "cannot load such file -- gpsd_client"?

However I am getting gps data when running "cgps -s"?

I check and I have gpsd-client 3.22-4 installed.

If I try sudo gem install gpsd_client?
I get "could not find valid gem 'gpsd_client'"

Is there a difference between gpsd-client and gpsd_client??


 

It probably isn't a signal strength or solar interference issue (at least not in the central US) EM78dh, as I use 2 USB U-blox GPSs on my network (one goes to the field with me) for network time and gridsquare reporting. I use Python3 (plus gpsdclient and maidenhead for python3) instead of Ruby/Gem for my determination script (but creates the same /run/user/1000/gridinfo.txt file) and uses chrony and gpsd to give the time ticks to the rest of my network(s). I have rebooted both machines (a VBox Debian 11 VM and an RPi4-4GB) and both locked and synced to the US GPS constellation in minutes.

-- Kevin - kd9efv


 

No not an issue with signal strength or solar interference. I have a GPS lock and gridsquare. I can see all the gps data from terminal using cgps -s.?


 

On Tue, Aug 30, 2022 at 11:16 AM, KK7AWA wrote:
Is there a difference between gpsd-client and gpsd_client??
gpsd-client allows the Pi to interact with the GPS. The script that grabs the data from the GPS was written in Ruby and gpsd_client is a ruby gem that allows Ruby to interact with the gpsd-client. I haven't run into an issue where one couldn't install the gem before. Which Ruby do your have installed? Run:
ruby --version

It should be `ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23)`
Without the gem installed, it won't display the grid in Conky.
--
73, de KM4ACK
|
|
`


 

Yeah I have the listed version of Ruby.


As you can see below. When I try to install the gem 'gpsd_client' it's saying it cannot find it in the repository. Did the gem get deleted? I get the same result when I try to install maidenhead.?


 

As you can see below. When I try to install the gem 'gpsd_client' it's saying it cannot find it in the repository. Did the gem get deleted? I get the same result when I try to install maidenhead.
It looks like there's an issue with your internet connection and you are getting a timeout error from . I just tried and was able to install the gem.
--
73, de KM4ACK
|
|


 

I'm really not sure what is happening. Fresh install and getting the same thing. Is it possible the gem is location locked for download as I'm not in Texas. But this was driving me so crazy I formatted and rebuilt my Pi from scratch. As you can see below no internet connection or GPS issues. But this gem will not install getting the same error as reported above. I am at a loss on this one. Everything else works fine. I just can't get Conky to display the Gridsquare. Not a deal breaker, but now I'm obsessed with solving what the issue can be. :)?


73, KK7AWA


 

So I was finally able to resolve this. Was an internet caching issue with the router that only impacted console commands as it was slowing things down just enough to cause a console level internet acces only to timeout but OS level internet was ok. Weird


 

Having same issue, but only with one set-up, a Pi4.? I have other Pi's and my Evolve Iii running conky and the gridsquare displays just fine.? My problem Pi4's GPS displays satellite data and gives me lat/long, but no gridsquare.? I followed your advice below by running get-grid and grid from the terminal, but for both I get "cannot load such file -- gpsd_client (LoadError)".? I checked and have latest version of gpsd-clients installed.? Also running Ruby 3.1.2p20.? New to Linux but this problem has given me a crash course.? What can I do to fix this?