How to setup OneDrive in Ubuntu 17.04?












8















Problem with OneDrive. Recently I've installed OneDrive in my PC (Ubuntu 17.04)
but I'm not able to configure or not able to sign in OneDrive through the terminal.
Actually I've strucked here. Please look on to this



jujube@jujube:~$ onedrive
Authorize this app visiting:

https://login.live.com/oauth20_authorize.srf?client_id=000000004C15842F&scope=onedrive.readwrite%20offline_access&response_type=code&redirect_uri=https://login.live.com/oauth20_desktop.srf

Enter the response uri: https://login.microsoftonline.com/189de737-c93a-4f5a-8b68-6f4ca9941912/oauth2/authorize?client_id=00000003-0000-0ff1-ce00-000000000000&response_mode=form_post&response_type=code%20id_token&resource=00000003-0000-0ff1-ce00-000000000000&scope=openid&nonce=1263013103B7E6782803F03D5629B7D0FB1A68D46E17D09C-4B1B73911F92DE22FA330783ACEDE04C7C9991BB38BA7FCD9E3A9A900E0DB6AC&redirect_uri=https:%2F%2Fhclo365-my.sharepoint.com%2F_forms%2Fdefault.aspx&state=0&client-request-id=3fc31b9e-70d1-4000-78af-c23eabf4934b
Invalid uri
Could not initialize the OneDrive API
jujube@jujube:~$









