keeferrourke / la-capitaine-icon-theme

La Capitaine is an icon pack designed to integrate with most desktop environments. The set of icons takes inspiration from the latest iterations of macOS and Google's Material Design.
https://krourke.org/projects/art/la-capitaine-icon-theme
Other
1.95k stars 216 forks source link

LibreOffice 5.3.3 icons not modified #151

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi,

I'm on Fedora 25 Workstation.

I installed LibreOffice 5.3.3 by downloading the .rpm from the LibreOffice web site.

LibreOffice suite is installed in /opt

Unlike other icons theme I tried, La Capitaine is not modifying the whole LibreOffice set of icons (Writer, Calc, Draw, etc.)

I use the Copr repository. But I also tried to just copy from Git La Capitaine in /usr/share/icons with the same result.

Can you do something about it ?

Thanks.

linusg commented 7 years ago

Will this troubleshooting guide help you?

keeferrourke commented 7 years ago

@1Claude you should try installing LibreOffice from the official Fedora repositories. Binaries installed from websites usually do not have *.desktop files that allow for easy theming.

LibreOffice 5.3 is not yet packaged on Fedora, but it should be soon enough if you're patient. In the meantime, either manually edit the *.desktop files located in /usr/share/applications according to the troubleshooting guide that @linusg linked to, or do the following:

sudo dnf remove libreoffice*
sudo dnf install libreoffice
keeferrourke commented 7 years ago

Closing this because I can't do anything about it, but feel free to discuss.

ghost commented 7 years ago

Tell me why icons like Numix Circle, Paper and others can modify LibreOffice 5.3 and not La Capitaine.

That's the question.

linusg commented 7 years ago

See, the fault is not on La Capitaine's site. @keeferrourke already explained what to do. It must be your setup - works fine for me:

libreoffice

To narrow down the problem, may you post the content of some LibreOffice .desktop files? And maybe a screenshot of the icons with Numix enabled and one with La Capitaine enabled? Hard to believe, but behind the scenes most icons themes do the same things...

ghost commented 7 years ago

In order Numix, Paper, La Capitaine.

numix1 paper2 capitaine2

keeferrourke commented 7 years ago

@1Claude please paste the content of your libreoffice-*.desktop files. You will likley find them under /usr/share/applications.

ghost commented 7 years ago

@keeferrourke What do you mean by "content" ?

By right clicking on Writer, for example, if it's what you mean, here's what I get in the /usr/share/applications

/opt/libreoffice5.3/share/xdg/writer.desktop

keeferrourke commented 7 years ago

@1Claude a *.desktop file is a text file.

For instance, if your desktop file for Libreoffice Writer is located at /opt/libreoffice5.3/share/xdg/writer.desktop, as you say above, then paste the contents of that file here. Do the same for the other desktop files.

ghost commented 7 years ago

I'm just going to paste the begining, the rest is just translation...
This is for the Writer App.

[Desktop Entry] Version=1.0 Terminal=false Icon=libreoffice5.3-writer Type=Application Categories=Office;WordProcessor;X-Red-Hat-Base;X-MandrivaLinux-Office-Wordprocessors; Exec=libreoffice5.3 --writer %U MimeType=application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-template;application/vnd.oasis.opendocument.text-web;application/vnd.oasis.opendocument.text-master;application/vnd.oasis.opendocument.text-master-template;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.template;application/vnd.sun.xml.writer.global;application/msword;application/vnd.ms-word;application/x-doc;application/x-hwp;application/rtf;text/rtf;application/vnd.wordperfect;application/wordperfect;application/vnd.lotus-wordpro;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.document.macroenabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.template.macroenabled.12;application/vnd.ms-works;application/vnd.stardivision.writer-global;application/x-extension-txt;application/x-t602;text/plain;application/vnd.oasis.opendocument.text-flat-xml;application/x-fictionbook+xml;application/macwriteii;application/x-aportisdoc;application/prs.plucker;application/vnd.palm;application/clarisworks;application/x-sony-bbeb;application/x-abiword;application/x-iwork-pages-sffpages;application/x-mswrite;application/x-starwriter; Name=LibreOffice 5.3 Writer

Le 2017-05-30 à 18:22, Keefer Rourke a écrit :

@1Claude https://github.com/1claude a |*.desktop| file is a text file.

For instance, if your desktop file for Libreoffice Writer is located at |/opt/libreoffice5.3/share/xdg/writer.desktop|, as you say above, then paste the contents of that file here. Do the same for the other desktop files.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/keeferrourke/la-capitaine-icon-theme/issues/151#issuecomment-305025886, or mute the thread https://github.com/notifications/unsubscribe-auth/ASux6vtdDcjHO8Y5PYawsTz0pAKRhDzdks5r_Ja7gaJpZM4Npzpk.

ghost commented 7 years ago

And this is for the Starter App.

[Desktop Entry] Version=1.0 Terminal=false NoDisplay=false Icon=libreoffice5.3-startcenter Type=Application Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office;X-MandrivaLinux-Office-Other; Exec=libreoffice5.3 %U MimeType=application/vnd.openofficeorg.extension;x-scheme-handler/vnd.libreoffice.cmis; Name=LibreOffice 5.3 GenericName=Office

...

StartupNotify=true X-GIO-NoFuse=true StartupWMClass=libreoffice-startcenter X-KDE-Protocols=file,http,ftp,webdav

Define Actions

Actions=Writer;Calc;Impress;Draw;Base;Math;

[Desktop Action Writer] Name=Writer Exec=libreoffice5.3 --writer

[Desktop Action Calc] Name=Calc Exec=libreoffice5.3 --calc

[Desktop Action Impress] Name=Impress Exec=libreoffice5.3 --impress

[Desktop Action Draw] Name=Draw Exec=libreoffice5.3 --draw

[Desktop Action Base] Name=Base Exec=libreoffice5.3 --base

[Desktop Action Math] Name=Math Exec=libreoffice5.3 --math

End of actions menu

Le 2017-05-30 à 18:22, Keefer Rourke a écrit :

@1Claude https://github.com/1claude a |*.desktop| file is a text file.

For instance, if your desktop file for Libreoffice Writer is located at |/opt/libreoffice5.3/share/xdg/writer.desktop|, as you say above, then paste the contents of that file here. Do the same for the other desktop files.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/keeferrourke/la-capitaine-icon-theme/issues/151#issuecomment-305025886, or mute the thread https://github.com/notifications/unsubscribe-auth/ASux6vtdDcjHO8Y5PYawsTz0pAKRhDzdks5r_Ja7gaJpZM4Npzpk.

ghost commented 7 years ago

My wild and total noob guess in that field... is that maybe the icon set is looking for LibreOffice, Writer, Calc, etc. only, without any numbers at the end, like LibreOffice5.3.

keeferrourke commented 7 years ago

yep, sorry for my initial assumptions. It does seem that Libreoffice is using new icon names for their RPM distribution. I will push a fix soon.

ghost commented 7 years ago

Just glad I can help.

And find out I'm not crazy. :-)

Le 2017-05-30 à 18:47, Keefer Rourke a écrit :

yep, sorry for my initial assumptions. It does seem that Libreoffice is using new icon names for their RPM distribution. I will push a fix soon.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/keeferrourke/la-capitaine-icon-theme/issues/151#issuecomment-305030490, or mute the thread https://github.com/notifications/unsubscribe-auth/ASux6qcnCzhc8Bul3qLN30kny157KQ10ks5r_JyMgaJpZM4Npzpk.

keeferrourke commented 7 years ago

@1Claude try pulling the latest changes from git. Commit 17a5e71 should fix it :)

ghost commented 7 years ago

It works!

Thanks.

Le 2017-05-30 à 18:52, Keefer Rourke a écrit :

@1Claude https://github.com/1claude try pulling the latest changes from git. Commit 17a5e71 https://github.com/keeferrourke/la-capitaine-icon-theme/commit/17a5e71a35fe948214848d70f9b5f3141321cf20 should fix it :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/keeferrourke/la-capitaine-icon-theme/issues/151#issuecomment-305031353, or mute the thread https://github.com/notifications/unsubscribe-auth/ASux6qGCbhXePbO2vnfBbialG6xvaU-Jks5r_J3GgaJpZM4Npzpk.

linusg commented 7 years ago

Please, please don't use a new icon name for every new minor version, please... @LibreOffice