¿ªÔÆÌåÓý

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

Have Conky display the last QSOs from CQRLog


 

¿ªÔÆÌåÓý

Who is using CQRLog in their BAP install?? Would you like to see the last 5 QSO's on the Conky display?? I took some things Jason had already done and added two lines to the bottom of the Conky config file to do it.??


REMEMBER TO BACKUP the CONKY.RC FILE BEFORE PROCEEDING

Edit the conky.rc file located at /home/pi/.conky.rc

Go to the end of the file
Insert the following 2 lines prior to the line that reads?]];

${font Arial:bold:size=10}${color Yellow}RECENT QSO ${color DarkSlateGray}${hr 2}
${font Arial:bold:size=08}${color White}${execi 5 mysql --socket=/home/pi/.config/cqrlog/database/sock cqrlog001 --execute 'select qsodate, time_on, freq, mode, callsign from cqrlog_main order by qsodate? DESC limit 5;'}



This does assume that you are using the default log in CQRLog which is?cqrlog001? If you are using a different log be sure to change?cqrlog001 accordingly.


This also requires CQRLog to be running in order to make a connection to the database.? If CQRLog isnt running, no log files will show on the conky screen.

One last warning, this is being done outside of the Build-A-Pi project so future upgrades could have an impact or even overwrite the changes.? If you are not comfortable with that please do not make the modification.

Now I want to look at the current weather conditions, has anyone already done that???

Thanks,
Terry K4HNT





 

Just a note: If you use Conky-Prefs after making these mods, it will overwrite your changes. Be sure to keep a backup of your custom config files :-)

Curious to see what you come up with for weather. When initially researching Conky a couple of years ago, I had seen where others had added weather. Here's one example

--
73, de KM4ACK
|
|