Page 1 of 1

Cannot change the location of my INI file - Linux [Solved]

Posted: Fri Sep 03, 2021 6:30 pm
by IxenPDF
My system is Linux.

I use the latest version of XnView MP.

I would like to change the location of my INI file.

It is now set to "Program", but I would like to change it to "user".

When I change this setting to "user" and start XnView new, then I have again "program".

Maybe this is, because XnView can not write to "root", where the program is?

So here is my question: How can I change this setting to "user", so that it remains permanent after the restart of Xnview?

Thank you.

Re: Can not change the location of my INI file

Posted: Fri Sep 03, 2021 7:25 pm
by cday
Above my pay grade, but are you able to launch XnView MP as root from the terminal, for example, and then try again?

Re: Can not change the location of my INI file

Posted: Fri Sep 03, 2021 7:42 pm
by IxenPDF
When I start XnView with sudo and change "program" into "user", press "OK" and restart XnView with sudo, then it's the same.
-> It's "program" again. Very strange.

Re: Can not change the location of my INI file

Posted: Fri Sep 03, 2021 8:12 pm
by IxenPDF
This is what happens, when I start XnView as user in a terminal:
ksnip_20210903-221023.jpg
Message "File not available."

--------------------------------

Another thing is, that I can change things in the GUI, like choose another language (For example change from German into English). Restart XnView and I have again German. I can change other things, but they do not remain after the restart.

Re: Can not change the location of my INI file

Posted: Sat Sep 04, 2021 12:22 pm
by xnview
where is your xnview.ini?

Re: Can not change the location of my INI file

Posted: Sat Sep 04, 2021 2:16 pm
by IxenPDF
One is in

Code: Select all

/home/user/.config/xnviewmp/
and another is in

Code: Select all

/opt/XnView/

Re: Can not change the location of my INI file

Posted: Sun Sep 05, 2021 7:30 am
by xnview
IxenPDF wrote: Sat Sep 04, 2021 2:16 pm

Code: Select all

/opt/XnView/
you need to remove this one, you can't write here

Re: Can not change the location of my INI file

Posted: Sun Sep 05, 2021 9:03 am
by IxenPDF
Thank you. After having removed the one in opt/XnView now all is again as it should be.