Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st April 2012, 02:47 AM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Dropbox/Xfce (Thunar) integration.

1) "Install Dropbox via command line"
Quote:
32-bit:
Code:
cd ~ && wget -O - "http://www.dropbox.com/download?plat=lnx.x86" | tar xzf -
64-bit:
Code:
cd ~ && wget -O - "http://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
2) Download and install thunar-dropbox from http://softwarebakery.com/maato/thunar-dropbox.html
You will need to install build tools (I'm not sure, but I think that besides what comes already in Fedora we need only gcc) and Thunar-devel and follow the (very simple) instructions at the softwarebakery.com link above.

3) To start Dropbox automatically at login, open "Settings > Session and Startup" from the Xfce menu, tab "Application Autostart", click on "Add" and add something like:
Name: Dropbox
Description: On-line file storage and sharing
Command: <browse to ~/.dropbox-dist/dropboxd>

4) If you don't want to start Dropbox automatically and rather just launch it eventually from the menu, I recommend to link dropboxd to $PATH
Code:
cd ~/bin
ln -s ../.dropbox-dist/dropboxd
and then create ~/.local/share/applications/dropbox.desktop with, for instance, this content:
Code:
[Desktop Entry]
Version=1.0
Name=Dropbox
GenericName=File storage and sharing
Comment=On-line-file storage and sharing
Exec=dropboxd
Icon=dropbox
Type=Application
Terminal=false
Categories=Network;
5) Add "Send To" Thunar actions with the following files:
a. ~/.local/share/Thunar/sendto/dropbox_folder.desktop
Quote:
[Desktop Entry]
Type=Application
Version=1.0
Exec=cp -dr %F /home/your_username_here/Dropbox/%F
Icon=dropbox
Name=Dropbox
b. ~/.local/share/Thunar/sendto/dropbox_public_folder.desktop
Quote:
[Desktop Entry]
Type=Application
Version=1.0
Exec=cp -dr %F /home/your_username_here/Dropbox/Public/%F
Icon=dropbox
Name=Dropbox Public
Note: if your icon theme, like the Fedora default icon theme, doesn't have a "dropbox" icon, copy it from ~/.dropbox-dist/icons to ~/.icons

Last edited by secipolla; 15th April 2012 at 03:59 PM. Reason: Replaced %f for %F in send-to files to send more than one at once.
Reply With Quote
  #2  
Old 1st April 2012, 04:58 PM
aleph's Avatar
aleph Offline
Banned (for/from) behaving just like everybody else!
 
Join Date: Jul 2007
Location: Beijing, China
Posts: 1,307
linuxfirefox
Re: Dropbox/Xfce (Thunar) integration.

Great guide And very good demonstration of Thunar's versatility.


Thank you!
Reply With Quote
  #3  
Old 1st April 2012, 04:59 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
thunar-dropbox vs. send-to

thunar-dropbox adds right-click Dropbox actions when inside ~/Dropbox (1st picture)
"Send To" works everywhere to send files to the Dropbox folders (2nd picture)
Attached Thumbnails
Click image for larger version

Name:	dropbox-actions.png
Views:	347
Size:	41.5 KB
ID:	22909   Click image for larger version

Name:	send-to.png
Views:	387
Size:	76.6 KB
ID:	22910  
Reply With Quote
  #4  
Old 1st April 2012, 05:07 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: Dropbox/Xfce (Thunar) integration.

You're welcome, aleph. Yes, versatility is fundamental.
I just opened these days a bug report for file-roller in Fedora as that great archiver in Fedora, unlike in Debian, Arch etc. requires nautilus and calls it to open directories. That's laming an otherwise very featureful and versatile tool.
Meanwhile I'm using Peazip...
Reply With Quote
  #5  
Old 1st April 2012, 05:09 PM
aleph's Avatar
aleph Offline
Banned (for/from) behaving just like everybody else!
 
Join Date: Jul 2007
Location: Beijing, China
Posts: 1,307
linuxfirefox
Re: Dropbox/Xfce (Thunar) integration.

I guess this thread is what will finally make me install Dropbox on my notebook and my Android phone.
Reply With Quote
  #6  
Old 1st April 2012, 09:32 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxchrome
Re: Dropbox/Xfce (Thunar) integration.

aleph, or anyone interested, if you use this referral link you and me get 500 MB of extra space on the free account.
I don't need this extra space right now but since it benefits both, I'm posting here.

Last edited by secipolla; 11th April 2012 at 01:44 PM. Reason: Dropbox raised from 250 to 500MB extra for referrals.
Reply With Quote
  #7  
Old 2nd April 2012, 05:45 AM
aleph's Avatar
aleph Offline
Banned (for/from) behaving just like everybody else!
 
Join Date: Jul 2007
Location: Beijing, China
Posts: 1,307
linuxfirefox
Re: Dropbox/Xfce (Thunar) integration.

Hi, thank you, but I already have a dropbox account.
Reply With Quote
  #8  
Old 1st June 2012, 11:31 AM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: Dropbox/Xfce (Thunar) integration.

Another tip.
In my recent Xfce F17 installation starting from the minimal ISO, clicking the Dropbox icon on the panel was opening Firefox instead of Thunar.
For some reason it didn't find the default file manager and Firefox is a fallback for xdg-open in these cases.
So we set the default for ourselves in the proper xdg-utils way with:
Code:
$ xdg-mime default fedora-Thunar-folder-handler.desktop inode/directory
And now Dropbox (and any other app that doesn't look for the Xfce defaults and uses the xdg defaults instead) will open its folder in Thunar.

Last edited by secipolla; 1st June 2012 at 12:10 PM.
Reply With Quote
  #9  
Old 13th July 2012, 02:21 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: Dropbox/Xfce (Thunar) integration.

Today I noticed that thunar-dropbox wasn't working.

Well, I figured 'it wasn't working' because Dropbox needs to be running for it to work. (aham..)
So I'll leave the info below as it has instructions to both update Dropbox (in case it doesn't update itself) and re-build thunar-dropbox.

--------------------------------------------------------------------------------------------------------

To update it, in case it doesn't auto-update (I don't know).
https://www.dropbox.com/release_notes

Remove both ~/.dropbox (this is the application) and ~/.dropbox-dist (these are the settings).
Install Dropbox again:
32-bit
Code:
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf -
64-bit
Code:
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
To re-build thunar-dropbox:
Code:
cd src/thunar-dropbox-0.2.0
su -c './waf uninstall'
./waf clean
./waf configure --prefix=/usr
./waf build
su -c './waf install'
Next time you open Dropbox you'll have to re-enter your account settings (as we cleaned ~/.dropbox-dist) and it will sync again ~/Dropbox.

Last edited by secipolla; 13th July 2012 at 02:45 PM.
Reply With Quote
Reply

Tags
dropbox, dropbox or xfce, integration, thunar, xfce

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Thunar and Network Browsing restoretheroar Using Fedora 2 12th January 2012 10:04 AM
Fedora 16 Xfce thunar language problem SilvioTO Fedora Spins & Remixes 0 4th January 2012 09:46 AM
[Solved] fc15/Xfce accessing Windows network with thunar bruno2040 Fedora Spins & Remixes 0 20th October 2011 11:44 AM
Switching from Thunar to Dolphin infernosoft Using Fedora 1 18th September 2009 01:16 PM
Thunar in FC4 ilovelinux Using Fedora 4 2nd March 2007 03:14 PM


Current GMT-time: 23:45 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat