On Fri, Aug 13, 2021, 10:42 AM John Weiser <john.c.weiser@...> wrote:
Where in the following do I add those two lines? After the end ees server? Somewhere else? Just want to make sure I am adding it to the right place
On Fri, Aug 13, 2021 at 9:29 AM km4ack <jason.oleham@...> wrote:
Your grid file appears to be fine but you are missing an entry from your crontab. To edit the crontab, run: crontab -e if it asks you to choose and editor, choose "nano easiest" Now paste the following two line at the bottom of the file:
It is HIGHLY recommend that you use copy/paste. If you must enter manually, every character including spaces is CRITICAL. After adding the two lines above press ctrl+s (to save) ctrl+x (to exit)
Now a quick explanation: The crontab entry runs the /home/pi/bin/conky/grid script every minute. The grid script captures the grid from the GPS and writes it to a file in RAM. Conky then reads the file from RAM and displays the grid on the desktop. Because the file that contains the grid is held in RAM, it gets erased with every reboot. As such, you will continue to see "NO GPS" in Conky until the GPS has a lock and the scripts have a few minutes after the lock to be run in the background when you boot the Pi.