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

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, xnview

IxenPDF
Posts: 61
Joined: Tue Aug 02, 2016 8:13 am

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

Post 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.
You do not have the required permissions to view the files attached to this post.
Last edited by IxenPDF on Sun Sep 05, 2021 9:03 am, edited 1 time in total.
cday
XnThusiast
Posts: 3122
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Can not change the location of my INI file

Post 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?
IxenPDF
Posts: 61
Joined: Tue Aug 02, 2016 8:13 am

Re: Can not change the location of my INI file

Post 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.
IxenPDF
Posts: 61
Joined: Tue Aug 02, 2016 8:13 am

Re: Can not change the location of my INI file

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 36805
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Can not change the location of my INI file

Post by xnview »

where is your xnview.ini?
Pierre.
IxenPDF
Posts: 61
Joined: Tue Aug 02, 2016 8:13 am

Re: Can not change the location of my INI file

Post by IxenPDF »

One is in

Code: Select all

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

Code: Select all

/opt/XnView/
User avatar
xnview
Author of XnView
Posts: 36805
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Can not change the location of my INI file

Post 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
Pierre.
IxenPDF
Posts: 61
Joined: Tue Aug 02, 2016 8:13 am

Re: Can not change the location of my INI file

Post by IxenPDF »

Thank you. After having removed the one in opt/XnView now all is again as it should be.