LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 01-27-2009, 12:55 AM   #1
LAN-Dominator.nl
Member
 
Registered: Sep 2006
Location: Hendrik Ido Ambacht, Zuid-Holland, Nederland, Europa
Distribution: Ubuntu 12.04; CentOS 6.5
Posts: 137

Rep: Reputation: 15
Change of default File Manager?


I found the solution, for using Thunar instead of Nautilus
READ POST 5
----------------------------------------------------------

Is there a possibility to make a change of default File Manager?

Locally i'm using Ubuntu 8.10 with as default fm Nautilus, but i rather use Dolphin instead.

If this could be done by system change, could it also be done like in (Open)Suse and Mandrake?

I thought it could also be done in Solaris, but that's unix, not linux ^^


Thanks for your comments on this.

Last edited by LAN-Dominator.nl; 06-07-2009 at 03:47 PM. Reason: Solution found!
 
Old 01-27-2009, 06:55 PM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
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.
 
Old 05-01-2009, 04:07 AM   #3
LAN-Dominator.nl
Member
 
Registered: Sep 2006
Location: Hendrik Ido Ambacht, Zuid-Holland, Nederland, Europa
Distribution: Ubuntu 12.04; CentOS 6.5
Posts: 137

Original Poster
Rep: Reputation: 15
Thnx i'll stay with nautilus as it is
 
Old 05-01-2009, 12:15 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian 11
Posts: 6,135

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
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.
 
Old 06-07-2009, 03:43 PM   #5
LAN-Dominator.nl
Member
 
Registered: Sep 2006
Location: Hendrik Ido Ambacht, Zuid-Holland, Nederland, Europa
Distribution: Ubuntu 12.04; CentOS 6.5
Posts: 137

Original Poster
Rep: Reputation: 15
Thumbs up [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!
 
  


Reply

Tags
debian, default, dolphin, file, file manager, gnome, manager, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i change the default file manager from nautilus to e.g. dolphin emuub Linux - Software 12 10-04-2009 12:43 PM
Change default file manager in Gnome Mr. Swillis Debian 0 03-11-2008 11:23 PM
How to change default window manager? kwerkun Mandriva 10 11-11-2004 06:36 PM
change default window manager? sporkit Linux - Software 6 03-14-2004 04:12 PM
how to change default X login manager? NeoAnderson Linux - General 6 08-24-2002 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration