How To Integrate DropBox Into Thunar (Fedora 18/XFCE)

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Sun, 2013-02-10 20:44. :: Fedora | Desktop

How To Integrate DropBox Into Thunar (Fedora 18/XFCE)

Version 1.0
Author: Falko Timme <ft [at] falkotimme [dot] com>
Follow me on Twitter
Last edited 02/08/2013

Thunar is the default file manager for XFCE desktops. While it is easy to integrate DropBox into Nautilus, the default file manager for GNOME, it is not so trivial for Thunar. This guide explains how to use DropBox with the Thunar file manager on a Fedora 18 XFCE desktop.

I do not issue any guarantee that this will work for you!

To integrate Dropbox into the Thunar file explorer, open a terminal, and as a normal user, run the following commands:

su -c 'yum install thunarx-python Thunar-devel wget'

Install development tools:

su -c 'yum groupinstall "Development Tools"'

cd ~ && wget -O - "http://www.dropbox.com/download?plat=lnx.x86" | tar xzf -
cd ~ && wget -O - "http://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
cd ~ && wget -O - "http://softwarebakery.com/maato/files/thunar-dropbox/thunar-dropbox-0.2.0.tar.bz2" | tar xjf -

cd thunar-dropbox-0.2.0
./waf configure --prefix=/usr
./waf build
su -c './waf install'

Start the Dropbox daemon:

~/.dropbox-dist/dropboxd &

To make Dropbox start automatically when you login, go to Settings > Session and Startup and open the Application Autostart tab where you click on the Add button:

Create a new entry as follows:

Name: Dropbox
Description: Online file storage and sharing
Command: /home/falko/.dropbox-dist/dropboxd (make sure you use the correct username)

Then create Send To actions for Thunar as follows:

mkdir -p ~/.local/share/Thunar/sendto
leafpad ~/.local/share/Thunar/sendto/dropbox_folder.desktop

[Desktop Entry]
Type=Application
Version=1.0
Exec=cp -dr %F /home/your_username_here/Dropbox/%F
Icon=dropbox
Name=Dropbox

leafpad ~/.local/share/Thunar/sendto/dropbox_public_folder.desktop

[Desktop Entry]
Type=Application
Version=1.0
Exec=cp -dr %F /home/your_username_here/Dropbox/Public/%F
Icon=dropbox
Name=Dropbox Public

That's it - you can now use Dropbox from Thunar:

 

Links


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by on30loring (not registered) on Wed, 2014-03-05 20:11.

on 64-bit,

 ./waf install puts thunar-dropbox.so into /usr/lib instead of /usr/lib64

$ cd /usr/lib64/thunarx-2/

$ sudo ln -s /usr/lib/thunarx-2/thunar-dropbox.so