After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 418760 - nautilus is replaced by thunar under Gnome
nautilus is replaced by thunar under Gnome
Status: RESOLVED INVALID
Product: nautilus
Classification: Core
Component: general
2.16.x
Other All
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-03-15 22:20 UTC by Pacho Ramos
Modified: 2009-01-02 20:07 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
thunar.patch (1.15 KB, patch)
2007-03-19 20:56 UTC, Pacho Ramos
rejected Details | Review

Description Pacho Ramos 2007-03-15 22:20:08 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:
Comment 1 André Klapper 2007-03-16 00:45:06 UTC
shouldn't you file a bug against thunar then (i have no idea which settings they change when installing)? :-)
Comment 2 Pacho Ramos 2007-03-16 09:57:38 UTC
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 :-/
Comment 3 Samuli Suominen 2007-03-16 14:08:46 UTC
(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.
Comment 4 Pacho Ramos 2007-03-16 14:16:57 UTC
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
Comment 5 Pacho Ramos 2007-03-16 14:27:36 UTC
more related bugs:
http://bugzilla.xfce.org/show_bug.cgi?id=1854
Comment 6 Samuli Suominen 2007-03-16 22:02:50 UTC
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
Comment 7 Pacho Ramos 2007-03-19 20:56:27 UTC
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
Comment 8 A. Walton 2009-01-02 20:07:29 UTC
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