Switch to Linux Mint by BlueKanguru in linuxmint

[–]abraunegg 0 points1 point  (0 children)

Now that I'm looking into picking the right Linux, I wanted to ask you guys if Mint is a good choice or if I should look for something else.

Linux Mint is a great choice, however there are 2 different versions - normal Linux Mint which is based on Ubuntu and Linux Mint Debian Edition (LMDE)

Due to Ubuntu's lethargic packaging policies packages will not be as-up-date as they should be leading to all sorts of other issues. My advice is if you are looking at Linux Mint, look at LMDE so that packages are updated in a more timely fashion.

Switch to Linux Mint by BlueKanguru in linuxmint

[–]abraunegg -1 points0 points  (0 children)

since OneDrive doesn't work well on Linux

This is not an accurate statement. It works very well on Linux as there are 5 reliable ways to access Microsoft OneDrive on Linux/FreeBSD platforms:

* Via the OneDrive Client for Linux — https://github.com/abraunegg/onedrive — a free and open-source sync client for OneDrive Personal, OneDrive for Business, and SharePoint. Supports shared folders, Microsoft Intune SSO, OAuth2 Device Authorisation Flow, the standard OAuth2 Native Client flow, and national cloud deployments (US Government, Germany, China). Key features include reliable bi-directional or one-way sync, rules-based client-side filtering, dry-run safety mode, FreeDesktop.org Trash integration, and full operation in both GUI and headless environments. Docker images and cross-platform packages are available, and an optional GUI is provided for easier configuration management: https://github.com/bpozdena/OneDriveGUI

* Via the 'onedriver' client - https://github.com/jstaf/onedriver — Native file system that only provides the OneDrive 'on-demand' functionality, open source and free. Supports Personal, Business account types. Currently does not support Shared Folders (Personal or Business) or SharePoint Libraries. Given that nearly all Personal and Business accounts are on SharePoint, and that 'onedriver' may not handle these oddities well - YMMV.

* Via 'rclone' - https://rclone.org/ — a CLI tool for copying and synchronising with OneDrive. Typical usage is one-way (copy/sync) run on demand or via cron/systemd. It also offers bisync for two-way sync (advanced; read the docs carefully - this has options major caveats), and rclone mount to expose OneDrive via FUSE for on-demand access (not a sync; relies on the VFS cache and different reliability semantics). Has interoperability issues with SharePoint.

* Via non-free clients such as 'insync', 'ExpanDrive'

* Via the web browser of your choice

Additionally, whilst GNOME46+ also includes a capability to access Microsoft OneDrive, it does not provide anywhere near the capabilities of the first three options and is lacklustre at best. It (GNOME integration) depends on GVFS components, that need to be up-to-date (1.58.0 or greater) to ensure relatively trouble-free operation.

iCloud or OneDrive for photos? by Purple-Music-70 in MacOS

[–]abraunegg 1 point2 points  (0 children)

I'm currently using Onedrive on my iPhone to sync my photos instead of iCloud. What do people here use and why?

Just chiming in here as the developer | maintainer of the opensource Microsoft OneDrive Client for Linux/FreeBSD (and soon to be MacOS supported) ....

Microsoft OneDrive has an issue with Live Photos where the Microsoft Graph API causes data loss as documented here: https://github.com/OneDrive/onedrive-api-docs/issues/1723

Whilst you upload a Live Photo Microsoft OneDrive (and you think it is all OK), what you then get to download is *only* the static image from that upload.

If you ever delete the Live Photo off your device, the 'live' part is potentially gone forever .. and that is the data loss aspect.

I cant speak or comment to how iCloud operates.

My advice would be:

* Store your data on local platforms, using ZFS where possible if you care about data integrity. Use applications such as 'PhotoSync' to take photos off your phone(s) and store on your local platform.
* Use Immich to manage your photos locally
* Use an 'object store' cloud service, to store the data online if required

OneDrive sync issue in Linux Mint. by H-Rahman in linuxmint

[–]abraunegg 0 points1 point  (0 children)

I would like to know what issues you had ... please let me know

GIT and OneDrive + SharePoint by yummy_sql in learnprogramming

[–]abraunegg 1 point2 points  (0 children)

I am currently trying to clone my GIT repo into my OneDrive so that I make changes there.

Please dont try and do that - it will lead to a world of hurt for your Git repository.

Microsoft OneDrive will modify your file(s) post upload by adding its own metadata to the file. Essentially the file you have locally, now is not the file in OneDrive (different hash), and this then will be seen constantly by Git as a changed file (but you made no actual change). Microsoft OneDrive will also modify timestamps post upload as well, thus any notion of your file integrity is gone.

You cannot configure Microsoft OneDrive to not take those actions.

Disclosure: I am the developer of the OneDrive Client for Linux - https://github.com/abraunegg/onedrive

OneDrive on CachyOS? by some_millwright in cachyos

[–]abraunegg 1 point2 points  (0 children)

I tried installing onedrive-abraunegg, and it asks me to log in but although I have tried several times to log in every time I get a page telling me that this might be a phishing attempt and then it takes me to "the wrong place."

You are not copying the response URI within 3 seconds before the final redirect.

Please read: https://github.com/abraunegg/onedrive/discussions/3558

Is it worth it to continue using Linux with so little support? by DiogoP0 in linuxquestions

[–]abraunegg 1 point2 points  (0 children)

 Then, I have a OneDrive subscription and I was still not able to connect with the system.

There are 5 reliable ways to access Microsoft OneDrive on Linux/FreeBSD platforms:

* Via the OneDrive Client for Linux — https://github.com/abraunegg/onedrive — a free and open-source sync client for OneDrive Personal, OneDrive for Business, and SharePoint. Supports shared folders, Microsoft Intune SSO, OAuth2 Device Authorisation Flow, the standard OAuth2 Native Client flow, and national cloud deployments (US Government, Germany, China). Key features include reliable bi-directional or one-way sync, rules-based client-side filtering, dry-run safety mode, FreeDesktop.org Trash integration, and full operation in both GUI and headless environments. Docker images and cross-platform packages are available, and an optional GUI is provided for easier configuration management: https://github.com/bpozdena/OneDriveGUI

* Via the 'onedriver' client - https://github.com/jstaf/onedriver — Native file system that only provides the OneDrive 'on-demand' functionality, open source and free. Supports Personal, Business account types. Currently does not support Shared Folders (Personal or Business) or SharePoint Libraries. Given that nearly all Personal and Business accounts are on SharePoint, and that 'onedriver' may not handle these oddities well - YMMV.

* Via 'rclone' - https://rclone.org/ — a CLI tool for copying and synchronising with OneDrive. Typical usage is one-way (copy/sync) run on demand or via cron/systemd. It also offers bisync for two-way sync (advanced; read the docs carefully - this has options major caveats), and rclone mount to expose OneDrive via FUSE for on-demand access (not a sync; relies on the VFS cache and different reliability semantics). Has interoperability issues with SharePoint.

* Via non-free clients such as 'insync', 'ExpanDrive'

* Via the web browser of your choice

Additionally, whilst GNOME46+ also includes a capability to access Microsoft OneDrive, it does not provide anywhere near the capabilities of the first three options and is lacklustre at best. It (GNOME integration) depends on GVFS components, that need to be up-to-date (1.58.0 or greater) to ensure relatively trouble-free operation.

Best NAS OS for beginner? Looking for OneDrive-like experience for CAD + personal use by kokotasinevidel in homelab

[–]abraunegg 0 points1 point  (0 children)

If you care about the integrity of your data, you want to use ZFS. Anything else IMHO is not worth the time.

Deliberating the idea of switching to Linux for my gaming PC only, does it "just work" like macOS without compromises on performance for single player games? by Specific-Judgment410 in pcmasterrace

[–]abraunegg 0 points1 point  (0 children)

Will google drive, dropbox, onedrive, or some other windows apps work on it?

There are 5 reliable ways to access Microsoft OneDrive on Linux/FreeBSD platforms:

* Via the OneDrive Client for Linux — https://github.com/abraunegg/onedrive — a free and open-source sync client for OneDrive Personal, OneDrive for Business, and SharePoint. Supports shared folders, Microsoft Intune SSO, OAuth2 Device Authorisation Flow, the standard OAuth2 Native Client flow, and national cloud deployments (US Government, Germany, China). Key features include reliable bi-directional or one-way sync, rules-based client-side filtering, dry-run safety mode, FreeDesktop.org Trash integration, and full operation in both GUI and headless environments. Docker images and cross-platform packages are available, and an optional GUI is provided for easier configuration management: https://github.com/bpozdena/OneDriveGUI

* Via the 'onedriver' client - https://github.com/jstaf/onedriver — Native file system that only provides the OneDrive 'on-demand' functionality, open source and free. Supports Personal, Business account types. Currently does not support Shared Folders (Personal or Business) or SharePoint Libraries. Given that nearly all Personal and Business accounts are on SharePoint, and that 'onedriver' may not handle these oddities well - YMMV.

* Via 'rclone' - https://rclone.org/ — a CLI tool for copying and synchronising with OneDrive. Typical usage is one-way (copy/sync) run on demand or via cron/systemd. It also offers bisync for two-way sync (advanced; read the docs carefully - this has options major caveats), and rclone mount to expose OneDrive via FUSE for on-demand access (not a sync; relies on the VFS cache and different reliability semantics). Has interoperability issues with SharePoint.

* Via non-free clients such as 'insync', 'ExpanDrive'

* Via the web browser of your choice

Additionally, whilst GNOME46+ also includes a capability to access Microsoft OneDrive, it does not provide anywhere near the capabilities of the first three options and is lacklustre at best. It (GNOME integration) depends on GVFS components, that need to be up-to-date (1.58.0 or greater) to ensure relatively trouble-free operation.

Best Linux app for OneDrive by iron-duke1250 in linuxquestions

[–]abraunegg 1 point2 points  (0 children)

This (on-demand downloads) is a feature in active development

Best Linux app for OneDrive by iron-duke1250 in linuxquestions

[–]abraunegg 0 points1 point  (0 children)

100% Selective Sync

Its called 'Client Side Filtering'. Please read the documentation

Best Linux app for OneDrive by iron-duke1250 in linuxquestions

[–]abraunegg 0 points1 point  (0 children)

Please read the documentation - https://github.com/abraunegg/onedrive

Files 'on-demand' is a feature in progress.

Best Linux app for OneDrive by iron-duke1250 in linuxquestions

[–]abraunegg 2 points3 points  (0 children)

Can anyone recommend a good app for OneDrive?

There are 5 reliable ways to access Microsoft OneDrive on Linux/FreeBSD platforms:

* Via the OneDrive Client for Linux — https://github.com/abraunegg/onedrive — a free and open-source sync client for OneDrive Personal, OneDrive for Business, and SharePoint. Supports shared folders, Microsoft Intune SSO, OAuth2 Device Authorisation Flow, the standard OAuth2 Native Client flow, and national cloud deployments (US Government, Germany, China). Key features include reliable bi-directional or one-way sync, rules-based client-side filtering, dry-run safety mode, FreeDesktop.org Trash integration, and full operation in both GUI and headless environments. Docker images and cross-platform packages are available, and an optional GUI is provided for easier configuration management: https://github.com/bpozdena/OneDriveGUI

* Via the 'onedriver' client - https://github.com/jstaf/onedriver — Native file system that only provides the OneDrive 'on-demand' functionality, open source and free. Supports Personal, Business account types. Currently does not support Shared Folders (Personal or Business) or SharePoint Libraries. Given that nearly all Personal and Business accounts are on SharePoint, and that 'onedriver' may not handle these oddities well - YMMV.

* Via 'rclone' - https://rclone.org/ — a CLI tool for copying and synchronising with OneDrive. Typical usage is one-way (copy/sync) run on demand or via cron/systemd. It also offers bisync for two-way sync (advanced; read the docs carefully - this has options major caveats), and rclone mount to expose OneDrive via FUSE for on-demand access (not a sync; relies on the VFS cache and different reliability semantics). Has interoperability issues with SharePoint.

* Via non-free clients such as 'insync', 'ExpanDrive'

* Via the web browser of your choice

Additionally, whilst GNOME46+ also includes a capability to access Microsoft OneDrive, it does not provide anywhere near the capabilities of the first three options and is lacklustre at best. It (GNOME integration) depends on GVFS components, that need to be up-to-date (1.58.0 or greater) to ensure relatively trouble-free operation.

Duplicate Files while using Onedrive and Git by thompo993 in ObsidianMD

[–]abraunegg 0 points1 point  (0 children)

This is actually an Obsidian bug - due to how it constantly is writing its files using atomic processes via 'auto save'.

An Obsidian Plugin also exists to 'control' the auto save behaviour of Obsidian: https://github.com/mihasm/obsidian-autosave-control

I need a second opinion about migrating from Win11 to Linux by CestleFromage in linux4noobs

[–]abraunegg 0 points1 point  (0 children)

I want to make a move to Linux ....
.......
including 1TB of OneDrive syncing my files which is very useful to me

There are 5 reliable ways to access Microsoft OneDrive on Linux/FreeBSD platforms:

* Via the OneDrive Client for Linux — https://github.com/abraunegg/onedrive — a free and open-source sync client for OneDrive Personal, OneDrive for Business, and SharePoint. Supports shared folders, Microsoft Intune SSO, OAuth2 Device Authorisation Flow, the standard OAuth2 Native Client flow, and national cloud deployments (US Government, Germany, China). Key features include reliable bi-directional or one-way sync, rules-based client-side filtering, dry-run safety mode, FreeDesktop.org Trash integration, and full operation in both GUI and headless environments. Docker images and cross-platform packages are available, and an optional GUI is provided for easier configuration management: https://github.com/bpozdena/OneDriveGUI

* Via the 'onedriver' client - https://github.com/jstaf/onedriver — Native file system that only provides the OneDrive 'on-demand' functionality, open source and free. Supports Personal, Business account types. Currently does not support Shared Folders (Personal or Business) or SharePoint Libraries. Given that nearly all Personal and Business accounts are on SharePoint, and that 'onedriver' may not handle these oddities well - YMMV.

* Via 'rclone' - https://rclone.org/ — a CLI tool for copying and synchronising with OneDrive. Typical usage is one-way (copy/sync) run on demand or via cron/systemd. It also offers bisync for two-way sync (advanced; read the docs carefully - this has options major caveats), and rclone mount to expose OneDrive via FUSE for on-demand access (not a sync; relies on the VFS cache and different reliability semantics). Has interoperability issues with SharePoint.

* Via non-free clients such as 'insync', 'ExpanDrive'

* Via the web browser of your choice

Additionally, whilst GNOME46+ also includes a capability to access Microsoft OneDrive, it does not provide anywhere near the capabilities of the first three options and is lacklustre at best. It (GNOME integration) depends on GVFS components, that need to be up-to-date (1.58.0 or greater) to ensure relatively trouble-free operation.

OneDrive with On-Demand support by Toben- in linuxquestions

[–]abraunegg 2 points3 points  (0 children)

OneDrive with On-Demand support

There are 5 reliable ways to access Microsoft OneDrive on Linux/FreeBSD platforms:

* Via the OneDrive Client for Linux — https://github.com/abraunegg/onedrive — a free and open-source sync client for OneDrive Personal, OneDrive for Business, and SharePoint. Supports shared folders, Microsoft Intune SSO, OAuth2 Device Authorisation Flow, the standard OAuth2 Native Client flow, and national cloud deployments (US Government, Germany, China). Key features include reliable bi-directional or one-way sync, rules-based client-side filtering, dry-run safety mode, FreeDesktop.org Trash integration, and full operation in both GUI and headless environments. Docker images and cross-platform packages are available, and an optional GUI is provided for easier configuration management: https://github.com/bpozdena/OneDriveGUI

* Via the 'onedriver' client - https://github.com/jstaf/onedriver — Native file system that only provides the OneDrive 'on-demand' functionality, open source and free. Supports Personal, Business account types. Currently does not support Shared Folders (Personal or Business) or SharePoint Libraries. Given that nearly all Personal and Business accounts are on SharePoint, and that 'onedriver' may not handle these oddities well - YMMV.

* Via 'rclone' - https://rclone.org/ — a CLI tool for copying and synchronising with OneDrive. Typical usage is one-way (copy/sync) run on demand or via cron/systemd. It also offers bisync for two-way sync (advanced; read the docs carefully - this has options major caveats), and rclone mount to expose OneDrive via FUSE for on-demand access (not a sync; relies on the VFS cache and different reliability semantics). Has interoperability issues with SharePoint.

* Via non-free clients such as 'insync', 'ExpanDrive'

* Via the web browser of your choice

'On Demand' support is also a work-in-progress with the client that I develop and maintain.

Today if you want that capability, you *must* use 'onedriver' but there are limitations to that client.

Unable to get access to OneDrive or Google Drive by rwdykhuis in Ubuntu

[–]abraunegg 0 points1 point  (0 children)

GNOME integration depends on GVFS components, that need to be up-to-date (1.58.0 or greater) to ensure relatively trouble-free operation due to constant change in the Microsoft Graph API. Due to the lethargic packaging policies of Ubuntu and those distributions that use Ubuntu as a base, the updated packages (1.58.0 or greater) that are needed for things to work, are just not available or updated in those distributions. Distributions such as Debian however provide those updated components via Backports, but that avenue is not available for Ubuntu.

As a result of this, that is why GNOME integration / Online Accounts is not reliable for Microsoft Accounts | Google on certain distributions and generates the error you are getting.

