Dropbox 'Copy Public Link' in Thunar file manager (Xfce)

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?

1

2 Answers

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.

1

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.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like