Start flrig at login after radio configure --flrig

--flrig adds an autostart entry, ~/.config/autostart/hampack-flrig.desktop,
so flrig is running before the programs that reach the radio through
rigctld and it. If an autostart entry of yours already runs flrig, none
is added: two flrigs would fight over the port. Running it without
--flrig removes the entry, since flrig would take the port from rigctld
at login, and so does hampackremove. Both remove it only if it carries
HamPack's mark (X-HamPack).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
David Young
2026-11-28 13:43:34 -07:00
co-authored by Claude Opus 5.5
parent 53e748ccb9
commit 357f72583e
7 changed files with 115 additions and 12 deletions
+5 -3
View File
@@ -111,9 +111,11 @@ Dire Wolf, not1mm, QLog and POTACAT quit:
by CAT, and shows the radio's frequency. `rigctl -m 2 -r 127.0.0.1:4532 f`
shows the same frequency, through rigctld and flrig. WSJT-X's "Test CAT"
and "Test PTT" still work. Quit flrig: rigctld loses the radio, and gets
it back within a few seconds of starting flrig again. Then run
`radio configure` without --flrig, and check rigctld has the radio's port
again. The settings were checked against flrig 2.0.12's source and FLTK
it back within a few seconds of starting flrig again. Log out and back
in: flrig starts by itself (GNOME's Settings > Apps > flrig shows it set
to start at login), and WSJT-X reaches the radio. Then run
`radio configure` without --flrig, check rigctld has the radio's port
again, and that flrig no longer starts when you log in. The settings were checked against flrig 2.0.12's source and FLTK
1.4.5's preferences format.
14. With a rig set by hand in WSJT-X, `radio configure` leaves it alone, and
`--force` replaces it. The `.bak-` copy has the old settings.