Ubuntu – How to choose a different Ubuntu One default local folder

ubuntu-one

I would like to tell Ubuntu One to sync with '~/Public/Ubuntu One' rather than '~/Ubuntu One'. Since I'm using it on Arch Linux, I don't have any right-click option for that.

I tried to edit ~/.config/ubuntuone/syncdaemon.conf and add the line root_dir = ~/new/folder (as suggested in this thread), but the file is automatically reverted to its previous state. Also, the command u1sdtool hangs and does apparently nothing – I have to use Ctrl + C to close it. Is there another way to setup the default Ubuntu One default local folder?

Best Answer

To change the Ubuntu One default folder (tested in Ubuntu 12.04):

  1. Open /etc/xdg/ubuntuone/syncdaemon.conf as root

    comment out the following code:

    from root_dir.default = ~/Ubuntu One

    to # root_dir.default = ~/Ubuntu One

  2. Copy /etc/xdg/ubuntuone/syncdaemon.conf

    to ~/.config/ubuntuone/syncdaemon.conf

    with user attributes

  3. Open ~/.config/ubuntuone/syncdaemon.conf as user

    change the root directory wherever you want, e.g.:

    from # root_dir.default = ~/Ubuntu One

    to root_dir.default = ~/Public/Ubuntu One

  4. logout and log back in

It's done and working (at least for me)

(ubuntu 12.04 with Gnome and Unity)

General comments:

Playing with root_dir.default in /etc/xdg/ubuntuone/syncdaemon.conf is troublesome because changes become active for all users in the same machine.

Aside soft links doesn't really change de directory.

Finally, ability to change working directory from user interface should be standard if we want to make Ubuntu more user friendly for new linux users as a way to attract users from other systems (always preaching)

Related Question