domingo, 9 de abril de 2017

Linux: Nova instància de Dropbox

Serveix bàsicament per tenir una altra instància de Dropbox a part de la que ja tenim.
Extret de: http://stackoverflow.com/questions/37380829/how-to-multiple-dropbox-instances-in-linux

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.

NOTA: El directori arrel SEMPRE ha de ser "dropbox", l'aplicació (per ara) no permet canviar-ho, és a dir, podem posar la carpeta de Dropbox on vulguem però si el directori final NO és "dropbox", crearà una carpeta dropbox al directori que haguem indicat.

NOTA 2: Per a que funcionés al iniciar KDE, vaig posar l'script als scripts d'inici utilitzant "System settings" / Auto arranque / Archivo de script.

No hay comentarios: