How to set the default file browser?

Asked by fluo★

Hi everybody!
I installed xfce (xubuntu-desktop) over the default gnome. But now Thunar is the default file browser under gnome (and xfce too of course).
How do I set back nautilus as the default browser under gnome, and thunar as the one under xfce? (If I can't choose I'd rather have nautilus).
I googled it but I can't find any answer except some weird tweaking. If you have a simpler answer let me know.
Thanks for helping.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Albert Damen
Solved:
Last query:
Last reply:
Revision history for this message
fluo★ (matt.) said :
#1

I forgot to say that I use Hardy alpha 5 so I don't know if it's a bug or if it's just "normal"

Revision history for this message
Batwam (batwam) said :
#2

you'll need to use nautilus --no-desktop if you want to use it with XFCE.

you'll also need to find a way to modify the settings of gnome-open to revert the change. What happens if you remove Thunar?

Revision history for this message
fluo★ (matt.) said :
#3

"What happens if you remove Thunar?"

Could not show 'file:///home/fluo'

:/

Revision history for this message
Best Albert Damen (albrt) said :
#4

You can make nautilus the default file browser again by removing the file Thunar-folder-handler.desktop from /usr/share/applications/

Revision history for this message
fluo★ (matt.) said :
#5

Thanks albert! It worked great!

Revision history for this message
fluo★ (matt.) said :
#6

Thanks albert, that solved my question.