Contents

OneDrive for Linux: Why I Switched to KOneDrive

I switched to Linux because I was tired of Windows 11, but I still had to figure out how to take OneDrive with me. What I missed most was Files On-Demand. I wanted to see everything in my OneDrive folder and have a file download when I opened it. Microsoft offers OneDrive in the browser, but its desktop sync app has no Linux version and after trying a few ways around that, I ended up using KOneDrive on KDE Plasma.

Why I still use OneDrive after leaving Windows

People come to Linux for all sorts of reasons. Some are curious, some want to get a few more years out of an older computer, and others want to see how their games run. Some are happy to leave Microsoft behind altogether. For me, the switch was about Windows 11 itself. I disliked the interface, found it buggy and sluggish, and kept running into small changes that made routine tasks harder.

I still find Microsoft 365 a good deal for my small business. Email, cloud storage, and tools for calls and collaboration come in one subscription. I’ve looked at alternatives such as Proton and Zoom, along with open-source tools, but I haven’t found a combination that gives me what I need at the same price. That may change, but for now, OneDrive is still where I keep a lot of my files.

Three ways I used OneDrive on Linux

OneDrive in the browser

The OneDrive web app is the quickest way to get to your files and requires no setup beyond signing in. For me, the friction started when I wanted to open a file from a desktop app. I was still working out of a browser tab, with downloads and uploads to manage myself. It works when you need an ad-hoc file, but is not really the best solution if you make constant changes to files, or you need to add/remove any files.

The abraunegg OneDrive client

The abraunegg OneDrive client was my choice for about two years. It supports personal and business accounts as well as SharePoint libraries, and it gave me a local folder that worked with my desktop apps.

It served me well, but the trade-off was the local disk space. The client supports selective sync, so you can choose what it keeps locally and files outside that selection stay in the cloud, however what I wanted was to see those files in the same folder and have them download on demand. As I was not sure which filles I would need i synced the full folder and as you can imagine if you sync a full 1 TB of files in the “cloud”, you need roughly 1 TB of local storage for the copies. It works, and it works well, but only if you have enough storage to spare.

kio-onedrive and KDE Online Accounts

I also explored another option - kio-onedrive, with it I could connect my account through KDE Online Accounts and browse it in Dolphin, but it felt like opening a network share. I could see my folders without first downloading everything, which was exactly what I wanted when disk space was tight, but the snag came when I opened ONLYOFFICE and tried to find a file from its Open dialog.

Dolphin understands KDE’s onedrive:/ address, while other apps may expect a regular filesystem path so when I tried to open a document I couldn’t find it. KIO FUSE can bridge that gap by exposing the remote location as a mounted folder, but it’s one more configuration/ script that you have to use. I ended up mounting the OneDrive location manually so I had a path to open, but again no files on demand and also no files were actually being saved locally, so no internet meant no files altogether.

Furthermore, I also hit a sign-in snag. The embedded KDE login window couldn’t access the passkey I use for Microsoft 365 so I used an AI assistant to write a small helper that opened the sign-in flow in my browser, where my passkey was available. Between sign-in and the mount, I’d done more tinkering than I wanted for a folder I open every day.

KOneDrive brings Files On-Demand to KDE Plasma

KOneDrive is a Linux client built with Qt for KDE Plasma. It uses FUSE (Filesystem in Userspace) to present OneDrive as a folder that desktop apps can open by path. Dolphin can show the names and sizes of files before their contents are downloaded. When an app reads an online-only file, KOneDrive fetches it automatically.

  • Files On-Demand. Browse your OneDrive folder and download file contents as you use them.
  • Offline access and disk space. Use Always keep on this device for files or folders you want available offline. Free up space removes the downloaded copy and leaves the file in OneDrive.
  • Multiple accounts. Each account gets its own folder. Version 0.2.4 added sign-in for Microsoft work and school accounts alongside personal accounts. Your organization may require administrator approval.
  • Dolphin integration. File badges show what’s online-only, downloaded, or kept offline. The right-click menu lets you manage those copies where you already browse your files.
KOneDrive status OneDrive settings
/images/onedrive-for-linux/status.png /images/onedrive-for-linux/onedrive-settings.png

The Qt interface feels at home on Plasma, but the folder itself is what made me switch. I can browse it in Dolphin and open files from apps that expect a filesystem path. One detail worth knowing if you plan to edit files there is that KOneDrive starts each account in read-only mode. Uploads are something you enable per account.

Is KOneDrive ready for daily use?

I’ve been using KOneDrive for a few days and haven’t run into stability problems so far. The project is still in alpha, and a few days is a short test for a sync client. At the time of writing, the project publishes RPMs for Fedora 44 and 45 on x86-64, with KDE Plasma 6 as its target desktop. A GNOME integration along the same lines would be interesting to see.

Disclosure. I started contributing after trying KOneDrive. The 0.2.4 release includes patches I submitted for OneDrive for Business drive IDs, Dolphin badges, and clearer messages when an upload fails.

I’d like to see this kind of integration become standard for OneDrive on Linux. For now, KOneDrive is the closest I’ve come to the experience I wanted when I switched.

If you are interested, you can find the source, installation instructions, and release notes on KOneDrive’s GitHub page.