PDA

View Full Version : [ubuntu] Change folder ubuntu one



Sashin
October 14th, 2009, 11:01 PM
Anyone know how to change the folder ubuntu one uses from ~/ubuntu one to ~/.ubuntu one or something less in the way?

osomphane
October 14th, 2009, 11:47 PM
They are currently working on the ability to use different folders.

Sashin
October 15th, 2009, 02:09 AM
Will it be done by Karmic, seems like a pretty basic feature to be honest.

joshuahoover
October 15th, 2009, 02:31 PM
Will it be done by Karmic, seems like a pretty basic feature to be honest.

We will not provide the ability to sync folders outside the ~/Ubuntu One/ folder for Karmic. We have this on our to-do list for Lucid and will make it available in our beta PPA for those interested in testing out the functionality before Lucid is released.

venik212
January 11th, 2010, 01:07 AM
1--I think others have this problem: I have karmic running on my computer, and have registered for ubuntu one, but I cannot find the folder (like the dropbox folder). Where is it? It is NOT in my home folder. I know it exists since I have moved files into it with a browser.

2-- Moving or copying one file at a time renders the whole thing nearly useless. When will we be able to move folders into the ubuntu one space?

thebear78
January 12th, 2010, 06:15 AM
1--I think others have this problem: I have karmic running on my computer, and have registered for ubuntu one, but I cannot find the folder (like the dropbox folder). Where is it? It is NOT in my home folder. I know it exists since I have moved files into it with a browser.

Have you run the desktop client (Applications >> Internet >> Ubuntu One) to authenticate your computer to sync with the Ubuntu One cloud?

venik212
January 12th, 2010, 02:11 PM
I tried to run that program from the terminal, but it kept telling me that the program is not found. I certainly have an ubuntu one account, but I still have been unable to run the program.
I am not surprised, though-- I find karmic to be rather buggy and unstable

thebear78
January 13th, 2010, 01:54 AM
Try this to re-install Ubuntu One: https://answers.edge.launchpad.net/ubuntuone-client/+faq/778

syntaxer
February 1st, 2010, 01:40 AM
I guess I've found a way to change the U1's folder, although I didn't test it properly (so keep in mind you can loose your files etc.).

In ~/.config/ubuntuone there is a file syncdaemon.conf.
Just add the following code at the beginning of the file (above [bandwidth_throttling]):


[__main__]
root_dir = ~/new/folder

Of course, replace ~/new/folder by the desired location, e.g. ~/.ubuntuone

DouglasAdams
February 14th, 2010, 05:08 AM
i don't seem to have the folder
~/.config/ubuntuone
referred to above on my karmic/gnome system.
i can see lots of other basic stuff there, such as tomboy, plus things i've added like google chrome.
so i did a reinstall of the four items shown by a synaptic search for ubuntuone plus i even added the client tools.
yet the folder still isn't there.
any thoughts please?

syntaxer
February 15th, 2010, 08:08 AM
i don't seem to have the folder
~/.config/ubuntuone
referred to above on my karmic/gnome system.

The folder is created once you run and configure Ubuntu One. Connect your machine, exit Ubuntu One and check the configuration.

DouglasAdams
February 15th, 2010, 01:43 PM
thanks syntaxer

Rig'dzin Dorje
October 12th, 2010, 07:58 AM
I appreciate being able to sync folders other than Ubuntu One. But I find there is no option to do this on an external hard drive. Is there anything I can tweak so as to make the sync option work on the external drive? I'd like to be able to do that so I can keep archived material off the hard disk and back it up to the cloud. It would be in Ubuntu's interest to make this possible as I'd buy more online storage space!

mr.interested
December 31st, 2010, 12:53 PM
In ~/.config/ubuntuone there is a file syncdaemon.conf.
Just add the following code at the beginning of the file (above [bandwidth_throttling]):


[__main__]
root_dir = ~/new/folder


It doesn't work in Ubuntu 10.10. The client restores "syncdaemon.conf" file to its original form whenever I close the file. I guess the file is generated automatically by the client; therefore, you can't edit it.

syntaxer
January 1st, 2011, 08:02 PM
It doesn't work in Ubuntu 10.10. The client restores "syncdaemon.conf" file to its original form whenever I close the file. I guess the file is generated automatically by the client; therefore, you can't edit it.

Have you killed the client (e.g. using u1sdtool -q) and then edited the file? It's common that configuration is being overriden by the running daemon.

suffice
March 16th, 2011, 05:12 AM
This worked perfectly for me on my home computer into ~/SYNC. Easy no hassles.

It is not working at all on my work computer.

I tried the uninstall and purged everything. Re-installed. Changed the file.

The file is correct, with the main section but it still is syncing the to ~/Ubuntu One. (from ~/SYNC at my house.

Any other tricks to force it to use the directory mentioned in ~/.config/syncdaemon.conf?

Strange that it completely worked on one computer and not the other. Generally they are configured pretty much the exact same.

Kleenux
May 24th, 2011, 04:37 AM
Using Ubuntu 11.04

Note that the global file is
/etc/xdg/ubuntuone/syncdaemon.confbut (didn't try) the local file mentioned above
~/.config/ubuntuone/syncdaemon.confmay override the global settings.

richaustin
July 29th, 2011, 09:16 AM
Hi

By far the easiest way to change the Ubuntu One folder to anywhere you want is to use a symlink. For example, I just moved my Ubuntu One from /home/richard/Ubuntu One to /data/Ubuntu One - where /data references a partition on my hard drive.

All I did was:
1) Disconnect Ubuntu One - its an option in the main Ubuntu One panel.

2) Move the original Ubuntu One folder from my home folder to the /data partition.
Of course this could be an external drive or whatever you want to use. Quite feasible I would think to use the same Ubuntu One on a number of different machines by using a symlink to the external drive.

3) Right click on the new /data/Ubuntu One folder and select "Make Link". Move the symlink to the home folder and rename it to "Ubuntu One".

4) Reconnect Ubuntu One.

So now I have the following:

/data/Ubuntu One - the real Ubuntu One folder on a partition.
/home/richard/Ubuntu One - A symlink to the /data/Ubuntu One folder.

Very simple and works perfectly.

Hope this helps someone.
Rich

VcDeveloper
July 29th, 2011, 05:16 PM
I have not read all the post, but is the ability to map more than just the default folder available? I would like to sync my Drupal documents folder.

Or would I have to create a folder under it and symlink them or could this even work?

....well, it seems the linking a folder from the folder doesn't work, so this means I have to move all my folders that I want to sync to this folder?

richaustin
July 30th, 2011, 11:22 AM
I have not read all the post, but is the ability to map more than just the default folder available? I would like to sync my Drupal documents folder.

Or would I have to create a folder under it and symlink them or could this even work?

....well, it seems the linking a folder from the folder doesn't work, so this means I have to move all my folders that I want to sync to this folder?

I'm not at all sure why but it doesn't work when you add a link into Ubuntu One. Something to do with permissions maybe?

However, it works perfectly in Dropbox - much the same thing as Ubuntu One if you haven't tried it. I just did a test by creating a symlink from my apache installation to Dropbox (same sort of thing as you want to do with Drupal I think) and it synchronised straight away. Ubuntu One wouldn't let me do the same thing.

Dropbox is excellent and free up to 2GB.

https://www.dropbox.com/downloading?os=lnx

By the way, I always use repositories to backup things like Drupal. Check out http://unfuddle.com/ which is free, handles Git and Subversion repositories and you can have as many as you like. I use it for all my code, websites and document backups. I use RapidSVN as my front end GUI and RabbitVCS support in Nautilus (so you can update folders etc. in the Nautilus file manager). Subversion is pretty easy to use, and I guess Git is as wel but I haven't used it.

Rich

ionutneicu
June 18th, 2012, 09:30 AM
Another way that may be helpful if you want to save some space from home partition is to move the entire Ubuntu One folder to another location then create symlink to it's original location. Worked for me in Ubuntu 10.10:

The steps are :

1. Stop Ubuntu One sync daemon

u1sdtool --quitu1sdtool --quit

2. Copy te ~/Ubuntu\ One folder elsewhere

mv ~/Ubuntu\ One [otherdirectory]

3. Create symbolic link from new location back to its default location

ln -s [otherdirectory] ~/Ubuntu\ One

4. Restart Ubuntu One sync daemon

u1sdtool --start

archeryguru2000
July 23rd, 2012, 04:50 PM
I guess I've found a way to change the U1's folder, although I didn't test it properly (so keep in mind you can loose your files etc.).

In ~/.config/ubuntuone there is a file syncdaemon.conf.
Just add the following code at the beginning of the file (above [bandwidth_throttling]):


[__main__]
root_dir = ~/new/folder

Of course, replace ~/new/folder by the desired location, e.g. ~/.ubuntuone

In case anybody is still searching for a solution to the original post, this method worked seamlessly for me.

First I disconnected my U1 synchronization:

https://dl.dropbox.com/u/92330982/2012-07-23-104233_400x516_scrot.png

Next added the above line to the above config file. And finally I restarted the U1 daemon and voila!

https://dl.dropbox.com/u/92330982/2012-07-23-104421_400x516_scrot.png

You may have to restart after you chose to connect to apply the new settings. Good luck.

archeryguru2000
July 23rd, 2012, 05:13 PM
Just as a side note, from the above post, you may also use the cli to quit/start/connect/etc. the U1 daemon.

To disconnect:


$: u1sdtool --disconnect


To Connect:


$: u1sdtool --connect


To quit:


$: u1sdtool --quit


To restart:


$: u1sdtool --start


Other option are available as well. Just check the man pages with


$: man u1sdtool

chmegr
January 23rd, 2013, 08:40 PM
I just got a new bonobo extreme with a 2nd internal hard drive. I am looking to put all my files (UB1 & dropbox, etc) on one (240GB) and just leave the other for the OS.

How would I go about doing this, so UB1 and dropbox can sync from the 2nd hard drive that the OS is not on?

Thanks in advance

archeryguru2000
January 24th, 2013, 04:29 PM
I just got a new bonobo extreme with a 2nd internal hard drive. I am looking to put all my files (UB1 & dropbox, etc) on one (240GB) and just leave the other for the OS.

How would I go about doing this, so UB1 and dropbox can sync from the 2nd hard drive that the OS is not on?

Thanks in advance

For me, DropBox was extremely easy to move to a different location. Here's a link to some information on DropBox's help pages.

DropBox Migration (https://www.dropbox.com/help/89/en)

AS A NOTE OF CAUTION: make sure you do not disconnect (unmount, etc.) your drive without first disconnecting (or unsyncing) your DropBox account. Otherwise you may inadvertently delete your online documents since DropBox always tries to keep its synchronization up to date.

As for UbuntuOne, I had many challenges with syncing my new (non-home drive) location with my online account. I must admit that I've recently switched to putting my UbuntuOne folder back into my home drive. I have not tried to sym-link as many others have suggested. However, there seems to be some "issues" with this method as well. Sorry I couldn't be of more assistance.

chmegr
January 24th, 2013, 05:22 PM
For me, DropBox was extremely easy to move to a different location. Here's a link to some information on DropBox's help pages.

DropBox Migration (https://www.dropbox.com/help/89/en)

AS A NOTE OF CAUTION: make sure you do not disconnect (unmount, etc.) your drive without first disconnecting (or unsyncing) your DropBox account. Otherwise you may inadvertently delete your online documents since DropBox always tries to keep its synchronization up to date.

As for UbuntuOne, I had many challenges with syncing my new (non-home drive) location with my online account. I must admit that I've recently switched to putting my UbuntuOne folder back into my home drive. I have not tried to sym-link as many others have suggested. However, there seems to be some "issues" with this method as well. Sorry I couldn't be of more assistance.

Thanks....yeah, UbuntuOne seems like a pain and I have a lot more space in my dropbox folder anyway.

chmegr
January 24th, 2013, 05:40 PM
For me, DropBox was extremely easy to move to a different location. Here's a link to some information on DropBox's help pages.

DropBox Migration (https://www.dropbox.com/help/89/en)

AS A NOTE OF CAUTION: make sure you do not disconnect (unmount, etc.) your drive without first disconnecting (or unsyncing) your DropBox account. Otherwise you may inadvertently delete your online documents since DropBox always tries to keep its synchronization up to date.

As for UbuntuOne, I had many challenges with syncing my new (non-home drive) location with my online account. I must admit that I've recently switched to putting my UbuntuOne folder back into my home drive. I have not tried to sym-link as many others have suggested. However, there seems to be some "issues" with this method as well. Sorry I couldn't be of more assistance.

So I gave this a try and even though the original dropbox folder is in home/username/dropbox and my new location (2nd internal hard drive) is media/username/2nd hard drive it will not work. It tells me that my target folder is my current dropbox folder.

I tried creating another differently named folder on my second hard drive to put the dropbox folder in, and this also did not work. :confused: