ewolnux a écrit :J'ai comparé les fichiers x-cd-image.xml et mimetypefixes.xml de Arch et Manjaro => strictement identiques.
Sur ma cinnamon (j'ai fait aucune modif) ils sont identiques sur ma kde (après modif ) celui dans /application/ est caca (la fin) : doublons glob mais sans et avec weight="60" pastebin
ps: on a une troisième version !!! dans /usr/share/mime/packages/freedesktop.org.xml (ligne7150 pour moi)
<mime-type type="application/x-cd-image"> <comment>raw CD image</comment> <comment xml:lang="ar">صورة CD خامة</comment> <comment xml:lang="be@latin">suvoraja vyjava CD</comment> <comment xml:lang="bg">Изображение — raw CD</comment> <comment xml:lang="ca">imatge de CD en cru</comment> <comment xml:lang="cs">Surový obraz CD</comment> <comment xml:lang="da">rå cd-aftryk</comment> <comment xml:lang="de">CD-Roh-Abbild</comment> <comment xml:lang="el">εικόνα περιεχομένου ψηφιακού δίσκου</comment> <comment xml:lang="en_GB">raw CD image</comment> <comment xml:lang="eo">kruda lumdiskbildo</comment> <comment xml:lang="es">imagen de CD en bruto</comment> <comment xml:lang="eu">CD gordinaren irudia </comment> <comment xml:lang="fi">raaka CD-vedos</comment> <comment xml:lang="fo">rá CD mynd</comment> <comment xml:lang="fr">image CD brute</comment> <comment xml:lang="ga">amhíomhá dhlúthdhiosca</comment> <comment xml:lang="gl">imaxe de CD en bruto</comment> <comment xml:lang="he">תמונת דיסק גולמית</comment> <comment xml:lang="hu">nyers CD-lemezkép</comment> <comment xml:lang="id">citra CD mentah</comment> <comment xml:lang="it">Immagine raw CD</comment> <comment xml:lang="ja">生 CD イメージ</comment> <comment xml:lang="kk">өңделмеген CD бейнесі</comment> <comment xml:lang="ko">CD 이미지</comment> <comment xml:lang="lt">raw CD atvaizdis</comment> <comment xml:lang="lv">CD jēlattēls</comment> <comment xml:lang="ms">Imej CD mentah</comment> <comment xml:lang="nb">rått CD-bilde</comment> <comment xml:lang="nl">ruw CD-beeldbestand</comment> <comment xml:lang="nn">rått CD-bilete</comment> <comment xml:lang="pl">Surowy obraz CD</comment> <comment xml:lang="pt">imagem em bruto de CD</comment> <comment xml:lang="pt_BR">Imagem bruta de CD</comment> <comment xml:lang="ro">imagine de CD brută</comment> <comment xml:lang="ru">образ компакт-диска</comment> <comment xml:lang="sk">Surový obraz CD</comment> <comment xml:lang="sl">surovi CD odtis</comment> <comment xml:lang="sq">Imazh raw CD</comment> <comment xml:lang="sr">сирови отисак ЦД-а</comment> <comment xml:lang="sv">rå cd-avbild</comment> <comment xml:lang="uk">образ raw CD</comment> <comment xml:lang="vi">ảnh đĩa CD thô</comment> <comment xml:lang="zh_CN">原始 CD 映像</comment> <comment xml:lang="zh_TW">原生 CD 映像</comment> <sub-class-of type="application/x-raw-disk-image"/> <alias type="application/x-iso9660-image"/> <glob pattern="*.iso"/> <glob pattern="*.iso9660"/> </mime-type>
les fichiers dans /application/ sont générés par update-mime-database a partir de notre dossier /pacquages/ : j'ai créé de nouveaux type mines perso dans /pacquages/, après moulinette(update-mime-database) ils sont passés dans /application/
Donc, le bon fichier qui va être utilisé est dans /application/, est généré par la fusion des 2 entrées reedesktop.org.xml et mimetypefixes.xml
non les fichiers dans /application/ sont générés par update-mime-database a partir de notre dossier /pacquages/ (si le type est application/xxxxxxxxx), j'ai fait le test.
par exemple, tu ajoutes dans n'importe quel fichier dans /packquages/ (ou créer un nouveau fichier)
sudo update-mime-database /usr/share/mime va générer un fichier x-pass.xml dans le dossier /text/ ps: generic-icon ne fonctionne pas sous kde par contre fonctionne sous némo et thunar