Dropbox opens with web browser?????

The dedicated forum for PCMan File Manager - http://wiki.lxde.org/en/PCManFM
Locked
LanceHaverkamp
Posts: 18
Joined: Wed Apr 22, 2009 12:48 am

Dropbox opens with web browser?????

Post by LanceHaverkamp »

When I click on the Dropbox icon on the taskbar the dropbox folder on my hard drive opens in iceweasel (firefox) rather than in PCManFM. In ever other desktop environment I've seen, the folder opens in the file management program. Any ideas?
M_Mynaardt
Posts: 72
Joined: Wed Dec 15, 2010 9:37 pm
Location: Victoria, BC, Canada

Re: Dropbox opens with web browser?????

Post by M_Mynaardt »

Here's some help I got on this one from a Linux Mint (LXDE Edition) post from a while back:
If you are having problems installing Dropbox, try using this script:

https://www.dropbox.com/download?dl=packages/dropbox.py

Open a terminal and run:

python dropbox.py start --install

No Nautilus dependencies are installed and it works great.
I tried it, and it works just fine. The only thing you need to remember is that when the script runs, you get a box saying that you need the Dropbox proprietary daemon. Just choose 'okay' and the installation with Dropbox proceeds just fine. At least it did with the Linux Mint LXDE I was using...

~*~ M_Mynaardt ~*~
~*~ M_Mynaardt ~*~

LXDE is your computer's Friend!
Always trust LXDE!
maces
Posts: 503
Joined: Sat Oct 25, 2008 6:04 pm
Contact:

Re: Dropbox opens with web browser?????

Post by maces »

Hi,

you have to patch xdg-open, to fix this. This helped me. But this isn't easy for new users, make a backup first and if you don't know what to do, ask.

maces
M_Mynaardt
Posts: 72
Joined: Wed Dec 15, 2010 9:37 pm
Location: Victoria, BC, Canada

Re: Dropbox opens with web browser?????

Post by M_Mynaardt »

maces wrote:Hi,

you have to patch xdg-open, to fix this. This helped me. But this isn't easy for new users, make a backup first and if you don't know what to do, ask.

maces
I was so tired from working nights I forgot all about this post (amongst others). Anyway, I did get Dropbox working on LXDE, thanks to a suggestion from someone on Linux Mint (LXDE forum). Namely, to use the Python script found in: https://www.dropbox.com/download?dl=packages/dropbox.py

This has worked just fine in the portable installs of LXDE that I have! Easy! Easy-Peasy! :D
~*~ M_Mynaardt ~*~

LXDE is your computer's Friend!
Always trust LXDE!
Flypusher
Posts: 1
Joined: Thu Mar 31, 2011 7:02 pm

Re: Dropbox opens with web browser?????

Post by Flypusher »

I just did a clean install of the latest lubuntu (10.10) and discovered this little problem when I installed dropbox. It was cleanly fixed for me using xdg-mime:

~$ xdg-mime default pcmanfm.desktop application/x-directory

Basically you have to set pcmanfm as the default application to open files with mimetype application/x-directory.

Hope this helps!

C
Locked