Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RESOLU]Sets d'icônes pour Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Anard
Apprentice
Apprentice


Joined: 01 Oct 2020
Posts: 216

PostPosted: Mon Feb 01, 2021 9:05 am    Post subject: [RESOLU]Sets d'icônes pour Gentoo Reply with quote

Bonjour,

J'utilise comme icônes flat-glass, un set d'icône que j'ai récupéré il y a qques années sur gnome-look.org ou xfce-look.org et que j'ai légèrement modifié à ma guise.
Quand je l'utilise sous Gentoo, à chaque compilation, je reçois des messages d'erreur (pas bloquants, mais c'est toujours énervant).
Quote:
* Failed to update cache with icon /usr/share/icons/flat-glass


Ceci au moins un fois par logiciel. Je me demandais comment je pouvais faire pour faire disparaître ces messages. J'imagine qu'il attend un fichier qu'il ne trouve pas dans mon pack d'icône, mais lequel et où ? Et comment est-il rédigé ?

Merci pour votre aide. :)
_________________
"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go DDR3, Intel HD4600, 2x SSD 256Go, HDD 500Go+2To / Clover - macOS Mojave / Gentoo-Xfce
"Portable" : HP 350G3, HDD 500Go / rEFInd - Xubuntu 20.04 / Windows 10


Last edited by Anard on Sat Feb 06, 2021 9:40 am; edited 1 time in total
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1896
Location: 127.0.0.1

PostPosted: Wed Feb 03, 2021 1:46 pm    Post subject: Reply with quote

Salut,

Cette erreur est générée par la fonction xdg_icon_cache_update dans l'eclass xdg-utils.eclass.
Quelle est la sortie de :
Code:

$ gtk-update-icon-cache /usr/share/icons/flat-glass
Back to top
View user's profile Send private message
Anard
Apprentice
Apprentice


Joined: 01 Oct 2020
Posts: 216

PostPosted: Sat Feb 06, 2021 8:22 am    Post subject: Reply with quote

Merci

Il trouve un fichier caché .icon-theme.cache mais celui-ci est illisible, mousepad par exemple me dit que ce n'est pas de l'UTF8 :

Code:
anard@gentoo-imack ~ $ gtk-update-icon-cache /usr/share/icons/flat-glass
gtk-update-icon-cache: Failed to open file /usr/share/icons/flat-glass/.icon-theme.cache : Le fichier existe
anard@gentoo-imack ~ $ cd /usr/share/icons/flat-glass/ && cat .icon-theme.cache

�|E$�\�l�  �!P!�"L"�"�#L����#�$$�$�%4%�&�'\'�((((�) )`)�*L*�+<+�,T-,-�-�..0.X.�/p/�0�181�1�202�2�2�����3\4 4d5P5p5�6H77L7�8l8�9P9�:8����:�:�;;�;�;�;�<�=�>p>�?P?�@4AA<B$B@B�B�C\C�C�D����D�����E�E�F\F�F�G,G�H0HhH�II�I�J�K`K�LLtL�L�M�M�N�OOpO�O�P$����P�QtQ�RLSDS�T�U�VDV�V�WhXX�X�Y@����Y�ZDZ�Z�[�\ ]
[...]

_________________
"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go DDR3, Intel HD4600, 2x SSD 256Go, HDD 500Go+2To / Clover - macOS Mojave / Gentoo-Xfce
"Portable" : HP 350G3, HDD 500Go / rEFInd - Xubuntu 20.04 / Windows 10
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1896
Location: 127.0.0.1

PostPosted: Sat Feb 06, 2021 8:56 am    Post subject: Reply with quote

Ce fichier .icon-theme.cache doit être un fichier binaire temporaire.
Essaie ceci (en root) :
Code:

# cd /usr/share/icons/flat-glass/
# mv .icon-theme.cache .icon-theme.cache.old
# gtk-update-icon-cache /usr/share/icons/flat-glass
# echo $?
Back to top
View user's profile Send private message
Anard
Apprentice
Apprentice