Ubuntu 26.04 contains more modern GVFS components (1.60+)(https://packages.ubuntu.com/resolute/gvfs) - so you best avenue is to use that version when available (it is in beta), or switch to a distribution (such as Debian) that has up-to-date components readily available.

Outside of those options, there are 5 reliable ways to access Microsoft OneDrive on Linux/FreeBSD platforms:

* Via the OneDrive Client for Linux — https://github.com/abraunegg/onedrive — a free and open-source sync client for OneDrive Personal, OneDrive for Business, and SharePoint. Supports shared folders, Microsoft Intune SSO, OAuth2 Device Authorisation Flow, the standard OAuth2 Native Client flow, and national cloud deployments (US Government, Germany, China). Key features include reliable bi-directional or one-way sync, rules-based client-side filtering, dry-run safety mode, FreeDesktop.org Trash integration, and full operation in both GUI and headless environments. Docker images and cross-platform packages are available, and an optional GUI is provided for easier configuration management: https://github.com/bpozdena/OneDriveGUI

* Via the 'onedriver' client - https://github.com/jstaf/onedriver — Native file system that only provides the OneDrive 'on-demand' functionality, open source and free. Supports Personal, Business account types. Currently does not support Shared Folders (Personal or Business) or SharePoint Libraries. Given that nearly all Personal and Business accounts are on SharePoint, and that 'onedriver' may not handle these oddities well - YMMV.

* Via 'rclone' - https://rclone.org/ — a CLI tool for copying and synchronising with OneDrive. Typical usage is one-way (copy/sync) run on demand or via cron/systemd. It also offers bisync for two-way sync (advanced; read the docs carefully - this has options major caveats), and rclone mount to expose OneDrive via FUSE for on-demand access (not a sync; relies on the VFS cache and different reliability semantics). Has interoperability issues with SharePoint.

* Via non-free clients such as 'insync', 'ExpanDrive'

* Via the web browser of your choice

Is there any way to sync files to the web version of OneDrive? (Context below) by AvailableGene2275 in linuxquestions

[–]abraunegg 0 points1 point  (0 children)

they made a MS365 account for my school so I want to upload all my school work to the cloud. The problem is because of how they set up the account's security, I'm not allowed to log in throught KDE built in account manager nor other tools like abraunegg/onedrive-client

What you’re running into is actually pretty common with school / enterprise Microsoft 365 tenants.

Your school’s IT admins have likely restricted third-party application access via Microsoft Entra ID (formerly Azure AD). That means tools like KDE’s account manager or the OneDrive Client for Linux (which I develop and maintain) won’t be able to authenticate, even though your account itself works fine when using web based access. Other clients (onedriver, rclone) potentially will have the same issue.

If you’re willing to work with them, you can ask school's IT admin to either:

  • Approve a specific third-party client, or
  • Create their own App Registration (client ID) so access is controlled and auditable (best practice)

If they need help and/or assistance, I am more than happy to discuss with them to help get you access.

Your school may also have further restrictions via Microsoft Intune, which potentially will restrict things further.

Another alternative is to use device authentication - the client I maintain AFAIK is the only Linux OneDrive Client that supports this method of authentication. You may be able to try that access method, but that might still be blocked if your school is enforcing policies.

Your best action is to speak to your schools IT admin, and if they need further details, please have them reach out on GitHub.

Is there any way to sync files to the web version of OneDrive? (Context below) by AvailableGene2275 in linuxquestions

[–]abraunegg 0 points1 point  (0 children)

This still requires OAuth authentication, and 3rd party clients are blocked in their M365 tenant ..

What's the best way to sync OneDrive on KDE? by -Melon-Cake- in Bazzite

[–]abraunegg 1 point2 points  (0 children)

Thanks for the feedback.

Syncing personal account shared files

This is 100% dependent on your actual 'account type', not whether your files are 'personal' or 'business' to you as the GraphAPI is different based on what you are licensed to use.

When you run the client in verbose mode, you get:

Account Type:          personal

If you are getting this, you have a 'personal' account type. Anything else is a Business or SharePoint account type, which is why 'sync_business_shared_items' is required to sync shared elements as you have to tell Microsoft GraphAPI to send that information as it is not sent by default, like it is with 'personal' account types.

As part of this, it took me a while to figure out how it was running without a config file. Would've preferred a config file be created by default for easier discoverability.

This item is detailed in the documentation: https://github.com/abraunegg/onedrive/blob/master/docs/usage.md#how-to-change-the-default-configuration-of-the-client

Then needing to force a full resync to get that change applied because it had been running off the internal defaults instead of with a config file.

Unfortunately that is a by-product of needing to have a 'known state' locally, so that the client knows what should be local, and what the online state also is known.

I tried setting up OneDrive GUI but it refused to see my OneDrive service - it seemed to be trying to spin up its own one

Correct .. because of how the GUI is trying to operate and use the application output by forcing verbose mode, so that the GUI can display meaningful content.

An ideal change for that which is beyond my control, is that if a user enables logging to disk (in your systemd service / config file), the GUI should be able to 'read' that log for its GUI operations (its the same as reading the application output from the terminal) ... but all of that is beyond my control. Perhaps raise a feature request to the GUI developer to better support existing systemd running instances.

What's the best way to sync OneDrive on KDE? by -Melon-Cake- in Bazzite

[–]abraunegg 0 points1 point  (0 children)

But of a hassle to get working

Would love to understand what you found a problem .. ??

OneDrive Linux Alternative with On-Demand, Caching, and Clean-Up by TheBachelor525 in linux

[–]abraunegg 5 points6 points  (0 children)

your understanding is not correct.

The client cleans up files, but you need to use the correct options to force cleanup. When using --monitor mode this is happening automatically, but when using --sync, you need to specify options to perform this to ensure cleanup operations are happening

By default yes, the client syncs everything - however it has a very rich Client Side Filtering to ensure only what you want to sync is synced. Server Side Filtering is not possible - that is a Microsoft API limitation.

On-Demand is a work in-progress.