Imagine having your Microsoft OneDrive mounted like any other part of your Linux file system. With onedriver
you are not confined to using OneDrive in your browser. Here's how to set it up.
Microsoft OneDrive and OneDriver
Microsoft's OneDrive comes in various flavors. There is a free version for home and personal use what it gives you 5 GB of cloud storage. You can buy more storage space if you need it. OneDrive for business can be purchased as a subscription or included in other subscriptions, like Microsoft's range of services 365.
Google Drive and Microsoft OneDrive share a common drawback. Neither has a native Linux client. To address that deficit, setting your Google account details in the GNOME Online Accounts settings enables the file explorer to directly access your Google Drive, which is very useful.
the onedriver
The app provides the same kind of easy access to your Microsoft OneDrive cloud storage. Your OneDrive will appear in the file explorer locations sidebar and as a normal directory in the terminal window.
An important point to pay attention is that onedriver
not a file sync tool, provides direct work access to your OneDrive files. Create a file locally on your Linux computer and it will appear on your OneDrive. Take a photo with OneDrive on your smartphone and it will be reachable on your Linux machine. That may seem like a timing, but it is not quite.
The difference becomes apparent when you open and work with files. Because onedriver
not a sync tool, there is no lengthy syncing procedure to complete before you can use your files. Your files are immediately accessible. Files are only downloaded when you access them. If the file has been modified in OneDrive since you last used it locally, turns to download.
Changes you make to existing files, and the new files it creates, are reflected on your OneDrive. Despite this, if the same file has been modified on your local computer and in OneDrive, next time i use that file locally, the modified copy of OneDrive no be downloaded. This prevents local changes from being lost. The two changesets will not be merged.
Because of this, onedriver
is best suited for use with private and non-shared OneDrive accounts, in which you will be the only person to edit your documents.
Installation of onedriver
In Manjaro, can install onedriver
from the Arch. User repository (GOLD). To do that, you will need to install a suitable tool. yay
It works well. If you do not have yay
installed, you can install it with:
sudo pacman -Sy yay
Next, You can use yay
install onedriver
. Please note that you do not use sudo
with yay
.
yay onedriver
In Fedora, we install onedriver
of COPR, the Repository of another fresh package. To enable the COPR repository type:
sudo dnf copr enable jstaf/onedriver
And to install onedriver
use dnf
as always:
sudo dnf install onedriver
Ubuntu users have a little more work to do. Enabling the repository the frequent way didn't work for us, but these steps yes. We were using Ubuntu 21.04.
In your web browser, navigate to package details page of the onedriver
repository.
Click the arrowhead icon next to the package name. A list of files appears.
Click and download the file “.deb” appropriate for your architecture. It will be AMD for normal desktops and ARM for devices of “System on a chip” como RaspberryPi.
Find your downloaded file. If you have chosen the default download location, will be in your directory “downloads”.
Double-click the file “.deb” to start the installation. Ubuntu software application starts and describes the package.
Click the green button “Install” for install onedriver
on your pc.
In all distributions, will find onedriver
in your app launcher, sporting a family icon.
Setting up a controller
Setting onedriver
It is easy. We need to create a mount point to mount your OneDrive storage and we need to enter your OneDrive account credentials.
To create the mount point, we simply create a directory. Here, we are creating one called “onedrive” in our home directory.
mkdir OneDrive
Circumstances onedriver
in your application launcher and launch it. When you first start onedrive
you come across a slightly disappointing blank application window. Click the button “+” to add your OneDrive storage.
A file selection window allows you to choose the mount point you want to use. Highlight the directory you created and click the green button “Choose”.
You will be prompted for your OneDrive account ID. Login and click the blue button “Next”.
If your email address is used with more than one Microsoft account, you will be asked to indicate what type of account you are going to link to.
Click on “Work or school account” O “Personal account”.
You will be prompted for the password for the account you clicked on. Enter the password and then click the blue button “Log in”.
Microsoft later points out that the app will have access to your OneDrive files. Click the blue button “To accept” to indicate understanding.
Depending on the security settings you have used with OneDrive, you may need to accept a notification sent to your smartphone.
And now, we have something in it onedriver
application window.
The new OneDrive account is listed, along with its mount point (~ / onedrive). If you have multiple OneDrive storage accounts, you can add several or all, provided they are mounted at different mounting points.
Next to each OneDrive entry are three buttons.
- Slide button: This mounts or unmounts your OneDrive account.
- Tick button: By choosing this, it will automatically remount your OneDrive when the computer starts.
- Trash can: This removes your OneDrive account from
onedriver
.
using onedrive
Your file explorer will have a new location in your sidebar.
The directory you are using as the mount point will have a OneDrive logo badge.
Enter that directory by double clicking on its icon, clicking the location in the sidebar or changing to that directory in a terminal window will allow you to enter your OneDrive storage.
A file called already exists “Doc1.docx” in my OneDrive cloud storage. We will create another file called “Doc2.docx” and another call “How-To Geek.docx”.
I opened the OneDrive app on my smartphone and took a photo. Thereafter, me onedriver
directory looked like this.
The new files are present and the uploaded photo is also enabled.
All of these files were accessible through the OneDrive app on my smartphone.
When opening one of the files, the edit that was made on the Linux computer is shown.
Simple is better
With onedriver
your remote OneDrive storage behaves exactly like a part of your local file system. Using it feels wonderfully natural and there are no special steps to interfere with your concentration.. It's like using any other directory.
If you have OneDrive cloud storage that languishes unused due to the lack of a Linux client, must try. onedriver
.