Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Inject Color-Palette & recursive copy Linux #4

Open
Advantaged opened this issue Sep 27, 2019 · 2 comments
Open

Inject Color-Palette & recursive copy Linux #4

Advantaged opened this issue Sep 27, 2019 · 2 comments

Comments

@Advantaged
Copy link

Advantaged commented Sep 27, 2019

Use recursive copy command to give the copied file the same rights as the already present:

sudo cp -R LibreOffice-BreezeDark/images_breeze_dark.zip /usr/lib/libreoffice/share/config
and
cp -R LibreOffice-BreezeDark/standard.soc ~/.config/libreoffice/4/user/config/standard.soc

Pick the right file to inject the Color-Palette:

cat LibreOffice-BreezeDark/registrymodifications.xcu >> ~/.config/libreoffice/4/user/registrymodifications.xcu

Trying to inject "standard.soc" inside of "registrymodifications.xcu" will not work.

Or just backup and replace with:

mv ~/.config/libreoffice/4/user/registrymodifications.xcu ~/.config/libreoffice/4/user/registrymodifications.xcu.back
cp -R LibreOffice-BreezeDark/registrymodifications.xcu ~/.config/libreoffice/4/user/registrymodifications.xcu

@RaitaroH
Copy link
Owner

I am sure this will be useful for the people who are running linux. Thank you.

@Advantaged
Copy link
Author

I am sure this will be useful for the people who are running linux. Thank you.

sadly, I don't remember anymore how to inject files in Windows, sorry.

But... I would inject both files. Under Windows should be possible to edit it... not directly but renamed copies should be possible to open with same LibreOffice-Writer.

  1. Make a renamed copy of the files e.g.: "my.soc" & "my.xcu"
  2. Edit the two "*.soc"-files with "Writer" = the new downloaded "standard.soc" and the "my.soc"
    Note: Respect "parentheses" and "tabs", those are like HTML-programs-files.
  3. Edit the two "*.xcu"-files with "Writer" = the new downloaded "registrymodifications.xcu" and the "my.xcu"
    Note: Respect "parentheses" and "tabs", those are like HTML-programs-files.
  4. Close LO, rename the old files respectively "standard-soc-old.html" and "registrymodifications-xcu-old.html". The advantage of doing this is, you can edit those files with each Browser (Firefox, Chrome, Chromium, Palemon [portable], Win-own-Browser, etc., etc..)
  5. Copy the two new files "standard.soc" & "registrymodifications.xcu" @ their normal place.

I don't know if LO under Win "highlight" "parentheses" and "tabs" like under Linux but... all "Browsers" do it for sure. A remedy for that can be the LO-Latex-Extension.

Enjoy

hbt added a commit to hbt/LibreOffice-BreezeDark that referenced this issue May 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants