Page 1 of 1
xnview.ini is stored in wrong place
Posted: Mon May 04, 2015 8:11 pm
by Biscuit
The freedesktop.org specification states, and most programs follow it, that user configuration files should be stored in $XDG_CONFIG_HOME and if that is either not set or empty, $HOME/.config should be used. XnViewMP stores xnview.ini in $HOME/.xnviewmp
http://standards.freedesktop.org/basedi ... atest.html
Re: xnview.ini is stored in wrong place
Posted: Fri Aug 28, 2015 3:22 am
by schultzter
I agree, it would be better to follow standards.
I also noticed that if I try to set the Use .ini file in folder folder to Program (XnView) it doesn't actually change the location of the .ini file. Which makes sense because the program location on Linux is read-only to normal users (/usr/bin).
A simple solution would be to disable this setting on Linux.
Re: xnview.ini is stored in wrong place
Posted: Mon Aug 31, 2015 1:57 pm
by xnview
See
Issue 691 for current status and details.
Re: xnview.ini is stored in wrong place
Posted: Sat Mar 05, 2016 11:48 am
by Biscuit
Thank you for the fix.
Re: xnview.ini is stored in wrong place
Posted: Sun Mar 06, 2016 3:09 pm
by Biscuit
I'm testing 0.78. Now the settings are stored generally in the right place, in
but the name of the folder is wrong. 0.78 stores settings in a folder named
The xnviewmp folder should not have a period in the front because in Linux that means that the folder is hidden, and a settings folder should not be hidden.
To fix it: have XnView MP store settings in
Re: xnview.ini is stored in wrong place
Posted: Mon Mar 07, 2016 11:49 am
by wwp
Right, subdirs (config dirs) under $HOME/.config or any directories that follows XDG rules shouldn't be hidden (starting with a dot '.'). The previous use in GNU/Linux world was to store config dirs as hidden one at the root of $HOME, though, but it's a different and outdated scheme.
Same, picking '.config' as a hardcoded value might be dangerous.
Re: xnview.ini is stored in wrong place
Posted: Wed Mar 09, 2016 2:38 pm
by xnview
See
Issue 811 for current status and details.
Re: xnview.ini is stored in wrong place
Posted: Thu Mar 02, 2017 4:52 pm
by helmut
The problem (wrong name) is supposed to be fixed in XnView MP 0.79 or later. Could you please try and confirm the bug fix, Biscuit or wwp?
Re: xnview.ini is stored in wrong place
Posted: Thu Mar 02, 2017 6:11 pm
by Biscuit
I confirm that XnView MP 0.84 stores the INI file in the correct place -
Re: xnview.ini is stored in wrong place
Posted: Thu Mar 02, 2017 7:15 pm
by helmut
Biscuit wrote:I confirm that XnView MP 0.84 stores the INI file in the correct place -
Thank you for confirming, Biscuit!

Closed