Pages of the blog

01 August, 2017

How to add Oxygen icon set to LibreOffice 5.4

For those who prefer to use the KDE desktop with the theme of Oxygen on their workstations, it was somewhat shocking that the designers of LibreOffice removed the theme of the Oxygen icons from the assembly. The decision they took a year ago, but the hands reached only now in LibreOffice 5.4. Why did they decide that if they do not use the theme, nobody should use it, I do not know why. But the fact is: they made a choice for us. It is not difficult to restore the theme now, it will be a little more difficult in a year, but it's not pleasant. A bit of theory and "practice" below in the article.
And so, the first thing to remember is that the icon themes for LibreOffice are installed in the system folders. Why fonts can be installed in user folders, but icon themes are not, this is a separate spit of poison in the direction of developers. Apparently no one, as always, thought about anyone. But the point is that we really need administrator rights.
And so, there are several ways, and they look like crutches:
Install the icon set from the repository, for Kubuntu.
  1. Type (or copy) the following command:
    sudo apt-get install libreoffice-style-oxygen
  2. Together with this package, you will be offered to put the garbage that arrives by dependencies: libreoffice-common libreoffice-core libreoffice-style-galaxy libreoffice-style-tango python3-uno
    Thank the designers for taking care of us and agree to the installation.
  3. Copy the theme of the icons to the right place:
    sudo cp /usr/share/libreoffice/share/config/images_oxygen.zip /opt/libreoffice5.4/share/config/
  4. Delete the garbage:
    sudo apt-get remove libreoffice-common libreoffice-core libreoffice-style-galaxy libreoffice-style-tango python3-uno
  5. Open LibreOffice, go to the Tools -> Options -> LibreOffice -> View menu and value of the icon set to Oxygen.
In later versions of LibreOffice, you will need to change the last 2 digits in the folder name.
If you do not find libreoffice-style-oxygen (well, it can be removed from the distribution too), you can download either the old version of LibreOffice, or the package from the old version of Ubuntu, and extract the necessary file from there.
For the old version of LibreOffice:
  1. Download the file (the architecture does not matter)
  2. Unpacking
  3. Find the file libobasis5.3-images_5.3.5.1-1_amd64.deb and unpack it as a regular archive
  4. Go to the folder libobasis5.3-images_5.3.5.1-1_amd64, find data.tar.gz and unpack it.
  5. The file we need will be at the lowest level of opt/libreoffice5.3/share/config/ folder. Just copy it to /opt/libreoffice5.4/share/config/ and set the icon theme as explained above.
I hope that users of ppa LibreOffice will not feel this provocation of the design team. But if all the same it will affect, the above-stated councils are suitable and for this case.
Good luck to everyone, and do not let anyone decide for you! :)

Source and additional information:

No comments :

Post a Comment