OneConf process

OneConf daemon process monitors the new packages installed in your machine. If your account is in sync with Ubuntu one, you can install the same packages in other machines as well

$ ps aux|grep one
user   2095  0.2  2.3  43384 11852 ?        Sl   15:30   0:18 /usr/bin/python /usr/lib/ubuntuone-client/ubuntuone-syncdaemon
user   5613  0.1  2.1  19268 10868 ?        S    17:58   0:00 /usr/bin/python /usr/share/oneconf/oneconf-service

You can see the Ubuntu One sync daemon and OneConf processes running.

Advertisements

How to install OneConf in Ubuntu?

OneConf helps you to save the state of your computer in the cloud. What does State mean?

By State of a computer, we mean the packages installed in a system. Using dpkg, you can clone your machine. But OneConf provides an easier mechanism.

OneConf can be integrated to your Ubuntu One account. So you can have the same setup in any new machine that you set up


$ sudo apt-get install oneconf

You can configure oneconf with ubuntu one.

How to Configure oneconf with ubuntu one

After installing oneconf, you can configure OneConf with Ubuntu one

  1. Open Ubuntu Software Center
  2. Open File>Inventory On Ubuntu One
  3. Press Sign In
  4. Enter your Ubuntu One credentials
  5. Tick mark “Share this computer’s inventory “
  6. Tick mark “Show inventories from other computers”

Now you can see the packages installed in other computers in your Ubuntu Software Center. Choose any inventory and install the missing packages in your computer

How to refresh Ubuntu One volumes?

u1sync can be used to refresh the volumes you have synced up or initialized. The Default volume is

/home/user/Ubuntu One.

To refresh


$ u1sdtool --refresh-volumes

When you perform refresh, all the files and directories you added,deleted/modified through the web interface will be reflected in your host machine and vice versa

How to Connect to Ubuntu One?

u1sdtool can be used to start/stop the Ubuntu one sync daemon.

To connect to the Ubuntu cloud

$ u1sdtool -c

Let’s check the status

$ u1sdtool -s
State: AUTHENTICATE
    connection: With User With Network
    description: doing auth dance
    is_connected: True
    is_error: False
    is_online: False
    queues: WORKING_ON_BOTH

As you can see, that the state is AUTHENTICATE.

Refer more on u1sdtool.

How to check the status/State of Ubuntu One Sync Daemon?

Ubuntu One sync demon status can be accessed using u1sdtool. To check the status

$ u1sdtool -s

State: LOCAL_RESCAN
connection: Not User Not Network
description: doing local rescan
is_connected: False
is_error: False
is_online: False
queues: WORKING_ON_CONTENT

This is the status when daemon is not started

Let’s start the daemon

$ u1sdtool --start

the status will be

$ u1sdtool -s
State: READY
    connection: Not User With Network
    description: ready to connect
    is_connected: False
    is_error: False
    is_online: False
    queues: WORKING_ON_BOTH

As you can see that the State is shown as READY. You can refer more about u1sdtool.