Joined: 01 Oct 2020
Posts: 216

PostPosted: Sat Feb 06, 2021 9:07 am    Post subject: Reply with quote

idem ... :(

Code:
gentoo-imack /usr/share/icons/flat-glass # mv .icon-theme.cache .icon-theme.cache.old
gentoo-imack /usr/share/icons/flat-glass # gtk-update-icon-cache /usr/share/icons/flat-glass
gtk-update-icon-cache: The generated cache was invalid.
gentoo-imack /usr/share/icons/flat-glass # echo $?
1
gentoo-imack /usr/share/icons/flat-glass #


Il a donc recréé le .icon-theme.cache
_________________
"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go DDR3, Intel HD4600, 2x SSD 256Go, HDD 500Go+2To / Clover - macOS Mojave / Gentoo-Xfce
"Portable" : HP 350G3, HDD 500Go / rEFInd - Xubuntu 20.04 / Windows 10
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1896
Location: 127.0.0.1

PostPosted: Sat Feb 06, 2021 9:13 am    Post subject: Reply with quote

D'accord, donc tu peux supprimer les fichiers .cache temporaires.
L'explication est probablement ici. Tu dois certainement vérifier le fichier index.theme du répertoire, il doit contenir des erreurs (peut-être en rapport avec les modifications que tu as effectuées).
Back to top
View user's profile Send private message
Anard
Apprentice
Apprentice


Joined: 01 Oct 2020
Posts: 216

PostPosted: Sat Feb 06, 2021 9:38 am    Post subject: Reply with quote

Cool merci :)
C'était comme eux à cause des espaces dans quelques noms de fichier du thème d'origine que j'ai remplacé par des '-'

Code:
anard@gentoo-imack /usr/share/icons/flat-glass $ sudo emerge mousepad
[...]
>>> Installing (1 of 1) app-editors/mousepad-0.4.2::gentoo
 * Updating GSettings schemas ...                                        [ ok ]
 * Updating .desktop files database ...                                  [ ok ]
 * Updating icons cache ...                                              [ ok ]
 * Updating GSettings schemas ...                                        [ ok ]
 * Updating .desktop files database ...                                  [ ok ]
 * Updating icons cache ...                                              [ ok ]
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
anard@gentoo-imack /usr/share/icons/flat-glass $

_________________
"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go DDR3, Intel HD4600, 2x SSD 256Go, HDD 500Go+2To / Clover - macOS Mojave / Gentoo-Xfce
"Portable" : HP 350G3, HDD 500Go / rEFInd - Xubuntu 20.04 / Windows 10
Back to top
View user's profile Send private message
pti-rem
Guru
Guru


Joined: 14 Oct 2011
Posts: 472

PostPosted: Thu Feb 18, 2021 1:34 pm    Post subject: Reply with quote

Bonjour,

Vous est-il possible de mettre à portée de clic - pour moi et nous autres - vos sets d'icônes corrigés pour Gentoo ?

Merci ! Je suis collectionneur.

Cordialement
Back to top
View user's profile Send private message
Anard
Apprentice
Apprentice


Joined: 01 Oct 2020
Posts: 216

PostPosted: Thu Feb 18, 2021 6:21 pm    Post subject: Reply with quote

Bonsoir,
Si bien sûr, mais je n'en suis pas l'auteur, juste qques modifs. Comme les notifications de mail avec le logo de la Poste.
Et je ne sais pas s'il fonctionne bien pour d'autres bureaux qu'Xfce. :?:

Thème Flat-Glass
_________________
"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go DDR3, Intel HD4600, 2x SSD 256Go, HDD 500Go+2To / Clover - macOS Mojave / Gentoo-Xfce
"Portable" : HP 350G3, HDD 500Go / rEFInd - Xubuntu 20.04 / Windows 10
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum