Friday, April 26, 2024
32
rated 0 times [  32] [ 0]  / answers: 1 / hits: 19557  / 2 Years ago, fri, january 21, 2022, 1:44:53

I have two Dropbox accounts. Is it possible to link and use both of the accounts simultaneously without logging in as the different user?



Do not confuse with similar looking post




Multiple Dropbox accounts on the same computer for different users.



More From » file-sharing

 Answers
6

General idea [source]




The basic idea is to just start Dropbox from the command-line using an alternate home directory. This will create another Dropbox icon, and another Dropbox folder, which has to be in some other place from the original one.



The two Dropbox folders will both be called Dropbox (this cannot be changed), but you can distinguish them by their location.




enter image description here



Setup



Method: 1 - If you have installed nautilus-dropbox from the repository



Open a terminal and paste the following commands:



$ mkdir "$HOME"/.dropbox-alt 
$ HOME="$HOME/.dropbox-alt"
$ /usr/bin/dropbox start -i


A new Dropbox setup wizard window will open and second Dropbox icon should appear on the status bar.




  • Choose an existing account (different from the original one!) or create a new one.

  • Make sure you choose an alternate location for your new Dropbox folder.



Now your alternate dropbox is set.



start Dropbox from terminal



$ /usr/bin/dropbox start -i


start Alternate-Dropbox from terminal



$ HOME="$HOME/.dropbox-alt" && /usr/bin/dropbox start -i


Method: 2 - If you have compiled dropbox in your home from tar.gz file



Open a terminal and paste the following commands:



$ mkdir "$HOME"/.dropbox-alt
$ ln -s "$HOME/.Xauthority" "$HOME/.dropbox-alt/"
$ HOME="$HOME/.dropbox-alt"
$ /home/$USER/.dropbox-dist/dropboxd


Dropbox setup wizard window will appear. Finish the setup similarly as described in Method -1



start Dropbox from terminal



$ /home/$USER/.dropbox-dist/dropboxd


start Alternate-Dropbox from terminal



$ HOME="$HOME/.dropbox-alt" && /home/$USER/.dropbox-dist/dropboxd


Note:




  • You can create a small script with the above commands to start Dropbox.

  • One can put the script at startup. Don't forget to give the script execution permission.



chmod +x /path/to/script



  • I have tested the second method. Hope it will be useful.


[#24863] Friday, January 21, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
olltea

Total Points: 238
Total Questions: 115
Total Answers: 107

Location: Moldova
Member since Tue, Feb 7, 2023
1 Year ago
;