.
Dropbox Integration in Xfce
0. What is Dropbox?It's a proprietary online storage provider which gives you 2 GB of free space, while additional space can be subscribed to monthly for an additional fee. Dropbox
is not overly concerned about your privacy, so putting very sensitive data on there might not be such a good idea...
You can use it via its web interface which requires Adobe Flash (though Gnash in Debian Stable worked fine for me). Their official package supports and requires Nautilus, but we are going to use an alternate package for this method.
https://www.dropbox.com/1. Download the precompiled Dropbox client (the one that isn't tied to Nautilus):A. For 32 bit
- Code: Select all
cd ~ && wget http://dl-web.dropbox.com/u/17/dropbox-lnx.x86-1.3.2.tar.gz && tar zxvf dropbox-lnx.x86-1.3.2.tar.gz
B. For 64 bit
- Code: Select all
cd ~ && wget http://dl-web.dropbox.com/u/17/dropbox-lnx.x86_64-1.3.2.tar.gz && tar zxvf dropbox-lnx.x86_64-1.3.2.tar.gz
The dropbox client will be extracted to
.dropbox-dist2. Make a run script for the clientIn a text editor paste this:
- Code: Select all
cd ~/.dropbox-dist
./dropbox
and save it as
dropbox into either
~/.bin or
/usr/local/bin . Make it executable.
3. Run the Dropbox client at startup3.1. From the start menu, choose
Settings --> Session and Startup3.2. Under
Application Autostart choose the
+ Add sign to add a new rule. Choose a name and description to your liking, but under
Command enter
dropbox.
4. Start Dropboxby running the command
dropbox from the run dialogue. You will be asked to either create a new account or provide credentials for your existing one.
5. Dropbox UsageEverything you copy to the folder
~/Dropbox is automatically synced to your Dropbox account. The subfolder Public contains files that you want to share with others. We will now make a
Thunar Custom Action which will enable us to right click on any given file in the Public folder and use a command which will
copy the public web page link to our clipboard -- this way we can paste it to others...
5.1. The Script
This Python script was taken from the official Nautilus Dropbox package, but it works here, too. Download it:
- Code: Select all
wget http://dl.dropbox.com/u/11675431/dropbox.py
and copy it to
~/.bin or
/usr/local/bin . Make it executable.
5.2. Install
xclip- Code: Select all
apt-get install xclip
5.3. Make the following Thunar Custom Action:
Name: Copy Dropbox Public Link
Description: Copies a public link for the shared file in Dropbox...
Command:
bash -c "dropbox.py puburl %n | xclip -i -selection clipboard"Check all file types under
Appearance Conditions and under
FIle Pattern use
* !
.
<< I guess that makes them "DEBITARDS" ..... >>