¿ªÔÆÌåÓý

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

Update FLDIGI, Config settings lost


 

I just updated fldigi 4.2.06 to 4.2.06.16 and all Config settings reverted to default including Macro addresses.? I run NBEMS apps on a Thumbdrive.? Usually, updates use existing 'fldigi.prefs' and 'fldigi_def.xml' files for Configuration.? I archive these files for troubleshooting and/or repair.? Has something changed or am I missing something obvious?? It seems when I start fldigi after moving archived files, I see my usual 4 rows of macros for an instant b4 the default 2 rows. Like fldigi first sees the original files, then goes to default.?
?
Initially, I thought it may be caused by something different in the Alpha app, but when I reinstall 4.2.06 the issue remains.? I have 3 sets of archived config files. None produce anything more than default configuration.? ? ? ?Thanks for any insight you can provide...


 

Doug,

After you have reset FLDIGI to the configuration you want. Run the following from the menu:

File->Config Scripts->Generate

Save the file to the location of preference. This file can be used to restore the set up when fldigi.prefs' and 'fldigi_def.xml get corrupted.

This method can also be used to configure FLDIGI to a particular set-up on a given event requirement. Just generate a baseline script file so the set up can be restored to "normal" FLDIGI operation.

Robert


 

TU Robert... I've not done this b4.? It works as you say, but doesn't restore changes to the color scheme.? In the script, there's no mention of color or the file, 'fldigi_UI_colors.colors'.? Even after changing many color settings, Saving in the color window and 'Save Config', altered colors are lost @ restart and the Script doesn't restore them either.? Script seem to have every setting except color changes.?
?
Whatever talks to 'fldigi_UI_colors.colors doesn't seem to be working @ my station.? And, maybe I'm way off course.? ?Replacing the two config files with current copies usually worked perfectly.?


 

Re:-
??? File->Config Scripts->Generate

Not noticed that facility before...


Thinks...? FlRig needs that facility!? Especially when you have the layers of "extra command" buttons programmed up, too!

(Sadly, beyond my coding competence level.)

Dave G0WBX.

--
Created on and sent from a Unix like PC running and using open source software:


 

Doug,

Yes, the script engine was not designed to save the superficial look of FLDIGI, just the internal operations part of it.

Robert


 

Doug,

Is the file "fldigi_UI_colors.colors" located on the thumb drive? if so, when saved/updated does the file date update to the save on date?

Robert


 

Robert... ?'fldigi_UI_colors.colors' does update @ close, but not every 'Save Config' while running. Today, I changed a few colors. ?Using SAVE in Config window and SAVE CONFIG, 'fldigi_UI_colors.colors' was unchanged. It updates @ Closing. Today, it's working correctly; I can't explain why I lost all color changes previously. It must be Op Error. I don't see another explanation.?
?
In 'Configure/Colors-Fonts/Rx-Tx', Text Highlighting, the 'XMT' control isn't working 4 me. All others OK. The color select screen works, but color doesn't change from Red.
?
I don't see well; I change nearly everything to make fldigi easier to operate for long periods. ?I really appreciate the NBEMS apps and your work and commitment.? FLDIGI sets the standard in Amateur digital operations.
?
Am I correct in thinking that archiving/restoring a copy of 'fldigi_UI_colors.colors' along with the other 2 config files will restore all my config settings?? TU Doug


 

Sri...? Yes, running on thumbdrive in Win11


 

Doug and all...

IIRC, I ran into this early on and saved a backup of my config files.? However, once I set up a dual configuration of FLDigi, one for VHF FM and one for HF, the problem goes away.

The process is detailed in message # 1797 dated 12/19/09 by Gary Wescom and forwarded by w1hkj.? While it is intended for having multiple configurations of FLDigi, it can work well to preserve configuration settings for a single configuration.

In simplest form, when you have FLDigi configured properly, COPY the folder "fldigi.files" to a new folder with a unique name.? In my case, for a dual configuration, I have a folder called "fldigi_VHF.files" and one called "fldigi_HF.files".? For a single configuration, only make one unique folder.
I don't change the original folder, but it will likely get overwritten in an upgrade.?

