[How to] Callsign alert

28 posts / 0 new
Last post
SV2RCK
[How to] Callsign alert

If you want to be alert when a desired callsign appears in cluster, add this command (Linux) in Preferences -> DXCluster.
You should install zenity first.

zenity --info --text='Callsign $CALLSIGN detected at $FREQ $MODE' --title=Info

Also you may set display duration in 5 seconds (Thanks DL2KI). After the window closes automatically.
KDE
kdialog --title=Spot-Info --passivepopup "Callsign $CALLSIGN detected at $FREQ $MODE" 5

This is also possible with "notify-send". The display duration is set in ms (-t 5000).
Gnome
notify-send -t 5000 "Spot-Info" "Callsign $CALLSIGN detected at $FREQ $MODE"

ok2cqr
ok2cqr's picture
Re: [How to] Callsign alert

I just added it to the help, thanks for the tip!

73 Petr, OK7AN

on4ezj
on4ezj's picture
Callsign alert

Hello Petr,
I tried this, but it doesn't work - using CQRLog 20170720 (039) on Linux Mint 17.
zenity is installed and works...
any idea ?
Another question and a suggestion
Is there a way to test this without generating 'fake' spots in the cluster ?
I would prefer to edit the active callsigns outside the 'preferences'.
Thanks for htis great application !
73 de Peter - ON4EZJ

SV2RCK
Try running from command line

Try running from command line
zenity --info --text='Callsign $CALLSIGN detected at $FREQ $MODE' --title=Info

There is any error there ;

on4ezj
on4ezj's picture
[How to] Callsign alert

[quote=SV2RCK]Try running from command line
zenity --info --text='Callsign $CALLSIGN detected at $FREQ $MODE' --title=Info

There is any error there ;[/quote]

Done:
It shows the alert message and in terminal: Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

See screenshot

73 de Peter ON4EZJ

File: 

SV2RCK
Everything is ok.

Everything is ok.
GTK-Message is just an information message.

on4ezj
on4ezj's picture
[How to] Callsign alert

[quote=SV2RCK]Everything is ok.
GTK-Message is just an information message.[/quote]

Aahh. Okay.
I thought the message was launched by CQRLog when a callsign that is in the list of callsigns to watch for appears in the cluster ...
:-))
Thanks for the info
73 de Peter ON4EZJ

SV2RCK
Now I am a little confused.

Now I am a little confused.
Yes, a message is launched by CQRLog when a callsign that is in the list of callsigns to watch for appears in the cluster.

In command line above, we check the zenity functionality and the "Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged." is just an information message about zenity, nothing to worry about.

I would like to know that zenity works fine, before any further troubleshooting.

Did you add some callsighs to watch ?
I use this many months and works fine.

on4ezj
on4ezj's picture
[How to] Callsign alert

Hi,
In the screenshot added should be all info ... no message though.
Is something wrong in the configuration ?
I'm sorry for the little sarcastic comment, but I am not new to Linux or CQRLog, using both for many years now.
It was just not one of my priorities to have this run.
Anyway, all help is appreciated
Thanks in advance
73 de Peter ON4EZJ

File: 

SV2RCK
I try CQRLog 20170720 indeed

I try CQRLog 20170720 indeed not working.
So something is wrong with 20170720 build.

In version 2.0.5 (001) 2017-03-12 everything is ok

on4ezj
on4ezj's picture
[How to] Callsign alert

[quote=SV2RCK]I try CQRLog 20170720 indeed not working.
So something is wrong with 20170720 build.

In version 2.0.5 (001) 2017-03-12 everything is ok[/quote]
Hello !
I tried version 001 and indeed it works ...
Thanks for your help!
I think we have to pass this to Petr.
73 de Peter ON4EZJ

SV2RCK
Yes, I think this is for Petr

Yes, I think this is for Petr. Maybe he apply this function in cqrlog.

ok2cqr
ok2cqr's picture
Re: [How to] Callsign alert

Fixed, thank you! I also did some changes to DX cluster window, now it should me more comfortable to set alerted callsigns and enable callsign alert function.

73 Petr

on4ezj
on4ezj's picture
[How to] Callsign alert

Thank You Petr,
I suppose I'll have to compile the new version by myself or wait for your compiled version.
I'm a little busy for the moment :-)

73 de Peter ON4EZJ

ok2cqr
ok2cqr's picture
Re: [How to] Callsign alert

You are welcome, Peter! I'm going to release new version this weekend.

73 Petr

on4ezj
on4ezj's picture
Re: [How to] Callsign alert

Hi Petr,
Sorry to disturb you again, but I still have a problem somewhere ...
After update, I have version 2.1.0 dated 2017-08-06. Is this the correct last version ?
Callsign alert still does not work, while on version 2.0.5 (001) 2017-03-12 it did (see above in this thread).
I join the log produced by cqrlog - see ON3VNE which is in the list of callsigns.
Second:
When I enter a callsign and want it to be watched on ALL bands and in ALL modes, these fields in the table are leaved blank. Is this correct ?
I upgraded to Mint 18.2 ... maybe this causes a problem ?
Don't make a priority out of this as it seems to work for everybody (but me) ;-)
73 de Peter ON4EZJ

