Nautilus Dropbox Public URL script

I found that my version of nautilus 3 fails to run,

1. The dropbox extension that they provide(right click file and to select, “copy public link”)

2. Any python extension to nautilus 3.

 

Rants doesn’t work, no one actually listens. The best way around is to do something about it. Here’s the code,

#! /bin/bash
s=`dropbox puburl "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS"`
zenity --info --text="$s"

Save that as ~/.gnome2/nautilus-scripts/publink.sh and make it executable. Now you’ll be able to use it to get the public URL for a dropbox public file. Nautilus 3 seems to have deprecated everything!

Advertisements