You are not logged in.
removing mime.cache works for me too....
Mr Green
Offline
Please consider filing a bug report.
Bug-Report: http://bugs.archlinux.org/task/10734
Offline
+1 for removing mime cache, fixed my problem.
Offline
Removing the cache really solves the prolem as long as Nautilus is used. With PCmanfm you have to define the matching application one by one and PCmanfm won't remember any preference.
So it is too early to close this thread.
Last edited by jcci (2008-06-24 10:59:56)
Offline
Using Nautilus and removing mime cache fixed mine as well. If PCmanfm does differently I cannot test as I don't use it. Just my $0.02 US currency.
Matt
"It is very difficult to educate the educated."
Offline
Anything new on the issue? I am using pcmanfm too - I deleted mime-types, shared-mime-info, even pcmanfm and all the config files I could find. Yet after reinstallation nothing changed.
Offline
Anything new on the issue? I am using pcmanfm too - I deleted mime-types, shared-mime-info, even pcmanfm and all the config files I could find. Yet after reinstallation nothing changed.
There was some talk about downgrading shared-mime-info in Arch to version 0.3 (see http://bugs.archlinux.org/task/10734). I tested 0.3 a bit and it worked fine. For now there seems to be no solution for pcmanfm users aside from not upgrading shared-mime-info (I'm still using 0.23).
Offline
Downgrading works definitely. The version is 0.23. Please mail me if you should need the file. Hopefully a clean solution will be there soon.
Offline
I had the same problem, fixed it by removing mime.cache in home dir:
rm $HOME/.local/share/mime/mime.cache
I also reinstalled mime-types while trying to fix it, as in post #3 (that didn't fix evince, but it did fix /etc/mime.types which lacked newlines).
EDIT: Removing mime.cache only fixed problem with evince not opening .pdf files, pcmanfm still shows wrong file types. Downgrading shared-mime-info fixes that here too.
Removing mime.cache worked for me, thanks.
I didn't have any mime.types installed before so I uninstalled it.
Offline
EDIT: This did work, just took a few minutes to take effect
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Before I add more info to the bug report, do I need to restart Nautilus for the fix to work?
I've tried this:
pacman -Rn mime-types shared-mime-info ; sudo pacman -S mime-types
pacman -U /var/cache/pacman/pkg/shared-mime-info-0.23-1-i686.pkg.tar.gz
rm $HOME/.local/share/mime/mime.cache
update-mime-database -V /usr/share/mime
The last command threw some errors: http://pastebin.com/mc8b691
I still can't open PNG, JPEG, ODT etc files by double-clicking them
Last edited by fukawi2 (2008-06-25 06:08:59)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Removing ~/.local/share/mime/mime.cache solved the problem for me (no downgrading was necessary)
+1. I did the same and then: pacman -Syu and everything works just fine.
By striving to do the impossible, man has always achieved what is possible. Those who have cautiously done no more than they believed possible have never taken a single step forward - Mikhail Bakunin
Offline
JeremyTheWicked wrote:Removing ~/.local/share/mime/mime.cache solved the problem for me (no downgrading was necessary)
+1. I did the same and then: pacman -Syu and everything works just fine.
Thanks a lot, it perfectly worked for me too (using nautilus)
Offline
I downgraded the package shared-mime-info to version 0.23 and mimes are back. The new version (0.40) got problems
I did this, and more...
added this line to the pacman.conf:
IgnorePkg = shared-mime-info
Now i do a -Syu without problems.
Offline
PekWM+pcmanfm here.
I had to remove /usr/share/mime/application/x-cdrdao-toc.xml and -Suy worked.
Offline
@quad3d@work
it is not a question of pacman upgrade does not work. it is about the mime tpyes, which are fucked up after upgrading to the latest version of shared-mime-info.
jfyi
rgds
hcjl
Offline
Thanks secretfox!!!
pcmanfm with openbox here and downgrading was the only way to do it.
Offline
Benzo wrote:I downgraded the package shared-mime-info to version 0.23 and mimes are back. The new version (0.40) got problems
I did this, and more...
added this line to the pacman.conf:
IgnorePkg = shared-mime-infoNow i do a -Syu without problems.
I can't get IgnorePkg to work.
Where am I supposed to add the line in pacman.conf? If I put it close to the beginning the command is ignored, but if I put it close to the end I get:
error: config file /etc/pacman.conf, line 66: directive 'IgnorePkg' not recognized.
What am I doing wrong here? (OT I know )
Offline
@Perre
that is where i have got it and it works.
#
# /etc/pacman.conf
#
# See the pacman manpage for option directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
IgnorePkg = shared-mime-info
<...>
Last edited by hcjl (2008-06-26 18:00:42)
Offline
@Perre
that is where i have got it and it works.
# # /etc/pacman.conf # # See the pacman manpage for option directives # # GENERAL OPTIONS # [options] # The following paths are commented out with their default values listed. # If you wish to use different paths, uncomment and update the paths. #RootDir = / #DBPath = /var/lib/pacman/ #CacheDir = /var/cache/pacman/pkg/ #LogFile = /var/log/pacman.log HoldPkg = pacman glibc #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u IgnorePkg = shared-mime-info <...>
Thanks man, that did it!
I really like how Pacman warns me that it ignores a package upgrade. Makes it easy to remember to upgrade later when the bug is fixed.
Offline
Thanks for the help above guys.
Removing the mime.cache file fixed it for Gnome for me, and downgrading shared-mime fixed it for PCManFM for me.
Offline
Downgrading worked for me. These are the original files for shared-mime-inf 0.23:
PKGBUILD
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=shared-mime-info pkgver=0.23 pkgrel=1 pkgdesc="Freedesktop.org Shared MIME Info" arch=(i686 x86_64) license=('GPL') depends=('libxml2' 'glib2') makedepends=('perlxml' 'pkgconfig') install=shared-mime-info.install url="http://freedesktop.org/Software/shared-mime-info" source=(http://freedesktop.org/~hadess/${pkgname}-${pkgver}.tar.bz2) md5sums=('3120a720f6a94881614b533f37a7671f') build() { cd ${startdir}/src/${pkgname}-${pkgver} ./configure --prefix=/usr make || return 1 make DESTDIR=${startdir}/pkg install rm -f ${startdir}/pkg/usr/share/mime/mime.cache }
shared-mime-info.install
post_install() { update-mime-database /usr/share/mime > /dev/null 2>&1 } post_upgrade() { post_install $1 } op=$1 shift $op $*
Thanks! I just copied these two files to an empty dir and issued:
makepkg -g
makepkg
pacman -U shared-mime-info-0.23-1-i686.pkg.tar.gz (as root)
And it worked! If an inexperienced linux user like me could do this so easily then anyone can do it! Thanks to everyone!
Last edited by benton (2008-06-28 13:31:34)
Offline
PCManFM 0.4.5 is out...
Changes:
* Support new shared-mime-info 0.40.
* Adjust UI of preference dialog
* Some minor fixes.
Offline
PCManFM 0.4.5 is out...
Thanks for info, it indeed works with shared-mime-info 0.40
Offline