Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using XUbuntu and was a bit saddened that I couldn't use Dropbox within Thunar file manager.

Can I make a custom context menu option to 'copy public link' in Thunar?

share|improve this question
    
there's a way of limiting the option to just the public folder > Thanks to the dropbox.py script, it knows if you are in Dropbox’s Public folder or not. –  Carpintonto Mar 10 at 14:53

2 Answers 2

up vote 3 down vote accepted

This solution works for me:

  1. Install nautilus-dropbox (yes, it uses Nautilus, but we will integrate it in Thunar at step 4)

    sudo apt-get install nautilus-dropbox
    
  2. Start Dropbox daemon:

    ~/.dropbox-dist/dropboxd
    
  3. Add Dropbox to start-up:

    Settings Manager > Session and Startup > Applications Autostart > Add

    under "Name", enter "Dropbox"

    under "Command", enter "/home/USERNAME/.dropbox-dist/dropboxd"

  4. Install the Dropbox Thunar extension: 32bit, 64bit or source

For me, it works like a charm, except that, when I click to "Open Dropbox Folder" from Dropbox panel applet, it opens Nautilus instead of Thunar.

edit: It is also useful to add a Dropbox folder link to Thunar's sidebar. This can be done simply by draging-'n'-droping Dropbox folder to the sidebar.

share|improve this answer
    
Thanks for this. I must have been extremely inefficient on Google earlier, this is very helpful. –  Henry Gibson Apr 5 '13 at 1:01

First you need to install xclip, sudo apt-get install xclip

Now in Thunar click Edit>Configure custom actions, then click the green plus sign.

Under Name enter 'Copy Public Link', or something suited to yourself

Under Command enter dropbox puburl %f | xclip -se c

In the same window, under the Appearance Conditions tab, tick everything.

Now if you right click in Thunar you will see the dropbox option, I'd like to know if there's a way of limiting the option to just the public folder, that way it won't constantly be there in places it isn't needed.

share|improve this answer
    
Though you can use dropbox puburl only in your Public folder, anywhere else you will get an error like Couldn't get public url: Unknown Error , thumbsup for this answer. –  NikTh Jun 10 at 20:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.