How to modify directory background color?

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

Moderators: XnTriq, helmut, xnview

gacg
Posts: 12
Joined: Sat Feb 11, 2023 8:51 am

How to modify directory background color?

Post by gacg »

Good morning
How to modify the background color of the thumbnails concerning the directories, I know how to do for the files but I did not find for the directories.

Thanks for your help.
User avatar
xnview
Author of XnView
Posts: 41788
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How to modify directory background color?

Post by xnview »

which background color?
Pierre.
gacg
Posts: 12
Joined: Sat Feb 11, 2023 8:51 am

Re: How to modify directory background color?

Post by gacg »

the thumbnails representing the subdirectories have a yellow background that I would like to change.
THANKS
User avatar
xnview
Author of XnView
Posts: 41788
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How to modify directory background color?

Post by xnview »

in xnview.ini, you'll find folderColor1-folderColor5
Pierre.
gacg
Posts: 12
Joined: Sat Feb 11, 2023 8:51 am

Re: How to modify directory background color?

Post by gacg »

Oh ok thank you very much
gacg
Posts: 12
Joined: Sat Feb 11, 2023 8:51 am

Re: How to modify directory background color?

Post by gacg »

And thank you for this great photo viewer.
Efficient and very complete.
gacg
Posts: 12
Joined: Sat Feb 11, 2023 8:51 am

Re: How to modify directory background color?

Post by gacg »

"in xnview.ini, you'll find folderColor1-folderColor5"

Really sorry for my lack of precision but I am under macos.
User avatar
xnview
Author of XnView
Posts: 41788
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How to modify directory background color?

Post by xnview »

you can find the xnview.ini by using Settings>Integration - Paths - 'Open config files location'
Pierre.
gacg
Posts: 12
Joined: Sat Feb 11, 2023 8:51 am

Re: How to modify directory background color?

Post by gacg »

Sorry, I modified the xnview.ini file accordingly, the new values are well saved but it does not change the background colors of the subdirectories.
ex:
folderColor1=6 25 79
folderColor2=6 25 79
folderColor3=6 25 79
folderColor4=6 25 79
folderColor5=6 25 79
User avatar
xnview
Author of XnView
Posts: 41788
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How to modify directory background color?

Post by xnview »

you need to select subfolders, and View>Rebuild thumbnails
Pierre.
gacg
Posts: 12
Joined: Sat Feb 11, 2023 8:51 am

Re: How to modify directory background color?

Post by gacg »

the xnview.ini file is reset each time the application is restarted.
gacg
Posts: 12
Joined: Sat Feb 11, 2023 8:51 am

Re: How to modify directory background color?

Post by gacg »

It's all good now.
Thanks for your patience and help.