"places" menu in Gnome launches thunar instead of nautilus

Asked by aleneguou on 2008-01-31

I have been encountering this very strange behavior with Hardy for a few weeks now: When I choose a location from GNOME's "Places" menu (like the Home directory for example), thunar, xfce's file manager is used instead of nautilus. Any idea why this is happening? I tried running update-alternatives --all to see if it was some setting there, but there was nothing applicable. I searched my gconf keys for anything that was set to "thunar" but turned up nothing.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Albert Damen
Solved:
2008-01-31
Last query:
2008-01-31
Last reply:
2008-01-31
Best Albert Damen (albrt) said : #1

I had the same problem recently and solved by removing the file Thunar-folder-handler.desktop from /usr/share/applications/

Jim Hutchinson (jphutch) said : #2

How did you mange that? I actually want Thunar instead of Nautilus.

aleneguou (alexandergould) said : #3

On Thu, 2008-01-31 at 22:15 +0000, albert wrote:
> Your question #23562 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/23562
>
> Status: Open => Answered
>
> albert proposed the following answer:
> I had the same problem recently and solved by removing the file Thunar-
> folder-handler.desktop from /usr/share/applications/
>

Thank you, that worked. Is this a bug in the thunar-data package?

aleneguou (alexandergould) said : #4

Thanks, that worked. Is this a bug in the thunar-data package?

# dpkg -S /usr/share/applications/Thunar-folder-handler.desktop
thunar-data: /usr/share/applications/Thunar-folder-handler.desktop

aleneguou (alexandergould) said : #5

On Thu, 2008-01-31 at 22:15 +0000, albert wrote:
> Your question #23562 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/23562
>
> Status: Open => Answered
>
> albert proposed the following answer:
> I had the same problem recently and solved by removing the file Thunar-
> folder-handler.desktop from /usr/share/applications/
>

Thank you, that worked. Is this a bug in the thunar-data package?

aleneguou (alexandergould) said : #6

On Thu, 2008-01-31 at 22:15 +0000, albert wrote:
> Your question #23562 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/23562
>
> Status: Open => Answered
>
> albert proposed the following answer:
> I had the same problem recently and solved by removing the file Thunar-
> folder-handler.desktop from /usr/share/applications/
>

Thank you, that worked. Is this a bug in the thunar-data package?

Albert Damen (albrt) said : #7

I would not consider it a bug in Thunar. Both nautilus and thunar install their .desktop files in the same directory, so either both are wrong or both are correct. Looking at the menu specification this just seems to be a limitation in the menu system. Normally you wouldn't have two different file managers on one system.
The specification is at http://standards.freedesktop.org/menu-spec/latest/ if you are interested.

1+1=2 (dbzhang800) said : #8

 I had the same problem recently but removing the file Thunar-folder-handler.desktop from /usr/share/applications/ doesn't work for me.

Gil Pinheiro (gilpinheiro) said : #9

A similar thing to check would be ~/.local/share/applications/mimeapps.list or another of the mime association files. Mine had:

inode/directory=Thunar.desktop;Thunar-folder-handler.desktop;

Changed to:

inode/directory=nautilus.desktop;