[Solved] Transfer settings from Windows 7 to Linux

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

Moderators: XnTriq, helmut, xnview

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

[Solved] Transfer settings from Windows 7 to Linux

Post by IxenPDF »

Hello

I have installed XnView MP in Windows 7. Now I want go to Linux (Debian based). I want to transfer XnView to Linux.
I have some Bookmarks and Tags and Batchscripts in XnView. I would like to transfer my XnView profile from windows.

Is there a way I can do this?

Which folders and files do I have to transfer? And where do I have to put them in in Linux?

Would appreciate some answer. Thank you.
Last edited by IxenPDF on Wed Apr 01, 2020 7:47 pm, edited 1 time in total.
User avatar
xnview
Author of XnView
Posts: 43357
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Transfer settings from Windows 7 to Linux

Post by xnview »

you can copy files from settings folder (settings>Integration>Paths - open config location)
Pierre.
IxenPDF
Posts: 61
Joined: Tue Aug 02, 2016 8:13 am

Re: Transfer settings from Windows 7 to Linux

Post by IxenPDF »

Thank you. I found it.

I have copied the whole content of this windows folder into the linux folder (/home/user/.config/xnviewmp/).

Nevertheless my Categories filter do not work.

In windows I have pathes like
D:\FolderData\FolderProject

In Linux I have now the same path, but a little different:
/home/User/Folder/FolderData/FolderProject/

You can see: The difference between windows and linux path is, that in Linux instead of "D:\ " I have now "/home/User/Folder".
And also "\" is "/" in Linux. Edit: This is a wrong statement. It is "/" in windows and Linux, when we export/import the xml (see latest post).

Where are the Pathes of the categories filter saved? In which file? Is there a way to edit this path? Thank you.
Last edited by IxenPDF on Wed Apr 01, 2020 8:44 pm, edited 2 times in total.
User avatar
xnview
Author of XnView
Posts: 43357
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Transfer settings from Windows 7 to Linux

Post by xnview »

in this case you need (on linux) to use settings>Catalog - relocate
Pierre.
IxenPDF
Posts: 61
Joined: Tue Aug 02, 2016 8:13 am

Re: Transfer settings from Windows 7 to Linux

Post by IxenPDF »

Thank you. I found it.

Seems I have to relocate each folder separately. Really? Isn't there a faster method? Something like export and import a list of it?
User avatar
xnview
Author of XnView
Posts: 43357
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Transfer settings from Windows 7 to Linux

Post by xnview »

IxenPDF wrote: Wed Apr 01, 2020 8:50 am Seems I have to relocate each folder separately. Really? Isn't there a faster method? Something like export and import a list of it?
Right :( else if you know SQL you can use 'DB Browser for SQLite'
Pierre.
User avatar
michel038
XnThusiast
Posts: 1282
Joined: Tue Sep 27, 2016 8:18 am
Location: France
Contact:

Re: Transfer settings from Windows 7 to Linux

Post by michel038 »

If you don't use star rating and colours, you can perhaps export a xml file for keywords with "file's categories > export" function ( down arrow in the header of categories filter panel)
Then edit this file , search/replace with new pathnames, and import in the new installed xnviewmp ...
... and tell us if it's a good method ? ...

Another way is to create a whole new DB
( edit : only if keywords, stars, colors are embedded in photos or saved in xmp sidecar files)
-Enable the first option "Import" in settings, metadata
- Use "Settings, catalog, add folders" ( choose here the parent folder for all photos you want to be in catalog) and wait ... all photos will be read ...
Last edited by michel038 on Wed Apr 01, 2020 6:35 pm, edited 2 times in total.
IxenPDF
Posts: 61
Joined: Tue Aug 02, 2016 8:13 am

Re: Transfer settings from Windows 7 to Linux

Post by IxenPDF »

@IxenPDF (Crossposting)

OK. In
XnView Settings->Catalog->Catalog->Cached directory
There are a lot of folders. I do not know, what Cached directory folders are, and why they are there.

Is it enough simply to delete all his folder except the 60 folders for my categories Filter. Then change the path of this 60 folders for my cathegories Filter and all is working again? Or would I broke anything, if I delete all other folders in cached directory?

Actually it would be fine, simply to have a new profile in Linux, but only to add my old Category filters with the new changed path.
User avatar
xnview
Author of XnView
Posts: 43357
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Transfer settings from Windows 7 to Linux

Post by xnview »

IxenPDF wrote: Wed Apr 01, 2020 1:04 pm OK. In
XnView Settings->Catalog->Catalog->Cached directory
There are a lot of folders. I do not know, what Cached directory folders are, and why they are there.
If you send me the .db, i can make the change
Pierre.
IxenPDF
Posts: 61
Joined: Tue Aug 02, 2016 8:13 am

Re: Transfer settings from Windows 7 to Linux

Post by IxenPDF »

Thank you all for the great support. :D

I was successful with this method:
michel038 wrote: Wed Apr 01, 2020 12:09 pm If you don't use star rating and colours, you can perhaps export a xml file for keywords with "file's categories > export" function ( down arrow in the header of categories filter panel)
Then edit this file , search/replace with new pathnames, and import in the new installed xnviewmp ...
... and tell us if it's a good method ? ...
XnView.png
I have now a new and clear profile in linux with all my wished Tags.
Post Reply