drowe67 / freedv-gui

GUI Application for FreeDV – open source digital voice for HF radio
https://freedv.org/
GNU Lesser General Public License v2.1
193 stars 49 forks source link

Add config file name to main and reporter window headings if not default. #737

Closed barjac closed 2 weeks ago

barjac commented 1 month ago

Problem: When using multiple instances of both freedv-gui and it's linked freedv reporter on one machine on different desktops it can be difficult to easily identify which instance is on the screen.

Possible solution: Since both instances will be using different configuration files the config file name could be used to act as identification if it was added to the header message. It could be excluded if the default config file name was in use.

tmiw commented 1 month ago

Do you mean the titlebar should say something like

"FreeDV 1.9.10 (~/config-file.conf)"

if called as freedv -f ~/config-file.conf? If so, that should be pretty straightforward. Let me know if that's the case and I'll look into this further.

barjac commented 1 month ago

Yes that's it. (for both main and reporter titlebars)

I was thinking to just show the base file names without extension or path.

I use config file names that include the rig name or SDR like "FreeDV_TS450S" or "FreeDV_SDR" however I can see that using the full path and extension would make it more self explanatory for new users (but only once!).

Maybe add an option to only show the base file name to keep it looking tidy?

Of course I would remove the "FreeDV_" from my file names once this is implemented so the title bar would show e.g. "FreeDV 1.9.10 (TS450S)".

tmiw commented 1 month ago

See https://github.com/drowe67/freedv-gui/pull/738.