File: 

ok2cqr
ok2cqr's picture
Re: Re: [How to] Callsign alert

Hi Peter,

thank you the log file, it helped a lot.

It seems different versions of MySQL/MariaDB has different behaviour of regexp in SQL queries. Please go to Preferences -> DX cluster -> click to List of callsigns in "Callsign alert", new window appears, now uncheck "Allow partialy callsign alert" option. It should help.

It seems I have to rewrite it and don't use MySQL command for that.

73 Petr

on4ezj
on4ezj's picture
Re: [How to] Callsign alert

Hi Petr,

Thanks for fast reply, but it doesn't help :-(
log is attached - look for ON3VNE ad ON3HGL
TIA

73 de Peter ON4EZJ

File: 

ok2cqr
ok2cqr's picture
Re: [How to] Callsign alert

Very strange :(.

Could you send me whole ~/.config/cqrlog directory, please? My email is petr@ok7an.com. I'll try it here. Thanks!

on4ezj
on4ezj's picture
Re: [How to] Callsign alert

Hi Petr,

Found it ...
Would be helpful to mention somewhere in the DXCluster-Help-section that Callsign alert has to be enabled in the DXCluster-Window under "Preferences" - didn't realise that this control had been added ;-) my fault!
Now everything works fine.

73 de Peter - ON4EZJ

VE2EVN
DOH!

DOH!

I've been looking for that. It works now. I haven't tried the partial or Regex calls, but full calls work.
It might help to add a check box on the Preferences > DXCluster menu, as I never would have checked on the DXCluster window's 'Preferences'.

Thanks Petr for finding this.

Marc-Andre, VE2EVN/VA2EI

DL2KI
Hi,

Hi,

here a variant for the KDE desktop.
The display duration in seconds (here 5) can be set here. The window closes automatically.

kdialog --title=Spot-Info --passivepopup "Callsign $CALLSIGN detected at $FREQ $MODE" 5

This is also possible with "notify-send". The display duration is set in ms (-t 5000).

notify-send -t 5000 "Spot-Info" "Callsign $CALLSIGN detected at $FREQ $MODE"

"Kdialog" is installed by default using the 'kdebase-bin' package.
For "notify-send" the 'libnotify-bin' package must be installed.

73, Wolfgang
DL2KI

SV2RCK
Thanks, both added in first

Thanks, both added in first post.

73

G8FXM
G8FXM's picture
Both the zenity and the

Both the zenity and the kdialog commands work perfectly on my Linux Mint 18.1 KDE Edition. Thanks for this!

73'd De Dave, G8FXM O/S Linux Mint 18.1 KDE Plasma 64 bit  g8fxm@uksmg.org

do2hg
CQRLOG 2.4.0 and Ubuntu 20.04 ... zenity garbled up ...zenity --

Hi there,
I use the "default" settings for Zenity DX-Cluster Message, i.e.
zenity --info --text='Callsign $CALLSIGN detected at $FREQ $MODE' --title=Info

When I launch that at the console, everything works just fine (except the substitution of the variables of course), but when launched by CQRlog, I get a message saying only
'Callsign

Tried a couple of things, like changing the ' to ".
Could this be an issue related to Mariadb instead of localdb? Currently "partial callsign alert" is unticked.

Thanks a lot,
73
Stefan.

--
Stefan
DB4ST (ex DO2HG) --- German Ham Radio Station
D-32584 Löhne ----- Locator JO42IE

on4ezj
on4ezj's picture
Re: CQRLOG 2.4.0 and Ubuntu 20.04 ... zenity garbled up ...zenit

Hi Stefan, Hi All,
This seems to be a problem with zenity and I haven't yet found out what it is.
Obviously it doesn't need the apostrophs around the text no more ( ' or " ) but it doesn't accept the variables.
I changed to notify-send:
notify-send "Spot-Info" "Callsign $CALLSIGN detected at $FREQ $MODE"
works for me.
Hope this helps.
73 - take care
Peter - ON4EZJ

do2hg
Hi Peter,

Hi Peter,
thanks for the hint.
notify-send works great for me. Especially, as you do not need to click the window away, this is very handy.
I've been quite busy these days, sometimes close to a pileup, and then you do not need extra windows to click away ;-).

73, and thanks a lot
Stefan.

--
Stefan
DB4ST (ex DO2HG) --- German Ham Radio Station
D-32584 Löhne ----- Locator JO42IE

SV2RCK
A simple fix if zenity not

A simple fix if zenity not working replace spaces with underscore.

zenity --info --text=$CALLSIGN_$FREQ_$MODE