GNOME Bugzilla – Bug 418760
nautilus is replaced by thunar under Gnome
Last modified: 2009-01-02 20:07:29 UTC
Please describe the problem: After installing Thunar, when I open a folder from "places" gnome menu, it is opened using Thunar instead of nautilus. I thought that the problem was in /usr/share/applications/Thunar-folder-handler.desktop there is an incorrect mime that makes Thunar be used as default instead of nautilus UNDER GNOME, but seems that removing x-directory/gnome-default-handler is not enough :-/ Thanks a lot Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
shouldn't you file a bug against thunar then (i have no idea which settings they change when installing)? :-)
I have join to #xfce IRC channel and they said me that seemed a gnome bug, then, I sent a bug report to xfce bugs and to gnome bugs :-/
(In reply to comment #1) > shouldn't you file a bug against thunar then (i have no idea which settings > they change when installing)? :-) > They don't change anything, or touch any GNOME files. See http://bugs.gentoo.org/show_bug.cgi?id=170630#c5 It's because Thunar uses same MimeType as Nautilus and GNOME currently has no way to handle it, it seems.
Seems a problem similar (I don't know if it is the same) as: http://bugzilla.gnome.org/show_bug.cgi?id=336541 And: https://launchpad.net/ubuntu/+source/desktop-file-utils/+bug/35997
more related bugs: http://bugzilla.xfce.org/show_bug.cgi?id=1854
23:51 <+drac> I still think it's about Thunar-folder.. nautilus-folder.. MimeType line which ends up in mimeinfo.cache 23:51 <+drac> But the real problem is with GNOME if they don't provide decent way to switch default filemanager. 23:52 <+drac> grep default /usr/share/applications/mimeinfo.cache 23:53 < mlangc> i guess it's this one: 23:53 < mlangc> x-directory/gnome-default-handler=Thunar-folder-handler.desktop;nautilus-folder-handler.desktop; 23:54 < mlangc> i can try to change the order of the folder-handlers ... 23:55 <+drac> MimeType line is there to say which types it can handle, if Thunar says it can handle x-directory/gnome-default-handler then it can. If gnome/gnome-panel can't handle the situation where other applications can handle x-directory/gnome-default-handler as well, it's at fault. 23:57 < mlangc> drac: it's the ordering that matters for gnome 23:58 < mlangc> i had these lines: 23:58 < mlangc> inode/directory=Thunar-folder-handler.desktop;nautilus-folder-handler.desktop; 23:58 < mlangc> x-directory/normal=Thunar-folder-handler.desktop;nautilus-folder-handler.desktop; 23:58 < mlangc> x-directory/gnome-default-handler=Thunar-folder-handler.desktop;nautilus-folder-handler.desktop; 23:58 < mlangc> there i've swapped gnome-default-handler=Thunar-folder-handler.desktop and nautilus-folder-handler.desktop; 23:58 < mlangc> and now the panel prefers nautilus again
Created attachment 84914 [details] [review] thunar.patch After applying the attached patch, I get: grep -r gnome-default-handler /usr/share/applications /usr/share/applications/nautilus-folder-handler.desktop:MimeType=x-directory/gnome-default-handler;x-directory/normal;inode/directory;application/x-gnome-saved-search /usr/share/applications/mimeinfo.cache:x-directory/gnome-default-handler=nautilus-folder-handler.desktop grep default /usr/share/applications/mimeinfo.cache x-directory/gnome-default-handler=nautilus-folder-handler.desktop But the problem PERSISTS :-O I think that gnome-panel is not using x-directory/gnome-default-handler mime type when it should. Thanks
Not sure exactly why a Thunar patch is ending up in GNOME's Bugzilla, but the surrounding bugs seem to point out that it's a broken user configuration. Closing this as invalid. http://bugzilla.xfce.org/show_bug.cgi?id=3016