Thisis the client interface to the Sync Agent server. The odrive CLI is used from the command-line or from shell scripts to control and enhance Sync Agent behavior. The client is written in python and can be extended and customized to add additional functionality and automation, as well.
The following install commands are convenient one-liners, but are not required to install odrive. You can simply download the two binary archives (agent and CLI), extract them, and run.
Direct Download links
The odrive agent will store its database and configuration files in the running user's home/profile directory inside a directory named .odrive-agent. The instructions above use this directory as an example of where to store the binaries, which keeps everything in one place, but regardless of where you store and run the binaries, the odrive agent will expect the $HOME/.odrive-agent directory to be accessible and writable for the user that is executing the process.
The following install command is a convenient one-liner, but is not required to install odrive. You can simply download the two binary archives (agent and CLI), extract them, and run.
Direct Download links
Open up powershell and run the following command to download and install the odrive Sync Agent to .odrive-agent in your user home directory. This will download the odrive Agent service, the odrive Agent python client, and the odrive Agent binary client. The command doesn't give much feedback, so just give it some time
First, make sure the local folder exists before attempting to mount. In our example we are going to create a new folder named "odrive-agent-mount" in the user's home folder. You can also use an existing local folder. See below for more details.
Optional parameters:
--recursive - Will recursively sync the contents of the folder
--nodownload - When used with --recursive, all folders will be expanded, but no files downloaded (all files remain placeholders)
positional arguments:
path - The local path of the folder to apply the rule to.
threshold - Size in MB (base 10) for the download threshold. Use '0' for nothing and 'inf' for infinite. Files that have a size under this will be downloaded.
Once this user-mode systemd unit is running, run odrive status to verify that the ODrive CLI binary is able to properly communicate with the Sync Agent, and then authenticate the ODrive Sync Agent using the instructions ODrive provides.
ODrive has the potential to be a very useful, particularly if you need to access services like OD4B where there is no native Linux client from the provider. However, its usefulness/usability is severely hampered by a lack of thorough documentation, no GUI functionality, and a hobbled CLI. That being said, if you can live with the current limitations, it may still win a place on your Linux system. (It has on mine.)
The odrivetool is the accompanying PC program for the ODrive. Its main purpose is to provide an interactive shell to control the device manually, as well as some supporting functions like firmware update.
Standalone Python: Download the installer for 3.8.6 from here. Execute the downloaded file and follow the instructions. As of Oct 2020, Matplotlib (required by odrivetool) had not been updated to work with 3.9, so please use 3.8.6.
If you have Python 2 installed alongside Python 3, replace pip by C:\Users\YOUR_USERNAME\AppData\Local\Programs\Python\Python36-32\Scripts\pip. If you have trouble with this step then refer to this walkthrough.
The ODrive Tool console provides aliases and wrappers for various entities in the odrive Python package. These are optimized for interactive use. When you write your own Python script that does import odrive, these wrappers are not available.
The motor is forced off axis by hand and held there.In response the motor controller increases the torque (orange line) to counteract this disturbance up to a peak of 500 N.cm at which point the motor current limit is reached.When the motor is released it returns to its commanded position very quickly as can be seen by the spike in the motor velocity (blue line).
Just like the examples above, you can list several parameters to plot separated by comma in the square brackets.In general, you can plot any variable that you are able to read like normal in odrivetool.
It is not recommended to transfer the configuration between different firmware versions because variables can get renamedor removed (in which case odrivetool will show warnings) or defaults changed between firmware versions.After firmware updates it is instead recommended to check the CHANGELOG and manually transfer the settings.
I would like to access my "Google Drive" (remote) files and folders from within thunar. I am not just looking at a sync-method, but more like a thunar-native folder for the google-drive directory(s). How do i do that?
rclone works well for me. A little complicated getting it set up (CLI-based) and you should use your own ID & secret key as opposed to the default which adds some more complexity, but works well afterwards.
Once completed (rclone), you can create an autostart entry and the drive is mounted and shows up automatically in thunar. You can also create custom actions to mount/unmount on the fly if you so desire.
I was concerned that the "online accounts method" would end up messing with my system's global environment by way of re-setting the ("XDG_CURRENT_DESKTOP=GNOME") variable which currently is set the "XFCE".
I think you can create a desktop file with the command set to XDG_CURRENT_DESKTOP=GNOME gnome-control-center and you're set, but I'd be tempted to use the dependency free method, and ToZ recommending rclone makes me want to take a look at it too, so, yes, please, tell us how it goes your exploration!
At first, trying to configure rclone appeared quite daunting. So instead i installed "expandrive", a highly-recommended GUI-app, and got that to work. Unfortunately, i found out later that "free" was only a 14-day trial. In addition, after about 30 minutes of useage it ended up degrading my 4-core i5 desktop to the point of saturation on all 4 cores -- both a deal-breaker.
Then i looked at odrive, as suggested, but observed that this offered a "free" trial period, too -- not interested. Then i looked into the new release of insync, but that requires a one-time fee; again, not interested.
Works like a charm: shows up in thunar like my other [thumb-]drives and file systems/partitions, drag-n-drop and copy/paste work as expected. I still have to work through the permissions setup to be able to create & update libre-office docs. If i run into any problems, i'll let you know...
Anyone here using OneDrive and when opening the mount using thunar is very slow? But when I'm using WPS to open it, or vim, or using terminal LS it's very fast. I really confused. Any sugestion? Thank you
I use gnome, the only reason I have gnome installed in my system. You go to online accounts and configure, then you get as many google disks on yiur desktop as you wish, they look just like CDs or USB disks, double clicl to mount and use them.
3. If internet is available but the VPN is not connected and I try to access /media/odrive the file manager (dolphin) hangs until it goes in timeout and nothing happens
Is it there a way to avoid the timeout? Putting somehow some requirements on the status of the VPN?
LinkedIn and 3rd parties use essential and non-essential cookies to provide, secure, analyze and improve our Services, and to show you relevant ads (including professional and job ads) on and off LinkedIn. Learn more in our Cookie Policy.
Having recently I bought myself a brand new new android, within hours of unboxing it I found myself downloading dropbox and trying to link it up with my free, 2 GB dropbox account. I was a bit put off when dropbox told me I already had three devices linked to that account and that I would need to delink one or more of them before I could activate dropbox on that brand new android. Up until that point I had been vaguely aware of a number of providers out there offering much more than the measly 2 GB that I had with my free dropbox account and who also allow many more than just 3 devices to hook up. More out of anger than a real need to have more than 3 simultaneously syncing devices, I decided to explore other providers as a sad beginning of the end of my years of association with dropbox.
My biggest problem with cloud storage providers is that not many of them provide reliable client software for Linux, which happens to be the OS that runs on most of my laptops and PCs. Pcloud appeared to be a good option with a great UI-driven client working like a charm on my linux mint 19 systems but I eventually ran into an issue with its app on android which would not allow me to save edited files for want of a storage permission that I couldn't ultimately make any sense of. Moreover, pcloud offers just 5 GB of free space which is only slightly better than that offered to a dropbox free member.
3a8082e126