[opensuse-factory] [Fixed] kde4 mime-list is broken for iso file associations -- they appear as text files
Hello List Mates, A patch was submitted earlier today by maintainers of shared-mime-info. This fixes the broken iso file associations appearing as plain text files. Bumping priority for ISO images glob matching. See: https://bugs.freedesktop.org/show_bug.cgi?id=80877#c14 I have passed the information to my Bugzilla report. See: https://bugzilla.opensuse.org/show_bug.cgi?id=904100#c21 If you can't wait for the new release it can be fixed quite easily. Open /usr/share/mime/packages/freedesktop.org.xml Search for the x-cd-image entry The original glob pattern entry is: <glob pattern="*.iso"/> Changed it to: <glob pattern="*.iso" weight="80"/> Close Dolphin or Konqueror. Run as root: update-mime-database /usr/share/mime/ Restart Dolphin or Konqueror to view the changes. -- Cheers! Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Op woensdag 18 februari 2015 19:15:36 schreef Roman Bysh:
Hello List Mates,
A patch was submitted earlier today by maintainers of shared-mime-info. This fixes the broken iso file associations appearing as plain text files.
Bumping priority for ISO images glob matching. See: https://bugs.freedesktop.org/show_bug.cgi?id=80877#c14
I have passed the information to my Bugzilla report. See: https://bugzilla.opensuse.org/show_bug.cgi?id=904100#c21
If you can't wait for the new release it can be fixed quite easily.
Open /usr/share/mime/packages/freedesktop.org.xml Search for the x-cd-image entry
The original glob pattern entry is: <glob pattern="*.iso"/>
Changed it to: <glob pattern="*.iso" weight="80"/>
Close Dolphin or Konqueror.
Run as root:
update-mime-database /usr/share/mime/
Restart Dolphin or Konqueror to view the changes.
It did not work. I also got after update-mime-database: Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles' -- fr.gr. Freek de Kruijf -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 02/19/2015 04:07 AM, Freek de Kruijf wrote:
Op woensdag 18 februari 2015 19:15:36 schreef Roman Bysh:
Hello List Mates,
A patch was submitted earlier today by maintainers of shared-mime-info. This fixes the broken iso file associations appearing as plain text files.
Bumping priority for ISO images glob matching. See: https://bugs.freedesktop.org/show_bug.cgi?id=80877#c14
I have passed the information to my Bugzilla report. See: https://bugzilla.opensuse.org/show_bug.cgi?id=904100#c21
If you can't wait for the new release it can be fixed quite easily.
Open /usr/share/mime/packages/freedesktop.org.xml Search for the x-cd-image entry
The original glob pattern entry is: <glob pattern="*.iso"/>
Changed it to: <glob pattern="*.iso" weight="80"/>
Close Dolphin or Konqueror.
Run as root:
update-mime-database /usr/share/mime/
Restart Dolphin or Konqueror to view the changes.
It did not work. I also got after update-mime-database:
You must have done something wrong. Many users have found this as a satisfactory patch. This an official patch. Check the links to shared-mime-info. Tested this on openSUSE 13.2. I've done this ten times and it always works. Open konsole, type kdesu kate and open /usr/share/mime/packages/freedesktop.org.xml Select Edit--->Go to line 7200 and 7201 My modified entries show: <glob pattern="*.iso" weight="80"/> <glob pattern="*.iso9660"/> Click on Save. Close kate and Dolphin. Type: su - update-mime-database /usr/share/mime/ Here's the entire entry. <!--- snip ------------------------------------------------------------ <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" weight="80"/> <glob pattern="*.iso9660"/> </mime-type> <!--- snip ------------------------------------------------------------
Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles'
I get the same thing. I would ignore it. I'll check if a bug report has been submitted. -- Cheers! Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 19.02.2015 Freek de Kruijf wrote:
It did not work. I also got after update-mime-database:
Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles'
I see this everytime Firefox is updated/installed. Do you have FF installed? Regards, Johannes - -- Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us. -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlTmT24ACgkQzi3gQ/xETbJ5UACfYVI59Wyr7Z4RRs40As2gmaQZ 41EAnjZhtD9/PziwropC0X3d4AMEcbZV =yKs7 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, 19 Feb 2015 22:02, Johannes Kastl <mail@...> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 19.02.2015 Freek de Kruijf wrote:
It did not work. I also got after update-mime-database:
Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles'
I see this everytime Firefox is updated/installed. Do you have FF installed?
That has nothing to do with Firefox per se, but with the update-mime-database tool. These "mime-types" are stored in these two files: /usr/share/mime/all/allfiles.xml /usr/share/mime/all/all.xml both of these files are created by "update-mime-database". IMHO the pure existance of these files is a bug, and a missbehavior of the "update-mime-database" tool. - Yamaban. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 02/19/2015 04:30 PM, Yamaban wrote:
On Thu, 19 Feb 2015 22:02, Johannes Kastl <mail@...> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 19.02.2015 Freek de Kruijf wrote:
It did not work. I also got after update-mime-database:
Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles'
I see this everytime Firefox is updated/installed. Do you have FF installed?
That has nothing to do with Firefox per se, but with the update-mime-database tool.
These "mime-types" are stored in these two files:
/usr/share/mime/all/allfiles.xml /usr/share/mime/all/all.xml
both of these files are created by "update-mime-database".
IMHO the pure existance of these files is a bug, and a missbehavior of the "update-mime-database" tool.
- Yamaban. I agree.
-- Cheers! Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, 19 Feb 2015 22:44, Roman Bysh <rbtc1@...> wrote:
On 02/19/2015 04:30 PM, Yamaban wrote:
On Thu, 19 Feb 2015 22:02, Johannes Kastl <mail@...> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 19.02.2015 Freek de Kruijf wrote:
It did not work. I also got after update-mime-database:
Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles'
I see this everytime Firefox is updated/installed. Do you have FF installed?
That has nothing to do with Firefox per se, but with the update-mime-database tool.
These "mime-types" are stored in these two files:
/usr/share/mime/all/allfiles.xml /usr/share/mime/all/all.xml
both of these files are created by "update-mime-database".
IMHO the pure existance of these files is a bug, and a missbehavior of the "update-mime-database" tool.
I must correct this. Yes, the files are created by the tool. But further investigation showed, that these are created from a mime-type-source file, see: /usr/share/mime/packages/kde.xml (kdelibs4 package) This file contains the "fake" mimetypes all/all and all/allfiles [code] <!-- all/ fake mime types --> <mime-type type="all/all"> <comment>all files and folders</comment> </mime-type> <mime-type type="all/allfiles"> <comment>all files</comment> </mime-type> [/code] IMHO that should not be there. Can some some that uses KDE intensive (Baloo, Konqueror, Dolphin) plese test what happens if you comment that out and run "update-mime-database", as well do a logout/login from KDE afterwards. If there are no negatives, I'd like to propose a removeal upstream. - Yamaban. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 02/19/2015 05:16 PM, Yamaban wrote:
On Thu, 19 Feb 2015 22:44, Roman Bysh <rbtc1@...> wrote:
On 02/19/2015 04:30 PM, Yamaban wrote:
On Thu, 19 Feb 2015 22:02, Johannes Kastl <mail@...> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 19.02.2015 Freek de Kruijf wrote:
It did not work. I also got after update-mime-database:
Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles'
I see this everytime Firefox is updated/installed. Do you have FF installed?
That has nothing to do with Firefox per se, but with the update-mime-database tool.
These "mime-types" are stored in these two files:
/usr/share/mime/all/allfiles.xml /usr/share/mime/all/all.xml
both of these files are created by "update-mime-database".
IMHO the pure existance of these files is a bug, and a missbehavior of the "update-mime-database" tool.
I must correct this. Yes, the files are created by the tool. But further investigation showed, that these are created from a mime-type-source file, see:
/usr/share/mime/packages/kde.xml (kdelibs4 package)
This file contains the "fake" mimetypes all/all and all/allfiles [code] <!-- all/ fake mime types --> <mime-type type="all/all"> <comment>all files and folders</comment> </mime-type> <mime-type type="all/allfiles"> <comment>all files</comment> </mime-type> [/code]
IMHO that should not be there.
Can some some that uses KDE intensive (Baloo, Konqueror, Dolphin) plese test what happens if you comment that out and run "update-mime-database", as well do a logout/login from KDE afterwards.
If there are no negatives, I'd like to propose a removeal upstream.
- Yamaban. I just commented out that entry and ran update-mime-database /usr/share/mime/ The two lines no longer appear.
-- Cheers! Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/19/2015 04:30 PM, Yamaban wrote:
On Thu, 19 Feb 2015 22:02, Johannes Kastl <mail@...> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 19.02.2015 Freek de Kruijf wrote:
It did not work. I also got after update-mime-database:
Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles'
I see this everytime Firefox is updated/installed. Do you have FF installed?
That has nothing to do with Firefox per se, but with the update-mime-database tool.
These "mime-types" are stored in these two files:
/usr/share/mime/all/allfiles.xml /usr/share/mime/all/all.xml
both of these files are created by "update-mime-database".
IMHO the pure existance of these files is a bug, and a missbehavior of the "update-mime-database" tool.
- Yamaban. Yamaban,
I don't understand the purpose of these files or the entry. I also believe the entry should be removed upstream with the shared-mime-info people. Cheers! Roman -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJU6SlkAAoJEAwC6tvrxPmQ4LMP/jeerSddarf5PNfy9JRlQKz1 82S4pQTpxdITGBP2Z7Qv6U2K8Fgqh1X2k7NhQAfeIuTrjktPNHvTzZh6ybMSbuWm xBjryTNCOqft5okkSxS6W9qbadBYz7sHxPrloav2w0yWA/M3aaN9aCHOTp7Amn3y T1PqexFyQJvNLur+Rg/O6MeaTKKmDgozYTsY2UnBT/wW0xo186M75kCwULEH8cDm rLtZN1GZ116dmZvmWlKuH5pXauu4iuD40hhigSLB8tZiUIX9lVesDpTFMOie32Pp zE90mnOetm6o0T1QgKFTMzzERmdX7261KvsSsgbPOcFzvZSNrJNWebC4sR6IMxf2 SvZ21s1dFwatv5Zlug/5Bk2vpiXhUwEdWfQbJ27t9MRdnf2N5m/1DHf/4ksmLX0T KCp1DLVkfCJtNoZQGgdfvRem1TMX2mH7tbrwEZC/b5P+wrzZHIejO7cHBx9a8k0i MDsLr5O9KABMk6SG9MZDm6P0IEWK7uc7FWl7uA3Qi2sEEY2S3hkPEu1wTxSxur6t +bAk4eOB4KDD/3z9mhPU1DuF7pAyv0AY6VampwgrTXG6nHaafkGYfAHWW6aiF/ZZ BQtxkuiacovQ6FwKY7/9UYKhdlrBvi0bmC+nyWF3yleHAZBREwzVe9aet91atqTt 073h1bZePAXUhvib9eet =kYXh -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Freek de Kruijf
-
Johannes Kastl
-
Roman Bysh
-
Yamaban