Separate configuration file for constantly changing properties

Features wanted...
Post Reply
sukkola
Posts: 2
Joined: 14 Feb 2022 23:18

Separate configuration file for constantly changing properties

Post by sukkola »

Hi all,
I see that XYplorer.ini contains all(most) the configurations available to the XYplorer program.
I am a person who puts their portable applications under version control. ie.. all my exe, and their configuration are git versioned.
I do this so that I can keep my muliple PCs in sync via git push and git pull. This is working out great for most programs.
But in the case of XYplorer the XYplorer.ini file keeps changing. The changes are something which I do not consider as "configurations".
example sections in the INI file are
[mruOpenedItems]
[mruBrowse]

As you can see these configurations are for tracking the history of the navigated folders and these would be different from one PC to another.

My suggestion/wish is that the configurations which keep changing constantly(that the user has not explicitly set) should be saved in a different INI file.

eil
Posts: 1622
Joined: 13 Jan 2011 19:44

Re: Separate configuration file for constantly changing properties

Post by eil »

This idea has a point, even in safety aspect, +1 from me.
Win 7 SP1 x64 100% 1366x768

Horst
Posts: 1091
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Separate configuration file for constantly changing properties

Post by Horst »

A good idea.
In Total commander I can redirect any section of the Ini-File to another file.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Separate configuration file for constantly changing properties

Post by highend »

+1
One of my scripts helped you out? Please donate via Paypal

jupe
Posts: 2795
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Separate configuration file for constantly changing properties

Post by jupe »

+1

This would also help with people uploading their ini's, because a lot of privacy info would be external.

admin
Site Admin
Posts: 60595
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Separate configuration file for constantly changing properties

Post by admin »

I agree. Additionally those "self-changing settings" often happen to be the ones that you want to keep private (path and file names); another reason to keep the apart from the configuration proper.

I only have to find the time to do it... :whistle:

nerdweed
Posts: 648
Joined: 25 Feb 2012 07:47

Re: Separate configuration file for constantly changing properties

Post by nerdweed »

And while you would be at it, can you also consider this

XYplorer.ini -> Factory Defaults
overrides.ini -> User overrides

This way it would be easy to identify which settings have been changed from factory defaults.

eil
Posts: 1622
Joined: 13 Jan 2011 19:44

Re: Separate configuration file for constantly changing properties

Post by eil »

nerdweed wrote: 11 Sep 2022 20:11 This way it would be easy to identify which settings have been changed from factory defaults.
You already can do it, by specifying a separate INI, which XY will handle as default, leaving the initial one as etalon for comparison untouched. The idea here has another purpose.
Win 7 SP1 x64 100% 1366x768

Post Reply