Page 1 of 1

My guide to syncing OneDrive on Mageia 9

PostPosted: Aug 31st, '23, 04:39
by putzina
Greetings, fellow magicians!

For reasons I would rather not get into a flame war about, a lot of Linux users have MS OneDrive cloud accounts. Here is my guide to syncing OneDrive in Mageia 9.

1. Download the Fedora 37 onedrive rpm from

https://pkgs.org/download/onedrive


2. Download its dependency

https://fedora.pkgs.org/37/fedora-x86_6 ... 4.rpm.html

3. Put both of those Fedora rpms in a folder. Select them both with your mouse, right click and install them with software installer.

4. Once installed, open a terminal as a regular user and type "onedrive --monitor"

5. Copy the URL that appears in the terminal and then paste it into your browser. You will be prompted to log into your Microsoft account.

6. Copy the response URL from your browser and paste it in the terminal as instructed. Press enter, and if all went well, your OneDrive files will be downloaded to/home/yourusername/OneDrive. This may take a while, so leave the terminal open.

7. To automatically sync your OneDrive account in the background so you don't have to start it manually every time you log in, create a launcher and name it od.desktop (for example). Set its command to "onedrive --monitor" and put it in the autostart folder in /home/yourusername/.config

(If you don't see the .config folder, then enable "show hidden files" in your window manager.)

8. Reboot.

9. After rebooting, check if OneDrive is syncing by opening a terminal and typing "onedrive --monitor"

If the terminal says OneDrive sync "is already running" then you are good to go.

10. Ask Mageia to offer the onedrive app, so that you don't have to use the Fedora one.

Re: My guide to syncing OneDrive on Mageia 9

PostPosted: Aug 31st, '23, 08:00
by benmc
putzina wrote:10. Ask Mageia to offer the onedrive app, so that you don't have to use the Fedora one.


If you have not done so already, please open a bug report and mark it as an enhancement.
If you have not created a bug report before, have a read here =>: https://wiki.mageia.org/en/How_to_report_a_bug_properly

Re: My guide to syncing OneDrive on Mageia 9

PostPosted: Aug 31st, '23, 15:35
by putzina
Thank you, I will. I was unaware that non-inclusion of a particular package in the repos was considered a bug.

Re: My guide to syncing OneDrive on Mageia 9

PostPosted: Aug 31st, '23, 16:59
by doktor5000
Hi there,
further down on that page package requests are covered - which are basically also regular bugs with a different component.
https://wiki.mageia.org/en/How_to_repor ... ge_request

Re: My guide to syncing OneDrive on Mageia 9

PostPosted: Aug 31st, '23, 17:23
by putzina
Thank you for that helpful information.