3

I'm using Ubuntu 12.04, with both PCManFM and Nautilus installed.

I've succesfully set the default file manager to PCManFM: I've accomplished that by doing the following steps:

  • Right-clicking a directory - Open With... - choose PCManFM
  • Choosing PCManFM as the file manager in exo-preferred-applications
  • Running mimeopen -d ~/Dropbox, and choosing PCManFM

Right now, every folder I open, opens in PCManFM. This is what I want. However, when I click the Dropbox icon in the upper bar of the screen, and then 'Open Dropbox Folder', Dropbox will be opened in Nautilus instead of PCManFM. Is there any way to force Dropbox to open it in PCManFM instead?

2 Answers2

5

In my experience (described in greater detail here):

  • If Nautilus is installed, clicking on the Dropbox tray icon or on the "Open Dropbox Folder" menu item will launch Nautilus regardless of other settings.
  • If Nautilus is not installed, the Dropbox daemon will look for your "inode/directory" mimetype.
  • If Nautilus is not installed and "inode/directory" mimetype is not set, the default browser (i.e. the preferred "x-www-browser") will be launched.

P.S.: As a quick and dirty workaround, you might wish to create a script with, say, the following code

#!/bin/bash  
exec your-favorite-file-manager $@  
exit 0  

call it 'nautilus' and place it somewhere in your $PATH.

1

Uninstalling Nautilus worked for me.

If you want to keep Nautilus, I think the issue is similar to setting the default file manager for Firefox, and there is more info available about that, for example here: How to set up Dolphin as default file manager?

Jungle Editor
  • 171
  • 1
  • 6