Place for custom color palette in LibreOffice 7?

I updated my machine and need to add my customer color palette (soc file) to my new LibreOffice installation. Copying it into share/palette is blocked by a read-only file system, for a reason I assume. Where is the user local space for custom color palettes? I’m using Ubuntu 20.04 and snap and I guess it is somewhere in $HOME/snap/libreoffice but where exactly? Thanks!

Hello,

for snap installation on Ubuntu 20.04 put your .soc file to:

$HOME/snap/libreoffice/current/.config/libreoffice/4/user/config/

Hope that helps.

For Flatpak installations the folder to copy the .soc file is

$home/<username>/.var/app/org.libreoffice.LibreOffice/config/libreoffice/4/user/config/

Just listing the solution in here in case someone needs it.

This worked, thank you very much!

Please do not use the Answer field for comments that are not an answer to the original question, use add a comment instead. Thanks.

Deleting this answer and converting it to a comment instead would be welcome.