I keep my INI file – ~/.config/xnviewmp/xnview.ini – in version control so I don't lose my settings. Every time I close XnView MP, though, the values in the file are rewritten in a different order even though I haven't changed any settings. This results in continual churn in the file. Ideally XnView MP would write out its settings consistently so that my version-control tool only reports changes when I've actually changed my settings.
Example: changes shown by "git diff" after I've opened XnView MP and closed it again (no operations, no changes of any kind):
Code: Select all
% git diff
diff --git a/.config/xnviewmp/xnview.ini b/.config/xnviewmp/xnview.ini
index 2f0b5c4..e6deccb 100644
--- a/.config/xnviewmp/xnview.ini
+++ b/.config/xnviewmp/xnview.ini
@@ -283,14 +283,14 @@ preview=false
[Format]
="======"
-archive=tar rar tgz gz arj zip
-audio=au wma flac snd rmi ogg aif mid wav asx mp+ mp2 mp3 mpc mpp
-avi=vfw wmv vob divx asf avi
-mpeg=m1s m1v mts m2ts m2v m4a mpeg mp4 mpa mpe mpg mpm
-ps=ai pdf eps ps epsf
-qt=3gp2 3g2 qt 3gp mov
-text=xmp cc ini c h pas js c++ php cpp gcode txt css
-video=webm flv rm mkv
+archive=gz arj zip tar rar tgz
+audio=au mid flac wav asx mp+ mp2 mp3 mpc mpp wma snd rmi ogg aif
+avi=asf divx avi vfw wmv vob
+mpeg=m2ts mp4 mpa mpe mpg mpeg mpm m1s m1v mts m2v m4a
+ps=ai ps epsf pdf eps
+qt=3gp 3gp2 mov qt 3g2
+text=cpp cc c txt h css gcode js xmp ini pas c++ php
+video=mkv rm flv webm