Next, modify the properties of your desktop shortcut for fldigi as follows:
? Right click on your new icon.
? ? Select the properties option. ?There will be line labeled "Target." ?
It should contain something like this: "C:\Program Files\Fldigi-3.13BD\fldigi.exe" ?
The actual filename may change as versions change but it should look similar to this.
? ? Add the following text to the Target line (except use the name of the directory you created in step 1 above):
(space)--config-dir C:\fldigi_VHF ?(Note that it is dash dash config dash dir)
? ? Click "Apply" and "OK" to exit the properties box.
? ? Click on the your new icon to start the second copy of fldigi and configure it as needed.

In my case, my shortcut target reads as follows:
"C:\Program Files\Fldigi-4.2.06\fldigi.exe" --config-dir C:\Users\<username>\fldigi_VHF.files

Now, when you upgrade to a newer version of FLDigi, copy the configuration pointer into the new shortcut target.?
All of your configurations will have been retained.
--
73,
Neil W?NRP


 

¿ªÔÆÌåÓý

Also be aware Neil that there are some absolute directory references in the config files;

In my fldigi_def.xml for example
<THOR_AVATAR_IMAGE_FILE>/home/user/.fldigi/avatars/vk2yqa.png</THOR_AVATAR_IMAGE_FILE>
<CTYDAT_PATHNAME>/home/user/.fldigi/</CTYDAT_PATHNAME>
<XMLRIGFILENAME>/home/user/.fldigi/rigs/IC-9100-D.xml</XMLRIGFILENAME>
<LOGBOOKFILENAME>/home/user/.fldigi/logs/logbook.adif</LOGBOOKFILENAME>
<WEFAXSAVEDIR>/home/user/.fldigi/wefax/</WEFAXSAVEDIR>
<KML_SAVE_DIR>/home/user/.fldigi/kml/</KML_SAVE_DIR>
<AUTO_PROG3_PATHNAME>/home/user/bin/logsn3</AUTO_PROG3_PATHNAME>

and in my fldigi.prefs
last_macro_file:/home/user/.fldigi/macros/macros.mdf

The upshot being that if the referenced directory vanishes then fldigi will probably revert to the default for that parameter.

I was thinking too about the change in default structure that occurred some years ago. Initially there was an fldigi and nbems directory hanging off home. More recently there is an fldigi folder then two subfolders, fldigi and nbems. A running "old" structure will work fine, but transferring/copying things may get into a mess. This maybe what happened with Doug as the macro location is one of those affected.

Cheers Bob VK2YQA

On 30/12/24 14:26, Neil Preston W0NRP via groups.io wrote:

Doug and all...

IIRC, I ran into this early on and saved a backup of my config files.? However, once I set up a dual configuration of FLDigi, one for VHF FM and one for HF, the problem goes away.

The process is detailed in message # 1797 dated 12/19/09 by Gary Wescom and forwarded by w1hkj.? While it is intended for having multiple configurations of FLDigi, it can work well to preserve configuration settings for a single configuration.

In simplest form, when you have FLDigi configured properly, COPY the folder "fldigi.files" to a new folder with a unique name.? In my case, for a dual configuration, I have a folder called "fldigi_VHF.files" and one called "fldigi_HF.files".? For a single configuration, only make one unique folder.
I don't change the original folder, but it will likely get overwritten in an upgrade.?

Next, modify the properties of your desktop shortcut for fldigi as follows:
? Right click on your new icon.
? ? Select the properties option. ?There will be line labeled "Target." ?
It should contain something like this: "C:\Program Files\Fldigi-3.13BD\fldigi.exe" ?
The actual filename may change as versions change but it should look similar to this.
? ? Add the following text to the Target line (except use the name of the directory you created in step 1 above):
(space)--config-dir C:\fldigi_VHF ?(Note that it is dash dash config dash dir)
? ? Click "Apply" and "OK" to exit the properties box.
? ? Click on the your new icon to start the second copy of fldigi and configure it as needed.

In my case, my shortcut target reads as follows:
"C:\Program Files\Fldigi-4.2.06\fldigi.exe" --config-dir C:\Users\<username>\fldigi_VHF.files

Now, when you upgrade to a newer version of FLDigi, copy the configuration pointer into the new shortcut target.?
All of your configurations will have been retained.
--
73,
Neil W?NRP