Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The file manager is an integral part of the desktop you're using. I don't think that what you ask is possible. If you prefer Dolphin, you should probably use KDE if you're using a desktop instead of a window manager only. Solaris also has gnome which is now the default desktop if I recall, and it behaves the same as in Linux.
If you use KDE as your desktop (and I'm referring to KDE 3.x.y, not 4 - I'm not using KDE4 yet) then it is very easy to set up different file managers to be the default:
Launch kcontrol from a terminal (as not all distros offer it from the menus)
click KDE Components -> file Associations
Click on inode
Click on Directory
Now choose whichever application you wish to open Directories with.
I prefer konqueror first in the list, but you can always put dolphin or nautilus or whatever.
If the first application isn't present on your system, it'll try the next in the list.
I am a bit surprised that gnome doesn't also offer this functionality.
Location: Hendrik Ido Ambacht, Zuid-Holland, Nederland, Europa
Distribution: Ubuntu 12.04; CentOS 6.5
Posts: 137
Original Poster
Rep:
[SOLVED] Change of default File Manager in Gnome
I found the perfect way to change the Default File Manager under Ubuntu (gnome)..
From Nautilus to Thunar
1. Backup the official Nautilus file
Code:
sudo mv /usr/bin/nautilus /usr/bin/nautilus.real
2. Now make the new Nautilus file
Code:
sudo gedit /usr/bin/nautilus
3. place this code and save it
Code:
#!/bin/bash
#zenity --info --text="${1}/${@}" #DEBUG
if [ -n "${1}" ]; then
if [ "${1:0:1}" == "/" ]; then
thunar "${1}"
elif [ "${1}" == "--no-desktop" ]; then
if [ -n "${2}" ]; then
if [ "${2:0:7}" == "file://" ] || [ "${2:0:1}" == "/" ]; then
thunar "${2}"
else
nautilus.real "${2}"
fi
else
thunar
fi
else
nautilus.real "${@}"
fi
else
thunar
fi
4. Make sure that you own the file
Code:
sudo chmod 755 /usr/bin/nautilus
Done!
*ps. Thunar doesn't support gnome-vfs filesystem, like smb:// webdav:// ssh:// computer:///, and will be shown in nautilus by default, as the script tells it!
Last edited by LAN-Dominator.nl; 06-09-2009 at 12:34 PM.
Reason: Edit title, because the problem is solved!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.