Conky System Info for Ham Radio Digital Operators
ฝัง
- เผยแพร่เมื่อ 9 ก.ย. 2024
- Conky will display a lot of useful information about your raspberry pi and your amateur radio setup and can be customized to your liking.
🔹Links mentioned in the video
github.com/km4...
🔹Commands used in the video
#Run these next commands in the ~/bin/conky directory
wget raw.githubuser...
wget raw.githubuser...
wget raw.githubuser...
chmod +x *
#Run this command in your home dir ~/
wget raw.githubuser...
#install GPS tools
sudo apt-get install -y ruby2.7
sudo gem install gpsd_client
sudo gem install maidenhead
#cronjob detail
crontab -e
@reboot sleep 20 && export DISPLAY=:0 && /usr/bin/conky
🔹Raspberry Pi Build Guide - tiny.cc/pi4guide
🔹Weekly Newsletter - mailchi.mp/40d...
🔹Follow Me
Instagram @km4ack
Twitter @twitter
🔹FREE Get Started Guide - tiny.cc/getstar...
🔹Cool Ham Gear - km4ack.com
🔹Support the channel through Patreon - / km4ack
🔹Did you just get a raspberry pi and want to hook it up to your radio? Start here • Where to start? Raspbe...
Want your raspberry pi to play nice with your ham radio? Are you into digital modes like FT8, JS8Call, FLDIGI, Winlink, APRS, Digipeaters and others? Each week I put out new content showing you exactly what steps to take to get the latest ham radio software on your raspberry pi. Whether you just want to ragchew or are seriously into emergency preparedness, emcomm, or ARES and want to learn all you can about using the raspberry pi to drive your ham radio, this channel has something for you. Be sure to click the subscribe button and ring the bell before heading off. That way you will get notified of all future videos.
🔹My Shack🔹
Yaesu 857D - amzn.to/2MOAZtx
Yaesu FT65R - amzn.to/2XsOQq5
Raspberry Pi - amzn.to/2WjLzIk
Signalink Soundcard - amzn.to/2EZjxMx
🔹🔹🔹🔹🔹
As an Amazon Associate I earn from qualifying purchases
Hey Jason! Thanks for the information. Just a note though, Ruby is up to 2.7 now. When I tried to run the install for Ruby 2.3 the system said it couldn't find it.
Thanks for the heads up. This video is pretty dated at this point. Will pin your comment as it may help another operator out.
Thank you for this series on the Pi. my Pi4 will be arriving today then the adventure begins.. Thanks again!!
Be sure to check out Build a Pi V3. It is the quickest/easiest way to get the Pi up and running for ham radio.
@@KM4ACK I have to go back to videos to understand and install VNC so that I can "see" what I am doing. I will need to get another SD card because the card that comes with the CanaKit has Noobs preloaded...
Excellent video. A mini masterclass in Linux.
went back to this video to investigate why my maidenhead in conky wasn't updating while gpsd was running after running the build-a-pi script, found the gem maidenhead command in the video! when i ran it it showed installed, which is different from running a second time making me thing it wasn't installed already, now i've got to see if it makes it work now lol. thanks for all the awesome help jason! de KO4OBR
Nice! Thanks for sharing. FYI, I made one tweak to the config to show the local timezone. In the .conkyrc file, change
${color Yellow}LOCAL ${alignr}ZULU
To:
${color Yellow}${execi 90 /bin/date '+LOCAL (%Z)'} ${alignr}ZULU
Great tool, thanks for the video
That’s the great thing about Conky. You can configure it to suit your needs/taste. Just wanted to give you guys a place to start. 73, de KM4ACK
Thanks Jason. I got Conky working on my new RPi4 with the 3 part build all installed. Love the look, the feel and the information provided by Conky. really enjoying all your RasPi videos. Cheers
Thanks Jason, excellent video! I've now added Conky to my Ham Radio Pi :)
I have just installed this prior to viewing your video. very neat program. Now to install your ham package. Maybe tomorrow.
Haven't seen that way of adding an app to start on boot before. Nicely done.
One of my favorite ways. Quick to add/delete when needed. 73, de KM4ACK
Jason this is awesome, a very nice Christmas present for us all. 73 G1AW
Thanks Andy! Wishing you and yours a Merry Christmas. 73, de KM4ACK
I love this and all your videos.... Keep up the great work, I cannot wait to see whats next
Works Great! Got it running real-time as the video ran. Still running on the Pi 3B+. Thanks for all your hard work. And Merry Christmas, DE JS6TRQ / WC8J
Merry Christmas Richard! Love that you do the vids in real time. High-FIVE! 73, de KM4ACK
Been using Conky a while on my mint laptop but the ham specific changes are awesome, thank you.
Thanks John. 73, de KM4ACK
conky is a slick application that's been around for about 10 years, as memory serves me. Your explanation has helped but I still need to learn lua so I can customize more. Merry Christmas to all on Jason's channel and Happy New Year. Best 72 de KB8AMZ
I was just introduced to Conky recently. Fun little app. I don’t know much about Lua but a bit of poking around in the documentation got me to what you see in the video. Merry Christmas Terry. BTW, saw your other comment and email. I’ll get back with you soon. 73, de KM4ACK
Any info data we can see is a great information. Thumbs up !! Merry Christmas Jason !
Merry Christmas and 73, de KM4ACK
Thanks for the great tutorial!
Excellent video! I’m not a ham radio guy, but there was a lot of useful information in here!
Don't stick around this channel for long or we might just convert you :-)
It was working fine on my pi, to include auto start at reboot. I then did a backup of the sd card. After the backup, I expanded the file system on the pi. Now, conky neither autostarts, nor runs at all. I get the following:
conky: Syntax error (/home/pi/.conkyrc:1: '=' expected near 'yes') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: desktop window (14001c6) is subwindow of root window (374)
conky: window type - normal
conky: drawing to created window (0x2e00001)
conky: drawing to double buffer
conky: forked to background, pid is 1933
I note that this is very similar to what others have experienced. I also checked the permissions in the conky directory, and they are as follows:
-rwxr-xr-x 1 pi pi 218 May 30 07:31 get-freq
-rwxr-xr-x 1 pi pi 463 May 30 07:32 get-grid
-rwxr-xr-x 1 pi pi 141 May 30 07:34 grid
Any ideas as to what is going on?
Love this you just save me month of research and testing
Cant yet to start implementing
Awesome! Glad it helped. 73, de KM4ACK
That is pretty nifty. All your hard work figuring this out paid off. Well done and thanks for sharing. Merry Christmas to you and the family 73 de KF7VUT.
Merry Christmas Tim! 73, de KM4ACK
Thanks for the clear directions. Runs great on my Pi 3B+! 73 de AB9NN
Another great tutorial :) :) :)
Excellent use of Conky...
I use it on my Linux Mint Desktop.
Best Wishes to you and your Family
Thanks Dave! 73, de KM4ACK
Awesome tutorial and it works for me just as you instructed, not one glitch at all, a big thank you from Adrian VK4RV.
Jason great stuff as always, thanks. One note: entering cd {without an argument} does the same as cd ~ 73 de n8mac
old habit die hard. :-) 73, de KM4ACK
Hello Jason. A great video -- as always! Merry christmas to you and your family 🌟🎄🌟
Thanks & Merry Christmas! 73, de KM4ACK
Great video Jason really nice treat for us all. Thank you for all your hard work, very much appreciated. Merry Christmas to you and your family 🎄 73 Glenn ZL1MY
Thanks & Merry Christmas Glenn. 73, de KM4ACK
Thanks Jason! Better than the AmRRON Conky! I'm updating thanks and have a bless Christmas! 73s km4pht
Thanks Devin. If you are already running Conky, just swap the config files and reload. Merry Christmas! 73, de KM4ACK
Jason Thank you this is a very nice tool! I wonder If another application could be added to the display it would be YAAC. I have this on my Draws APRS net control station and run YAAC to trac vehicles.
There's no plans to add it at the moment but if you will post this question to the forum, I'll see if I can help you customize your installation. It shouldn't be difficult and will help others that might want to customize their installs as well. groups.io/g/KM4ACK-Pi/topics
SUCCESS ! Thank you !!
Another awesome video, thanks Jason! Keep up the great work, 73 KL7CA
Thanks Chip! 73, de KM4ACK
Followed your instructions and Conky fails to run. Conky ran prior to installing your files.
Any help would be appreciated.
My Conky works fine but I would like it to be a bit closer to the top of my screen if possible. Could you tell me what line to change in .conkyrc file?
Hello everyone. I been trying to install conky but I been getting an error "unable to find file". Is there another way to install gpsd_client and Maidenhead?
This is what I get when trying to run Conky:
pi@raspberrypi:~ $ conky
conky: Syntax error (/home/pi/.conkyrc:1: '=' expected near 'yes') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: can't open display: :0
pi@raspberrypi:~ $
What am I doing wrong?
issues with alignment had t edit the temperature also as the root was not showing the temp and background is not transparent for some reason
This may help - groups.io/g/KM4ACK-Pi/topic/conky_runs_fine_under/104912867?p=,,,20,0,0,0::recentpostdate/sticky,,,20,2,0,104912867,previd%3D9223372036854775807,nextid%3D1710123001646323768&previd=9223372036854775807&nextid=1710123001646323768
Here is a question. I'm following our Pi build for my own go kit. I have a 3.5 inch screen that connects to my GPIO pins. Is it possible to have the Conky show on this screen? leaving my tablet available for just the window/program?
To my knowledge this isn't possible.
Good Evening! I was wondering how I could change the size of Conky on my monitor? I have the resolution set to default but the conky is pretty small. Any help would be appreciated.
You'll need to change the Conky config file found at ~/.conkyrc You can take a look at some of the config files used by Build a Pi at github.com/km4ack/pi-build/tree/master/conky
Hi Jason. I got as far as changing NOCALL for my callsign (M0VXD), saved it and tried to run conky but it's running in an endless loop on the terminal window and there's no display on my main screen?
Probably a syntax error in the config file.
Installed Conky and now Xastir complains about gps. How do I make them play nice together?
Great information ! Thanks for putting all these videos together. After following your instructions I am getting this error
"k4elw@raspberrypi:~ $ conky
conky: Syntax error (/home/k4elw/.conkyrc:1: syntax error near 'yes') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: [string "..."]:159: attempt to call a nil value (global 'loadstring')"
Not sure what I'm doing wrong
jason, this tutorial dont work with new bullseye os, when i run conky comand i get this on lx terminal :
conky: Syntax error (/home/pi/.conkyrc:1: syntax error near 'yes') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: [string "..."]:159: attempt to call a nil value (global 'loadstring')
73 de 9A4TV Tom
I am currently working on a fix that will be included in the next Build a Pi release.
Thank you this is a tool that could be very useful. I will look to see if it can help me with APRS deployments for bike events. It would be nice to have a quick look to know what’s going on.
Interesting use case. Might have to think that one over. 73, de KM4ACK
KM4ACK I will be happy to share what I learn.
Thuff that would be fantastic! 73, de KM4ACK
Great real time status display! 73 KM6TRZ
Great video, trying to find out how to monitor a battery capacity with conky ? Having a PIJuice attached to the RPi. Any ideas ?
So i have 2 problems used the pibuild updater and conky quit wont start at boot and and i cant get rid of the busy error for direwolf i did what you said in the video but it still wont work
Post over on the forum and let's see if we can figure this out groups.io/g/KM4ACK-Pi/topics
Great video! I always love how you describe them in step by step procedures. I have two questions, 1) Can you have the CPU temp. display in Fahrenheit? 2) In one of your previous videos adding Weather Plugin, I can’t get it to find any locations under preferences. Keeps saying “Location not found”. Thanks in advance. Phil de KF4RAF.
I just love Conky on my linux computers. Thank you. Do you have a recommendation for a Conky for Windows 10?
sorry, don't run windows here
Can conky get time from GPS as well or does it just echo the system time? I notice all 3 clocks are showing Zulu.
it echos system time which is set by the GPS if you are without internet and have the GPS configured. Change your local preferences to your time zone and the local time in conky will display it.
Using the latest build a pi script, any idea why my gridsquare is blank?
Post over in the forums and let's see if we can figure it out groups.io/g/KM4ACK-Pi/topics
Jason, is there any way to keep Cronky from displaying off the bottom of my monitor? The best resolution I have is only 1360x768. At that, Cronky disappears just below "DIGITAL APPS". Is my only alternative to reduce font sizes of everything?
run 'bash ~/pi-build/conky/setconky'
@@KM4ACK Whoops! I went ahead and opened the config script in a text editor & adjusted font sizes & space delineators to get everything to fit. I bet the bash script will make things funky. I'd be smart to make a copy of the current config under another name first I bet. Thanks for the advice though.
@@KM4ACK OK, I tried running the bash script twice, both times got 'no such file or directory'. Looking in the conky folder confirms there is no 'setconky' file. I bet I have a earlier install version.
Yes. The setconky script was added to the later version of build a pi. 😫
I couldn't get the setconky to work (errored out on unexpected tokens), but the conky-medium file, located in the same place the other scripts were worked well for me at lower res. There is a smaller one there as well. Just replace the original .conkyrc with it (saving a copy first of course).
Conky starts but I get this error:
conky: Syntax error (/home/pi/.conkyrc:1: '=' expected near 'yes') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: desktop window (1600171) is subwindow of root window (372)
conky: window type - normal
conky: drawing to created window (0x2600001)
conky: drawing to double buffer
conky: forked to background, pid is 6661
Yep. Not a big deal.
@@KM4ACK Ok, I couldn't find anything that was bad so thanks for the confirmation.
Jason, great video tutorial! Could you give some thoughts on adding GPS data from the DRAWS HAT?
The data should be available to gpsd which is how Conky obtains it with a script.
@@KM4ACK Thanks! I will look into it!
I followed all of your instructions but after Gridsquare I see "some err" What am I doing wrong?
You need to install the GPS software and verify the GPS has a lock.
@@KM4ACK I installed the software but I don't have the GPS dongle.
Check out my vid on using your phone GPS.
@@KM4ACK I connected my Pi to my Motorola moto power cell phone's GPS using your instructions and it works great! Conky says my Gridsquare is EN63aa48.
Jason, Fantastic Video, but I had a few problems. 1-Not sure why but several of the commands needed the "sudo" before your suggested command. 2-I have gps running as confirmed by CGPS showing the proper information, but I don't show a grid square -- how do I figure out what I'm missing. 3-I am unable to scroll to show the info at the bottom -- how do I add the scroll feature to the conky window?
Not sure why you would need sudo except for the commands listed with sudo and that might be the problem with not getting the grid square. Are the scripts in ~/bin/conky/ executable? If you downloaded (wget) with sudo, they more than likely now belong to root. This could present a permissions issue which won't allow the script to run and grab the gridsqure when called from Conky. As for scrolling, I don't think that option is available in Conky. I am just starting to explore the options in Conky and will report back if I find a way to do it. The Conky template I built was designed to run on 1920X1080 resolution. It should be easy enough to modify my template and remove a few less important items to get it all to fit on a smaller resolution. 73, de KM4ACK
@@KM4ACK Jason, thanks for the quick reply. The grid, get-grid and get-frequency are all green (executable ) in the /bin/conky directory. I do get the following message when I start conky: "Syntax error (/home/pi/.conkyrc:1: '=' expected near 'yes') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: desktop window (14001c6) is subwindow of root window (25d)
conky: window type - normal"
@@DrSimonRosenberg Hi I'm getting the same Syntax error and also a permission denied when the conkyrc script tries to run the Grid exe:
/bin/bash: /home/pi/bin/conky/grid: Permission denied
@@DrSimonRosenberg check the permissions on the files in the conky folder. CD into the conky directory and run "ls -l" if the files are ---x--x--x then run "chmod 755 *" this will reset the permissions and allow the script to do its thing. It worked for me
I ran build a pi. A lot of things are not installing. Conky installs but just gives a black screen. I get this error in the terminal window: cat: /var/lib/misc/dnsmasq.leases: No such file or directory
Any ideas. I launch conky and its a black screen.
When I attempt to run conky, I get messages similar to what you had, but nothing appears on the screen. The last line that appears in the terminal is "$tail can't find information about /home/pi/Documents/mylog.txt".
I have made some custom mods to conky config file to work with build a pi. Try adding a blank text file to your Documents folder name mylog.txt and see if that will resolve the issue.
@@KM4ACK Thanks! That did it. I spent time trying to find the variable when all I needed was the text file. Unfortunately, the Conky display exceeds the screen vertically. Everything on screen (I'm using VNC) appears larger than it should, almost as if the resolution is off. I have set it to 1920x1080 according to the instructions in the video.
Raif (KG5RUG)
Raif Turner try setting the resolution again using the main pi menu in the GUI.
I know I tried that yesterday to no avail. However, just now it did finally get the display to appear correctly. I had just modified framebuffer settings in config.txt. I wonder if that was necessary. Anyway, thanks so much for all your help!
Raif Turner I haven’t ever adjusted the frame buffer on any of my systems so I don’t think it should be needed. However, if it works....roll with it. 😀
Great video Jason, I ran build a Pi 3 on a 3B+. When I plug my gps in, conky freezes on my screen. My clock continues to run correctly, but I have to unplug my gps and I lose my grid square. Thanks.
Post the question to the forum and let's see if we can get you up and running. groups.io/g/KM4ACK-Pi/topics
KM4ACK thanks Jason. Question has been posted.
Seasoned Greasings to all. Thanks Jason , for another great video. Wanted to share an item will all of us Ham-Pi folks. This link www.raspberrypi.org/forums/viewtopic.php?p=1567915#p1567915 about halfway down is a response from a Raspbian dev , where he says "Long story short, use anything but 'apt-get upgrade' " when building our systems. Problem came about from a user using the standard phrase "apt-get upgrade" and the respository are not catching up. Best to all. Al K7AOZ
I am extremely new to Raspberry PI & lenux I downloaded the Dave Stoddard (?) Ham Pi program. can Conky be added to that? May be in over my head!
Yes. You should be able to add it to HamPi.
I right clicked and there isnt a choice that says, show hidden files? I'm assuming since I cant find or see conkyrc.config, that it will show, once I click show hidden files?
Another way to see the file is open a teminal window and type "ls -a ~/" You can edit the file with "nano ~/.conkyrc" 73, de KM4ACK
@@KM4ACK I dont have conkyrc. I just have conky.conf. When I try to find the file or list hidden files, it shows no such directory. When I try to edit to make a change, it says I dont have permission or it cant open file to write. I could only find a conky file and it it is conky.conf???
mtngr1 sounds like you didn’t use the commands in the description of this video to download the .conkyrc file to your home directory. Or maybe you downloaded to another directory. It’s gotta be in your home directory.
@@KM4ACK My conky is from the Amrron script . I would like to figure this out because the conky now updates about every 2 mins or so and the time us always off and doesnt match the digital computer clock. It has been working fine, but this just started the week of Christmas. I read that I have to edit out the website that us on there and put a different one but I can figure out a way to edit the conkyrc be ause I cant find it..lol..I'm learning how to use my rpi4 as strictly for ham radio so I'm a newbie at this. Thank you for your time. I appreciate your videos!
No problem. You just told me why my directions haven't worked. Those guys do things differently than I do and put apps/config files in different locations. Check with them to find where teh correct one is hiding. FYI...mixing what I do with their install script could make life a lot tougher for you since you are just getting started. I would go one way or the other until you get a feel for what's happening. 73, de KM4ACK
What does the "y" trigger do during install?
Including -y eliminates the system from asking you again if you are sure you want to do this. 73, de KM4ACK
How do you get conky to display the temperature of CPU in Degrees F
It requires changing the .conkyrc file found in your home folder. This feature will be built into Build a Pi 3 which will release soon.
@@KM4ACK I have looked at the conkyrc file. What line do I have to change. I am using your build a pi v3 beta.
After install of Ruby, I get"E: Sub-process /usr/bin/dpkg returned an error code (1)"
Make sure you run 'sudo apt-get update' & 'sudo apt-get upgrade' before trying to install this. 73, de KM4ACK
Do I need to uninstall Ruby after update and upgrade, then reinstall it again? Sure took quite a bit of time to install. Is that correct?
Yes. It can take quite a while if you haven’t updated recently. You should do that on a regular basis and especially before installing apps to avoid issues. Doubt you need to uninstall. Just run the commands again. The system should be able to figure it out since we are using the repository. 73, de KM4ACK
After apt-get update, I get "dpkg: error processing package libopenr2-3 (--configure):
Went to Ruby page and latest release is 2.7. Should I try that release?
не могу понять где радио в коньках?
why don't you just do a git clone of the repo into /bin? You don't have to do four separate wget commands. git clone will clone the entire repo, essentially downloading all of those files at once.
Like many things in Linux, there are multiple ways to accomplish the same task. If git clone is more your speed....use it. I chose a different way of doing it.
that's awesome, auto start after reboot wont work for me for some reason but everything else does. @reboot sleep 20 && export DISPLAY=:0 && /usr/bin/conky something here must be wrong
Chad Steiner I assume if you run ‘conky’ after reboot it will start? Are you running Buster or Stretch? 73, de KM4ACK
@@KM4ACK yes can run it from terminal with conky. Pi4 with buster loaded with everything from your previous video's.
Interesting. That's the same setup I tested on. Double check again that there's no typo. It's easy to do. Maybe try increasing the sleep to 30 instead of 20. 73, de KM4ACK
@@KM4ACK the line above was copied right out of the crontab. more delay no change.
conky: Syntax error (/home/pi/.conkyrc:1: '=' expected near 'yes') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: desktop window (c00171) is subwindow of root window (35a)
conky: window type - normal
conky: drawing to created window (0x1e00001)
conky: drawing to double buffer
conky: forked to background, pid is 4546
The only other thing that comes to mind.....are you using crontab -e or sudo crontab -e? You should be using the former. 73, de KM4ACK