share|improve this question





























    8















    Problem with OneDrive. Recently I've installed OneDrive in my PC (Ubuntu 17.04)
    but I'm not able to configure or not able to sign in OneDrive through the terminal.
    Actually I've strucked here. Please look on to this



    jujube@jujube:~$ onedrive
    Authorize this app visiting:

    https://login.live.com/oauth20_authorize.srf?client_id=000000004C15842F&scope=onedrive.readwrite%20offline_access&response_type=code&redirect_uri=https://login.live.com/oauth20_desktop.srf

    Enter the response uri: https://login.microsoftonline.com/189de737-c93a-4f5a-8b68-6f4ca9941912/oauth2/authorize?client_id=00000003-0000-0ff1-ce00-000000000000&response_mode=form_post&response_type=code%20id_token&resource=00000003-0000-0ff1-ce00-000000000000&scope=openid&nonce=1263013103B7E6782803F03D5629B7D0FB1A68D46E17D09C-4B1B73911F92DE22FA330783ACEDE04C7C9991BB38BA7FCD9E3A9A900E0DB6AC&redirect_uri=https:%2F%2Fhclo365-my.sharepoint.com%2F_forms%2Fdefault.aspx&state=0&client-request-id=3fc31b9e-70d1-4000-78af-c23eabf4934b
    Invalid uri
    Could not initialize the OneDrive API
    jujube@jujube:~$









    share|improve this question



























      8












      8








      8


      6






      Problem with OneDrive. Recently I've installed OneDrive in my PC (Ubuntu 17.04)
      but I'm not able to configure or not able to sign in OneDrive through the terminal.
      Actually I've strucked here. Please look on to this



      jujube@jujube:~$ onedrive
      Authorize this app visiting:

      https://login.live.com/oauth20_authorize.srf?client_id=000000004C15842F&scope=onedrive.readwrite%20offline_access&response_type=code&redirect_uri=https://login.live.com/oauth20_desktop.srf

      Enter the response uri: https://login.microsoftonline.com/189de737-c93a-4f5a-8b68-6f4ca9941912/oauth2/authorize?client_id=00000003-0000-0ff1-ce00-000000000000&response_mode=form_post&response_type=code%20id_token&resource=00000003-0000-0ff1-ce00-000000000000&scope=openid&nonce=1263013103B7E6782803F03D5629B7D0FB1A68D46E17D09C-4B1B73911F92DE22FA330783ACEDE04C7C9991BB38BA7FCD9E3A9A900E0DB6AC&redirect_uri=https:%2F%2Fhclo365-my.sharepoint.com%2F_forms%2Fdefault.aspx&state=0&client-request-id=3fc31b9e-70d1-4000-78af-c23eabf4934b
      Invalid uri
      Could not initialize the OneDrive API
      jujube@jujube:~$









      share|improve this question
















      Problem with OneDrive. Recently I've installed OneDrive in my PC (Ubuntu 17.04)
      but I'm not able to configure or not able to sign in OneDrive through the terminal.
      Actually I've strucked here. Please look on to this



      jujube@jujube:~$ onedrive
      Authorize this app visiting:

      https://login.live.com/oauth20_authorize.srf?client_id=000000004C15842F&scope=onedrive.readwrite%20offline_access&response_type=code&redirect_uri=https://login.live.com/oauth20_desktop.srf

      Enter the response uri: https://login.microsoftonline.com/189de737-c93a-4f5a-8b68-6f4ca9941912/oauth2/authorize?client_id=00000003-0000-0ff1-ce00-000000000000&response_mode=form_post&response_type=code%20id_token&resource=00000003-0000-0ff1-ce00-000000000000&scope=openid&nonce=1263013103B7E6782803F03D5629B7D0FB1A68D46E17D09C-4B1B73911F92DE22FA330783ACEDE04C7C9991BB38BA7FCD9E3A9A900E0DB6AC&redirect_uri=https:%2F%2Fhclo365-my.sharepoint.com%2F_forms%2Fdefault.aspx&state=0&client-request-id=3fc31b9e-70d1-4000-78af-c23eabf4934b
      Invalid uri
      Could not initialize the OneDrive API
      jujube@jujube:~$






      configuration microsoft






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 11 '18 at 12:30









      Melebius

      4,61651839




      4,61651839










      asked Sep 22 '17 at 15:20









      Shankar BoddapalliShankar Boddapalli

      41112




      41112






















          4 Answers
          4






          active

          oldest

          votes


















          19














          I tried installing the package onedrive and it works just fine



          $sudo apt-get install onedrive


          post install, run command



          $onedrive


          This will provide a URI and ask you for a URI in return. Click the URI and login to your onedrive account (this package works only with personal onedrive for now). Good thing is it also works with two factor authentication - no app password is needed.



          The URI will show a blank page, copy the web URI and paste it into the terminal where the onedrive command prompted for uri.



          That's it. The tool will download entire Onedrive contents to $HOME/OneDrive directory.



          The drive can be sync'ed in real time but running command



          onedrive -m


          I found the above command useful.



          Any time simply running onedrive will sync the files. Use manual to find much more options to configure the sync to your need



          $man onedrive





          share|improve this answer































            2














            I just gone through the following exercise, and OneDrive is partially working for me.



            1.install OneDrive package via apt-get




            $ sudo apt-get install -y onedrive




            2.run onedrive command




            $ onedrive
            Authorize this app visiting:



            https://login.live.com/oauth20_authorize.srf?client_id=000000004C15842F&scope=onedrive.readwrite%20offline_access&response_type=code&redirect_uri=https://login.live.com/oauth20_desktop.srf



            Enter the response uri:




            3.copy and paste the given URL to any browser, then, following the regular Microsft OneDrive procedure. At the end, you get an empty web page.



            4.copy the URL and paste it as the response to onedrive command. Here is what I got,



            Enter the response uri: https://login.live.com/oauth20_desktop.srf?code=M5f2af202-6d1d-eb70-2007-6077fb7f93f0&lc=1033
            Creating directory: ./我的最愛.My Favorites
            Creating directory: ./Calendar.web
            Creating directory: ./WallPapers
            Creating directory: ./Documents
            Creating directory: ./WallPapers/MacOS
            . . .



            5.You will see $HOME/OneDrive folder been created with OneDrive content.



            The reason I said I had a partial success is because the onedrive crashed with following error,




            sqlite.SqliteException@src/sqlite.d(147): database is locked
            ---------------- ??:? [0x6223bf12] ??:? [0x62251a7b] ??:? [0x62250caf] ??:? _D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv
            [0xb3cc9a0e] ??:? [0x62255cf4] ??:? __libc_start_main [0xb345a3f0]
            Segmentation fault (core dumped)




            Not sure if this is caused by running another onedrive instance while it was already busying sync'ing up the data.



            I re-launched a fresh onedrive and it is still sync'ing up (downloading) my data.






            share|improve this answer































              0














              I just found a link with instructions on how to get OneDrive installed on Ubuntu.




              1. Run in Terminal git clone https://github.com/xybu92/onedrive-d.git

              2. If you dont have git installed, run sudo apt-get install git to install it and then run the last command in 1.


              3. cd onedrive-d to go into the directory you just downloaded.


              4. ./inst install to setup OneDrive.

              5. If the command in 4 says it requires some dependencies, run sudo apt-get install -f to fix them and it will finish setting up OneDrive after installing the dependencies or you can run #4 again to make sure it gets installed.

              6. Right after installation, a window should appear showing OneDrive preferences.

              7. Click Connect to OneDrive.com and you should be able to sign into your Microsoft account or OneDrive account.

              8. After logging in Accept any permissions it requests and save any preferences.

              9. Your OneDrive folder should now be in your home folder /home/user/OneDrive.


              You will have to setup some additional things to get it to start automatically instead of running the daemon every time you boot and some additional info you.




              • OneDrive does not start up on startup so you will have to add onedrive-d in Startup Applications.

              • To make any changes you can open the preferences window with onedrive-prefs.

              • OneDrive also has a command line tool to make any changes like create a new directory. onedrive-cli.


              More detailed info can be seen here: https://www.maketecheasier.com/sync-onedrive-linux/






              share|improve this answer































                0














                There is a new onedrive api and it runs ok in ubuntu 18.10:



                https://github.com/xybu/onedrived-dev read and follow the instructions





                share








                New contributor




                javier jimeno is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.




















                  Your Answer








                  StackExchange.ready(function() {
                  var channelOptions = {
                  tags: "".split(" "),
                  id: "89"
                  };
                  initTagRenderer("".split(" "), "".split(" "), channelOptions);

                  StackExchange.using("externalEditor", function() {
                  // Have to fire editor after snippets, if snippets enabled
                  if (StackExchange.settings.snippets.snippetsEnabled) {
                  StackExchange.using("snippets", function() {
                  createEditor();
                  });
                  }
                  else {
                  createEditor();
                  }
                  });

                  function createEditor() {
                  StackExchange.prepareEditor({
                  heartbeatType: 'answer',
                  autoActivateHeartbeat: false,
                  convertImagesToLinks: true,
                  noModals: true,
                  showLowRepImageUploadWarning: true,
                  reputationToPostImages: 10,
                  bindNavPrevention: true,
                  postfix: "",
                  imageUploader: {
                  brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                  contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                  allowUrls: true
                  },
                  onDemand: true,
                  discardSelector: ".discard-answer"
                  ,immediatelyShowMarkdownHelp:true
                  });


                  }
                  });














                  draft saved

                  draft discarded


















                  StackExchange.ready(
                  function () {
                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f958406%2fhow-to-setup-onedrive-in-ubuntu-17-04%23new-answer', 'question_page');
                  }
                  );

                  Post as a guest















                  Required, but never shown

























                  4 Answers
                  4






                  active

                  oldest

                  votes








                  4 Answers
                  4






                  active

                  oldest

                  votes









                  active

                  oldest

                  votes






                  active

                  oldest

                  votes









                  19














                  I tried installing the package onedrive and it works just fine



                  $sudo apt-get install onedrive


                  post install, run command



                  $onedrive


                  This will provide a URI and ask you for a URI in return. Click the URI and login to your onedrive account (this package works only with personal onedrive for now). Good thing is it also works with two factor authentication - no app password is needed.



                  The URI will show a blank page, copy the web URI and paste it into the terminal where the onedrive command prompted for uri.



                  That's it. The tool will download entire Onedrive contents to $HOME/OneDrive directory.



                  The drive can be sync'ed in real time but running command



                  onedrive -m


                  I found the above command useful.



                  Any time simply running onedrive will sync the files. Use manual to find much more options to configure the sync to your need



                  $man onedrive





                  share|improve this answer




























                    19














                    I tried installing the package onedrive and it works just fine



                    $sudo apt-get install onedrive


                    post install, run command



                    $onedrive


                    This will provide a URI and ask you for a URI in return. Click the URI and login to your onedrive account (this package works only with personal onedrive for now). Good thing is it also works with two factor authentication - no app password is needed.



                    The URI will show a blank page, copy the web URI and paste it into the terminal where the onedrive command prompted for uri.



                    That's it. The tool will download entire Onedrive contents to $HOME/OneDrive directory.



                    The drive can be sync'ed in real time but running command



                    onedrive -m


                    I found the above command useful.



                    Any time simply running onedrive will sync the files. Use manual to find much more options to configure the sync to your need



                    $man onedrive





                    share|improve this answer


























                      19












                      19








                      19







                      I tried installing the package onedrive and it works just fine



                      $sudo apt-get install onedrive


                      post install, run command



                      $onedrive


                      This will provide a URI and ask you for a URI in return. Click the URI and login to your onedrive account (this package works only with personal onedrive for now). Good thing is it also works with two factor authentication - no app password is needed.



                      The URI will show a blank page, copy the web URI and paste it into the terminal where the onedrive command prompted for uri.



                      That's it. The tool will download entire Onedrive contents to $HOME/OneDrive directory.



                      The drive can be sync'ed in real time but running command



                      onedrive -m


                      I found the above command useful.



                      Any time simply running onedrive will sync the files. Use manual to find much more options to configure the sync to your need



                      $man onedrive





                      share|improve this answer













                      I tried installing the package onedrive and it works just fine



                      $sudo apt-get install onedrive


                      post install, run command



                      $onedrive


                      This will provide a URI and ask you for a URI in return. Click the URI and login to your onedrive account (this package works only with personal onedrive for now). Good thing is it also works with two factor authentication - no app password is needed.



                      The URI will show a blank page, copy the web URI and paste it into the terminal where the onedrive command prompted for uri.



                      That's it. The tool will download entire Onedrive contents to $HOME/OneDrive directory.



                      The drive can be sync'ed in real time but running command



                      onedrive -m


                      I found the above command useful.



                      Any time simply running onedrive will sync the files. Use manual to find much more options to configure the sync to your need



                      $man onedrive






                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Mar 9 '18 at 0:52









                      Rajesh GRajesh G

                      19113




                      19113

























                          2














                          I just gone through the following exercise, and OneDrive is partially working for me.



                          1.install OneDrive package via apt-get




                          $ sudo apt-get install -y onedrive




                          2.run onedrive command




                          $ onedrive
                          Authorize this app visiting:



                          https://login.live.com/oauth20_authorize.srf?client_id=000000004C15842F&scope=onedrive.readwrite%20offline_access&response_type=code&redirect_uri=https://login.live.com/oauth20_desktop.srf



                          Enter the response uri:




                          3.copy and paste the given URL to any browser, then, following the regular Microsft OneDrive procedure. At the end, you get an empty web page.



                          4.copy the URL and paste it as the response to onedrive command. Here is what I got,



                          Enter the response uri: https://login.live.com/oauth20_desktop.srf?code=M5f2af202-6d1d-eb70-2007-6077fb7f93f0&lc=1033
                          Creating directory: ./我的最愛.My Favorites
                          Creating directory: ./Calendar.web
                          Creating directory: ./WallPapers
                          Creating directory: ./Documents
                          Creating directory: ./WallPapers/MacOS
                          . . .



                          5.You will see $HOME/OneDrive folder been created with OneDrive content.



                          The reason I said I had a partial success is because the onedrive crashed with following error,




                          sqlite.SqliteException@src/sqlite.d(147): database is locked
                          ---------------- ??:? [0x6223bf12] ??:? [0x62251a7b] ??:? [0x62250caf] ??:? _D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv
                          [0xb3cc9a0e] ??:? [0x62255cf4] ??:? __libc_start_main [0xb345a3f0]
                          Segmentation fault (core dumped)




                          Not sure if this is caused by running another onedrive instance while it was already busying sync'ing up the data.



                          I re-launched a fresh onedrive and it is still sync'ing up (downloading) my data.






                          share|improve this answer




























                            2














                            I just gone through the following exercise, and OneDrive is partially working for me.



                            1.install OneDrive package via apt-get




                            $ sudo apt-get install -y onedrive




                            2.run onedrive command




                            $ onedrive
                            Authorize this app visiting:



                            https://login.live.com/oauth20_authorize.srf?client_id=000000004C15842F&scope=onedrive.readwrite%20offline_access&response_type=code&redirect_uri=https://login.live.com/oauth20_desktop.srf



                            Enter the response uri:




                            3.copy and paste the given URL to any browser, then, following the regular Microsft OneDrive procedure. At the end, you get an empty web page.



                            4.copy the URL and paste it as the response to onedrive command. Here is what I got,



                            Enter the response uri: https://login.live.com/oauth20_desktop.srf?code=M5f2af202-6d1d-eb70-2007-6077fb7f93f0&lc=1033
                            Creating directory: ./我的最愛.My Favorites
                            Creating directory: ./Calendar.web
                            Creating directory: ./WallPapers
                            Creating directory: ./Documents
                            Creating directory: ./WallPapers/MacOS
                            . . .



                            5.You will see $HOME/OneDrive folder been created with OneDrive content.



                            The reason I said I had a partial success is because the onedrive crashed with following error,




                            sqlite.SqliteException@src/sqlite.d(147): database is locked
                            ---------------- ??:? [0x6223bf12] ??:? [0x62251a7b] ??:? [0x62250caf] ??:? _D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv
                            [0xb3cc9a0e] ??:? [0x62255cf4] ??:? __libc_start_main [0xb345a3f0]
                            Segmentation fault (core dumped)




                            Not sure if this is caused by running another onedrive instance while it was already busying sync'ing up the data.



                            I re-launched a fresh onedrive and it is still sync'ing up (downloading) my data.






                            share|improve this answer


























                              2












                              2








                              2







                              I just gone through the following exercise, and OneDrive is partially working for me.



                              1.install OneDrive package via apt-get




                              $ sudo apt-get install -y onedrive




                              2.run onedrive command




                              $ onedrive
                              Authorize this app visiting:



                              https://login.live.com/oauth20_authorize.srf?client_id=000000004C15842F&scope=onedrive.readwrite%20offline_access&response_type=code&redirect_uri=https://login.live.com/oauth20_desktop.srf



                              Enter the response uri:




                              3.copy and paste the given URL to any browser, then, following the regular Microsft OneDrive procedure. At the end, you get an empty web page.



                              4.copy the URL and paste it as the response to onedrive command. Here is what I got,



                              Enter the response uri: https://login.live.com/oauth20_desktop.srf?code=M5f2af202-6d1d-eb70-2007-6077fb7f93f0&lc=1033
                              Creating directory: ./我的最愛.My Favorites
                              Creating directory: ./Calendar.web
                              Creating directory: ./WallPapers
                              Creating directory: ./Documents
                              Creating directory: ./WallPapers/MacOS
                              . . .



                              5.You will see $HOME/OneDrive folder been created with OneDrive content.



                              The reason I said I had a partial success is because the onedrive crashed with following error,




                              sqlite.SqliteException@src/sqlite.d(147): database is locked
                              ---------------- ??:? [0x6223bf12] ??:? [0x62251a7b] ??:? [0x62250caf] ??:? _D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv
                              [0xb3cc9a0e] ??:? [0x62255cf4] ??:? __libc_start_main [0xb345a3f0]
                              Segmentation fault (core dumped)




                              Not sure if this is caused by running another onedrive instance while it was already busying sync'ing up the data.



                              I re-launched a fresh onedrive and it is still sync'ing up (downloading) my data.






                              share|improve this answer













                              I just gone through the following exercise, and OneDrive is partially working for me.



                              1.install OneDrive package via apt-get




                              $ sudo apt-get install -y onedrive




                              2.run onedrive command




                              $ onedrive
                              Authorize this app visiting:



                              https://login.live.com/oauth20_authorize.srf?client_id=000000004C15842F&scope=onedrive.readwrite%20offline_access&response_type=code&redirect_uri=https://login.live.com/oauth20_desktop.srf



                              Enter the response uri:




                              3.copy and paste the given URL to any browser, then, following the regular Microsft OneDrive procedure. At the end, you get an empty web page.



                              4.copy the URL and paste it as the response to onedrive command. Here is what I got,



                              Enter the response uri: https://login.live.com/oauth20_desktop.srf?code=M5f2af202-6d1d-eb70-2007-6077fb7f93f0&lc=1033
                              Creating directory: ./我的最愛.My Favorites
                              Creating directory: ./Calendar.web
                              Creating directory: ./WallPapers
                              Creating directory: ./Documents
                              Creating directory: ./WallPapers/MacOS
                              . . .



                              5.You will see $HOME/OneDrive folder been created with OneDrive content.



                              The reason I said I had a partial success is because the onedrive crashed with following error,




                              sqlite.SqliteException@src/sqlite.d(147): database is locked
                              ---------------- ??:? [0x6223bf12] ??:? [0x62251a7b] ??:? [0x62250caf] ??:? _D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv
                              [0xb3cc9a0e] ??:? [0x62255cf4] ??:? __libc_start_main [0xb345a3f0]
                              Segmentation fault (core dumped)




                              Not sure if this is caused by running another onedrive instance while it was already busying sync'ing up the data.



                              I re-launched a fresh onedrive and it is still sync'ing up (downloading) my data.







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Nov 19 '17 at 19:32









                              Tzunghsing David WongTzunghsing David Wong

                              1213




                              1213























                                  0














                                  I just found a link with instructions on how to get OneDrive installed on Ubuntu.




                                  1. Run in Terminal git clone https://github.com/xybu92/onedrive-d.git

                                  2. If you dont have git installed, run sudo apt-get install git to install it and then run the last command in 1.


                                  3. cd onedrive-d to go into the directory you just downloaded.


                                  4. ./inst install to setup OneDrive.

                                  5. If the command in 4 says it requires some dependencies, run sudo apt-get install -f to fix them and it will finish setting up OneDrive after installing the dependencies or you can run #4 again to make sure it gets installed.

                                  6. Right after installation, a window should appear showing OneDrive preferences.

                                  7. Click Connect to OneDrive.com and you should be able to sign into your Microsoft account or OneDrive account.

                                  8. After logging in Accept any permissions it requests and save any preferences.

                                  9. Your OneDrive folder should now be in your home folder /home/user/OneDrive.


                                  You will have to setup some additional things to get it to start automatically instead of running the daemon every time you boot and some additional info you.




                                  • OneDrive does not start up on startup so you will have to add onedrive-d in Startup Applications.

                                  • To make any changes you can open the preferences window with onedrive-prefs.

                                  • OneDrive also has a command line tool to make any changes like create a new directory. onedrive-cli.


                                  More detailed info can be seen here: https://www.maketecheasier.com/sync-onedrive-linux/






                                  share|improve this answer




























                                    0














                                    I just found a link with instructions on how to get OneDrive installed on Ubuntu.




                                    1. Run in Terminal git clone https://github.com/xybu92/onedrive-d.git

                                    2. If you dont have git installed, run sudo apt-get install git to install it and then run the last command in 1.


                                    3. cd onedrive-d to go into the directory you just downloaded.


                                    4. ./inst install to setup OneDrive.

                                    5. If the command in 4 says it requires some dependencies, run sudo apt-get install -f to fix them and it will finish setting up OneDrive after installing the dependencies or you can run #4 again to make sure it gets installed.

                                    6. Right after installation, a window should appear showing OneDrive preferences.

                                    7. Click Connect to OneDrive.com and you should be able to sign into your Microsoft account or OneDrive account.

                                    8. After logging in Accept any permissions it requests and save any preferences.

                                    9. Your OneDrive folder should now be in your home folder /home/user/OneDrive.


                                    You will have to setup some additional things to get it to start automatically instead of running the daemon every time you boot and some additional info you.




                                    • OneDrive does not start up on startup so you will have to add onedrive-d in Startup Applications.

                                    • To make any changes you can open the preferences window with onedrive-prefs.

                                    • OneDrive also has a command line tool to make any changes like create a new directory. onedrive-cli.


                                    More detailed info can be seen here: https://www.maketecheasier.com/sync-onedrive-linux/






                                    share|improve this answer


























                                      0












                                      0








                                      0







                                      I just found a link with instructions on how to get OneDrive installed on Ubuntu.




                                      1. Run in Terminal git clone https://github.com/xybu92/onedrive-d.git

                                      2. If you dont have git installed, run sudo apt-get install git to install it and then run the last command in 1.


                                      3. cd onedrive-d to go into the directory you just downloaded.


                                      4. ./inst install to setup OneDrive.

                                      5. If the command in 4 says it requires some dependencies, run sudo apt-get install -f to fix them and it will finish setting up OneDrive after installing the dependencies or you can run #4 again to make sure it gets installed.

                                      6. Right after installation, a window should appear showing OneDrive preferences.

                                      7. Click Connect to OneDrive.com and you should be able to sign into your Microsoft account or OneDrive account.

                                      8. After logging in Accept any permissions it requests and save any preferences.

                                      9. Your OneDrive folder should now be in your home folder /home/user/OneDrive.


                                      You will have to setup some additional things to get it to start automatically instead of running the daemon every time you boot and some additional info you.




                                      • OneDrive does not start up on startup so you will have to add onedrive-d in Startup Applications.

                                      • To make any changes you can open the preferences window with onedrive-prefs.

                                      • OneDrive also has a command line tool to make any changes like create a new directory. onedrive-cli.


                                      More detailed info can be seen here: https://www.maketecheasier.com/sync-onedrive-linux/






                                      share|improve this answer













                                      I just found a link with instructions on how to get OneDrive installed on Ubuntu.




                                      1. Run in Terminal git clone https://github.com/xybu92/onedrive-d.git

                                      2. If you dont have git installed, run sudo apt-get install git to install it and then run the last command in 1.


                                      3. cd onedrive-d to go into the directory you just downloaded.


                                      4. ./inst install to setup OneDrive.

                                      5. If the command in 4 says it requires some dependencies, run sudo apt-get install -f to fix them and it will finish setting up OneDrive after installing the dependencies or you can run #4 again to make sure it gets installed.

                                      6. Right after installation, a window should appear showing OneDrive preferences.

                                      7. Click Connect to OneDrive.com and you should be able to sign into your Microsoft account or OneDrive account.

                                      8. After logging in Accept any permissions it requests and save any preferences.

                                      9. Your OneDrive folder should now be in your home folder /home/user/OneDrive.


                                      You will have to setup some additional things to get it to start automatically instead of running the daemon every time you boot and some additional info you.




                                      • OneDrive does not start up on startup so you will have to add onedrive-d in Startup Applications.

                                      • To make any changes you can open the preferences window with onedrive-prefs.

                                      • OneDrive also has a command line tool to make any changes like create a new directory. onedrive-cli.


                                      More detailed info can be seen here: https://www.maketecheasier.com/sync-onedrive-linux/







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Sep 22 '17 at 17:02









                                      xR34P3RxxR34P3Rx

                                      24119




                                      24119























                                          0














                                          There is a new onedrive api and it runs ok in ubuntu 18.10:



                                          https://github.com/xybu/onedrived-dev read and follow the instructions





                                          share








                                          New contributor




                                          javier jimeno is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                          Check out our Code of Conduct.

























                                            0














                                            There is a new onedrive api and it runs ok in ubuntu 18.10:



                                            https://github.com/xybu/onedrived-dev read and follow the instructions





                                            share








                                            New contributor




                                            javier jimeno is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                            Check out our Code of Conduct.























                                              0












                                              0








                                              0







                                              There is a new onedrive api and it runs ok in ubuntu 18.10:



                                              https://github.com/xybu/onedrived-dev read and follow the instructions





                                              share








                                              New contributor




                                              javier jimeno is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                              Check out our Code of Conduct.










                                              There is a new onedrive api and it runs ok in ubuntu 18.10:



                                              https://github.com/xybu/onedrived-dev read and follow the instructions






                                              share








                                              New contributor




                                              javier jimeno is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                              Check out our Code of Conduct.








                                              share


                                              share






                                              New contributor




                                              javier jimeno is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                              Check out our Code of Conduct.









                                              answered 3 mins ago









                                              javier jimenojavier jimeno

                                              1




                                              1




                                              New contributor




                                              javier jimeno is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                              Check out our Code of Conduct.





                                              New contributor





                                              javier jimeno is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                              Check out our Code of Conduct.






                                              javier jimeno is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                              Check out our Code of Conduct.






























                                                  draft saved

                                                  draft discarded




















































                                                  Thanks for contributing an answer to Ask Ubuntu!


                                                  • Please be sure to answer the question. Provide details and share your research!

                                                  But avoid



                                                  • Asking for help, clarification, or responding to other answers.

                                                  • Making statements based on opinion; back them up with references or personal experience.


                                                  To learn more, see our tips on writing great answers.




                                                  draft saved


                                                  draft discarded














                                                  StackExchange.ready(
                                                  function () {
                                                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f958406%2fhow-to-setup-onedrive-in-ubuntu-17-04%23new-answer', 'question_page');
                                                  }
                                                  );

                                                  Post as a guest















                                                  Required, but never shown





















































                                                  Required, but never shown














                                                  Required, but never shown












                                                  Required, but never shown







                                                  Required, but never shown

































                                                  Required, but never shown














                                                  Required, but never shown












                                                  Required, but never shown







                                                  Required, but never shown







                                                  Popular posts from this blog

                                                  Category:香港粉麵

                                                  List *all* the tuples!

                                                  Channel [V]