Separate configuration and database on each of various USB drives?

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

Moderators: helmut, XnTriq, xnview

Post Reply
JimPhoto
Posts: 2
Joined: Wed Jun 25, 2025 9:19 pm

Separate configuration and database on each of various USB drives?

Post by JimPhoto »

Hi - I'm running XnViewMP 1.9.2 on MacOS with M1 chip
I would like a separate configuration and database and thumbnails on each of various USB drives to keep client photos separate from family photos.
Q1 What if I made a “xnviewmp” folder on each USB with copies of the following from the defaults at /Users/user/.config/xnviewmp folder:
  • autocorrect.txt
    bookmark.ini
    default.bar
    default.keys
    user.keys
    search.ini
    Thumb.db
    XnView.db
    and xnview.ini but renamed it xnviewUSB.ini
Q2 What entries would I need to edit in xnviewUSB.ini to point the app to the local USB files, rather than the defaults at .config/xnviewmp folder?

Q3 Finally, can I start up xnviewmp with the command line argument -ini xnviewUSB.ini to get each session to reflect the customizations unique to each USB drive?

Thanks for any suggestions!
User avatar
xnview
Author of XnView
Posts: 46325
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Separate configuration and database on each of various USB drives?

Post by xnview »

JimPhoto wrote: Wed Jun 25, 2025 9:30 pm Q3 Finally, can I start up xnviewmp with the command line argument -ini xnviewUSB.ini to get each session to reflect the customizations unique to each USB drive?
If you use different .ini on different folder, you need to start it like that.
Pierre.
JimPhoto
Posts: 2
Joined: Wed Jun 25, 2025 9:19 pm

Re: Separate configuration and database on each of various USB drives?

Post by JimPhoto »

Ok, thanks for confirm. So, back to Q2 - if I start the app pointing to the unique folder xnviewUSB.ini, do I need to edit any entries in that .ini to point the app to the local USB files (.db, .keys etc), rather than the defaults at .config/xnviewmp folder?

Thanks!
User avatar
xnview
Author of XnView
Posts: 46325
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Separate configuration and database on each of various USB drives?

Post by xnview »

JimPhoto wrote: Thu Jun 26, 2025 7:45 pm Ok, thanks for confirm. So, back to Q2 - if I start the app pointing to the unique folder xnviewUSB.ini, do I need to edit any entries in that .ini to point the app to the local USB files (.db, .keys etc), rather than the defaults at .config/xnviewmp folder?
You can start XnView with defaults, change location of files in settings>Integration, and copy .ini .db ... in the correct folder
Pierre.
Post Reply