How to change the icon of an extension to a normal icon reference?

I am using this extension to store backups of my documents automatically:

http://flowcont.hu/LO_oxt_store/

the icon is pretty dated and I want to make it use the default icon theme instead. Currently it is breeze, but I would prefer not to hardcode the icon in there, and instead refer to a different icon, I guess there will be some “special save” icon in the breeze theme.

Where is that theme stored? I am using the flatpak and could not find it in the flatpaks files, is this really a theme inherited from my system? (I am on Fedora Kinoite, with KDE Plasma).

and is it possible to replace the icon(s) of an extension with a reference to the themes default icon?

Also, is there an option to change extension icons in the Libreoffice settings? I could not find the icon, while I would expect something like a special toolbar “extensions” to be there.

Thanks!

Fedora 41
KDE Plasma Desktop with Breeze Icon theme
LibreOffice 25.2.0.3 Flatpak from Flathub

this would be the icon I would use, but I would prefer not to hardcode it into the theme, and instead use the default “lc_saveall” icon.

The .oxt files are zip archives really. If you rename it to .zip filename extension (before you install it), then you can browse the contents of the directories inside the extension. And you can change the icon files as you want it. Use same file names, and same file
types, and same pixel resolutions.
Finally rename the extension back to .oxt, and install it.

1 Like

yes I know. the question was

  • if I want to reuse a file from a theme, where do I find that theme? I use the flatpak, I looked at the “libreoffice breeze theme” github repo, and it is included somewhere in Libreoffice but I could not find it in the files
  • instead of hardcoding a theme icon, could I use a link to the default “save under” icon for example? So it would follow the standard active theme

if you can connect the dots … : icon-themes - OpenGrok cross reference for /core/icon-themes/

In this case do NOT install the extension. Just copy the macro code from the .oxt (.zip) file into a Module of the Standard directory.
Then you will able to assign the main routine named “timeStampBackup” (and the others if you need them) to a toolbar, and then you will able to set/change the assigned icon by usage the Customize Toolbar feature of the office suite. (In this case you can use the actually installed/selected icon set of the LO.)