Personas

Hi Folks,

Firefox Personas (renamed Themes) no longer work in LO and there is a
proposal [1] to deprecate or replace them. However, I have 2 in my LO
profile on Windows, which I would like to have them in LO on a new Linux
install. I have copied the images into the equivalent Linux directory
and edited the advanced configuration file, but I cannot get LO under
Linux to show either of the personas. Obviously there is something else
it is necessary to configure.

Any thoughts or pointers would be welcome.

Dave

[1] https://bugs.documentfoundation.org/show_bug.cgi?id=119868

Hi Dave,

Hi Folks,

Firefox Personas (renamed Themes) no longer work in LO and there is a
proposal [1] to deprecate or replace them. However, I have 2 in my LO
profile on Windows, which I would like to have them in LO on a new Linux
install. I have copied the images into the equivalent Linux directory
and edited the advanced configuration file, but I cannot get LO under
Linux to show either of the personas. Obviously there is something else
it is necessary to configure.

Any thoughts or pointers would be welcome.

I'm using personas under Linux without problem (LibO 5.4.6.2).

Here's how I do that. FWIW I don't temper with the configuration file, just using the advanced configuration options.

1. The personas are stored as subdirs within the user's profile, Gallery/Persona directory.

Say I add a "MyPersona" subdir there.
In this subdir, I add the persona graphic file (for instance, a .png). Say its name is MyHeader.png.

2. In LibO, Tools > Options, LibreOffice, Advanced, Open expert configuration.

3. I enter "persona" (without quotes) in the search bar.

LibO finds the org.openoffice.Office.Common > Misc branch, with two keys: Persona and PersonaSettings

4. Set Persona to "own" (without quotes)

5. Set PersonaSettings to follow the sequence mask:

<header file name>;<footer file name>;<front color>;<special color>

Where

<header file name>: the path to your header file within the personas profile subdir.
Using the example above would give
MyPersona/MyHeader.png

<footer file name>: same as for header file name.
You may repeat using the header file name.

<front color>: RGB in hex with a "#" prefix.
For a black front color, it gives: #000000
This color is used for menu character painting.

<special color>: same as for front color. AFAIK, unused.

6. Wrap up

The whole string in this example would give:

MyPersona/MyHeader.png;MyPersona/MyHeader.png;#000000;#F5F5F5

Once validated, the new theme is propagated to new documents (the current file environment is not changed yet).

To get to these grips, I read a blog article that I'm totally unable to find right now. Too bad I couldn't cite the author.

HTH,

Hi Dave,

Hi Folks,

Firefox Personas (renamed Themes) no longer work in LO and there is a
proposal [1] to deprecate or replace them. However, I have 2 in my LO
profile on Windows, which I would like to have them in LO on a new Linux
install. I have copied the images into the equivalent Linux directory
and edited the advanced configuration file, but I cannot get LO under
Linux to show either of the personas. Obviously there is something else
it is necessary to configure.

Any thoughts or pointers would be welcome.

I'm using personas under Linux without problem (LibO 5.4.6.2).

Here's how I do that. FWIW I don't temper with the configuration file,
just using the advanced configuration options.

1. The personas are stored as subdirs within the user's profile,
Gallery/Persona directory.

Say I add a "MyPersona" subdir there.
In this subdir, I add the persona graphic file (for instance, a .png).
Say its name is MyHeader.png.

2. In LibO, Tools > Options, LibreOffice, Advanced, Open expert
configuration.

3. I enter "persona" (without quotes) in the search bar.

LibO finds the org.openoffice.Office.Common > Misc branch, with two
keys: Persona and PersonaSettings

4. Set Persona to "own" (without quotes)

5. Set PersonaSettings to follow the sequence mask:

<header file name>;<footer file name>;<front color>;<special color>

Where

<header file name>: the path to your header file within the personas
profile subdir.
Using the example above would give
MyPersona/MyHeader.png

<footer file name>: same as for header file name.
You may repeat using the header file name.

<front color>: RGB in hex with a "#" prefix.
For a black front color, it gives: #000000
This color is used for menu character painting.

<special color>: same as for front color. AFAIK, unused.

6. Wrap up

The whole string in this example would give:

MyPersona/MyHeader.png;MyPersona/MyHeader.png;#000000;#F5F5F5

Once validated, the new theme is propagated to new documents (the
current file environment is not changed yet).

To get to these grips, I read a blog article that I'm totally unable to
find right now. Too bad I couldn't cite the author.

HTH,

Many thanks Jean-Francois, I will try this a little later and report back.

Best Regards
Dave

Hi Jean-Francois,

Sadly, it did not work. My results are in-line with your previous message.

Hi Dave,

Hi Folks,

Firefox Personas (renamed Themes) no longer work in LO and there is a
proposal [1] to deprecate or replace them. However, I have 2 in my LO
profile on Windows, which I would like to have them in LO on a new Linux
install. I have copied the images into the equivalent Linux directory
and edited the advanced configuration file, but I cannot get LO under
Linux to show either of the personas. Obviously there is something else
it is necessary to configure.

Any thoughts or pointers would be welcome.

I'm using personas under Linux without problem (LibO 5.4.6.2).

Here's how I do that. FWIW I don't temper with the configuration file,
just using the advanced configuration options.

1. The personas are stored as subdirs within the user's profile,
Gallery/Persona directory.

Say I add a "MyPersona" subdir there.
In this subdir, I add the persona graphic file (for instance, a .png).
Say its name is MyHeader.png.

I changed the directory and file name to exactly match yours.
My path =
/home/dave/.config/libreoffice/4/user/gallery/Persona/MyPersona/MyHeader.png

2. In LibO, Tools > Options, LibreOffice, Advanced, Open expert
configuration.

No problem.

3. I enter "persona" (without quotes) in the search bar.

LibO finds the org.openoffice.Office.Common > Misc branch, with two
keys: Persona and PersonaSettings

OK, so far.

4. Set Persona to "own" (without quotes)

OK, I set it to "own" (without quotes)

5. Set PersonaSettings to follow the sequence mask:

<header file name>;<footer file name>;<front color>;<special color>

Where

<header file name>: the path to your header file within the personas
profile subdir.
Using the example above would give
MyPersona/MyHeader.png

<footer file name>: same as for header file name.
You may repeat using the header file name.

<front color>: RGB in hex with a "#" prefix.
For a black front color, it gives: #000000
This color is used for menu character painting.

<special color>: same as for front color. AFAIK, unused.

6. Wrap up

The whole string in this example would give:

MyPersona/MyHeader.png;MyPersona/MyHeader.png;#000000;#F5F5F5

Since I had changed my path and file name to exactly match yours, I
simply copied and pasted the above line into the edit field.
OK'd out of Expert Configuration and Options.

Once validated, the new theme is propagated to new documents (the
current file environment is not changed yet).

Not sure I fully understand what the above line means, but:

  * I tried immediately opening a new document. No persona.
  * I went back into Expert Configuration and my previous settings were
    gone.
  * I again edited the settings and tried closing and restarting LO. No
    persona.
  * Next, I went back into Expert Configuration and again edited the
    settings, OK'd out of Expert Configuration and immediately when back
    in again to find that my settings had already been lost.

To get to these grips, I read a blog article that I'm totally unable
to find right now. Too bad I couldn't cite the author.

HTH,

If it had worked, it would have been a fantastically simple solution.
Maybe something has changed between your 5.4.6.2 and my 6.1.1.2 which
cases LO to ignore or drop Expert Configuration changes. Guess I will
just have to learn to love LO's boring "battleship grey" colors.

However, I thank you again for taking the time to try and help.

Best Regards
Dave

Dave,

Sadly, it did not work. My results are in-line with your previous message.

I have had situations where it didn't work at once but did finally.

The symptom is, indeed, that the Expert settings are not saved.

Here's my current setting:
libreoffice_4_light_ambience/header.png;libreoffice_4_light_ambience/header.png;#000000;#F5F5F5

(guess which Firefox theme I have chosen :wink:

[...] I changed the directory and file name to exactly match yours.
My path =
/home/dave/.config/libreoffice/4/user/gallery/Persona/MyPersona/MyHeader.png

/!\ this should read:

/home/dave/.config/libreoffice/4/user/gallery/personas/MyPersona/MyHeader.png

-> "personas" with a lower case initial and with a final S

my bad /o\

Should work on your side now. Sorry for the misleading.

Best,

Hi Jean-Francois,

You are a champion. After making a couple more changes and taking note
of your note about the path (I keep forgetting Linux case sensitivity)
IT WORKED!!! :slight_smile: A bit more below.

Dave,

Sadly, it did not work. My results are in-line with your previous
message.

I have had situations where it didn't work at once but did finally.

The symptom is, indeed, that the Expert settings are not saved.

Yes, it does seem to require a few retries.

Here's my current setting:
libreoffice_4_light_ambience/header.png;libreoffice_4_light_ambience/header.png;#000000;#F5F5F5

(guess which Firefox theme I have chosen :wink:

Snap! I think it was probably one of your previous posts that put me
onto the light_ambience.png It is so much nicer than the LO "battleship
grey/gray" of the standard header background. Many people who see it,
make good comments.

[...] I changed the directory and file name to exactly match yours.
My path =
/home/dave/.config/libreoffice/4/user/gallery/Persona/MyPersona/MyHeader.png

/!\ this should read:

/home/dave/.config/libreoffice/4/user/gallery/personas/MyPersona/MyHeader.png

-> "personas" with a lower case initial and with a final S

my bad /o\

Should work on your side now. Sorry for the misleading.

No apology necessary. I am thankful you continued to work with me.

Best,

Best Regards
Dave