Ubuntu / Linux news and application reviews.

A while back I wrote a Nautilus script for easily sharing any file or folder using Dropbox, via right click. But scripts get lost, especially since most people do a clean Ubuntu install every 6 months. Also, I guess it's easier to simply install it from a PPA / .deb then having to manually install the dependencies and moving the script to the right folder and so on. For this reason, I've packaged my Dropbox Share script in a .deb and uploaded it to the main WebUpd8 PPA.

A little recap on what Dropbox Share does: using it, you can right click any file or folder (!) on your computer and share it via Dropbox. The script creates a link to the file / folder you want to share, in your Dropbox Public folder and automatically copies the link(s) to the clipboard so you can paste it in an email, IM window and so on.

Why using this script is better then copying some files in your Public Dropbox folder:
  • because the script uses symbolic links, the files aren't actually copied to your Dropbox public folder, so they won't take the double amount of space
  • all the links are automatically copied to the clipboard
  • you can even share folders, even though Dropbox doesn't allow this by default (the shared folder will have an "index.html" file and thus opening its link in a web browser, it can be easily accessed via a web browser)

But since explaining all this is wrather difficult, here's a video I've recorded back when I've released version 0.2:

Install Dropbox Share in Ubuntu

Before installing Dropbox Share, make sure you remove any previous versions of the script (both Dropbox Share and Dropbox Unshare) you may have in ~/.gnome2/nautilus-scripts:
rm ~/.gnome2/nautilus-scripts/"Dropbox Share"
rm ~/.gnome2/nautilus-scripts/"Dropbox UnShare"

Dropbox Share is available for Ubuntu Karmic, Lucid, Maverick and Natty, but has only been tested on Lucid and Maverick. To add the PPA and install Dropbox Share, use the following commands:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install dropbox-share

If you're not using Ubuntu, you can get the script from our previous post: Share Any File Or Folder With Dropbox Via Right Click (Nautilus Script) - New Version

The .deb package also comes with the Dropbox Unshare script - thanks to Nicolargo. Credits for Dropbox Index which is used by Dropbox Share: kosciak1.

And since this is a post about Dropbox, here's a tip for you: you can grab up to 768 MB free dropbox space through social media connections - click HERE (don't worry, I don't win anything if you click that link).