WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

[Linux] Settings file doesn't match expected format #9

@walrus543

Description

@walrus543

Hello,
I tried to apply the Mocha Mauve theme to Libreoffice on my Arch Linux.

I copied the soc file as requested:

~/.config/libreoffice/4/user/config                                                                               
❯ ls                           
soffice.cfg
autotbl.fmt
catppuccin-mocha-mauve.soc
javasettings_Linux_X86_64.xml

In ~/Tmp, I cloned this repository then made install_theme.sh executable:

/Tmp/libreoffice                                                                                      
❯ chmod +x scripts/install_theme.sh

Output of the execution:

❯ ./scripts/install_theme.sh mocha mauve
Installation for mocha - mauve
Copying palette to config directory ...
Settings file doesn't match expected format. Aborting ...

What's wrong?
Thank you.

In the install_theme.sh script, this condition checks </oor:items>

elif ! tail -n1 "$fname" | grep -E -q '^</oor:items>$'; then

I see no line with oor:item in the original soc files.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions