How-to Access Cloud Storage (like Google drive or Ms OneDrive)

Forum Forums General Tips and Tricks How-to Access Cloud Storage (like Google drive or Ms OneDrive)

  • This topic has 6 replies, 6 voices, and was last updated Feb 7-10:57 am by PPC.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #37640
    Member
    PPC

      This will probably be the last of my “how-tos” for a while, but I didn’t want to stop without addressing this:

      One aspect that Linux lacks is that it has no free official clients for some Cloud services, like Google Drive and Microsoft OneDrive.

      Note: Open Drive is an unofficial Google Drive Client you can install from the Package Manager

      I posted, a tutorial, a while back about how to access Google Drive like it was a network drive. Since then I played a bit with rclone and found out if works amazingly well.
      You can install rclone (it’s a tiny download) from synaptic or using the terminal:
      sudo apt install rclone

      Rclone is a command line application that allows users to access and mount many cloud services like they are network drives.
      It has a non official GUI, rclone-browser, that does a pretty decent job letting user access their remote files using a Graphical User Interface. But, it lacks a few functions.
      Since I like using the default antiX file managers ( In fact I only use SpaceFM), I stiched together a GUI that works pretty much like rclone-browser, but using your default File Manager to access remote files. You can drag and drop files one way or another, open remote pdf files or media files. But, to open document remote files, you’ll have download them to your computer and open them from there (or configure LibreOffice to access remote files).

      Anyway, my experimental script is available in the link below:
      https://pastebin.com/7ymTG234

      How to use this script:
      1- if you have not done so, install rclone
      2- you have to configure a cloud account. Google Drive can be automatically configured by pressing a button. All other cloud services have to be configured using the terminal, typing answers to simple questions. Once the account is configured, you won’t need to use the terminal again:
      2.1- To configure a new “remote” cloud account launch the script. It automatically detects if there are no configured “remote” services and asks if you want to configure one account.
      2.2- Click the “Help” button, if you want to see an example of how to configure a Google Drive account (it’s the same principle to configure any other cloud service- when presented with the long list of available services, type the number of the service you want to use)
      2.3- Click the “Automatically add Google Drive” button if you wish do to so. Enter your credentials when the browser asks you to, and allow rclone to access your google drive. Once you have done that, Click the “Quit” button and the main window pops open OR
      Click “Manage Drives”, and a terminal configuration window pops up. Answer the questions until you complete the config process. Then click the “Quit” button and the main window pops open.
      3- To access a configured Cloud Drive, launch the script and, at the main window, double click the “remote” cloud drive you want to access. It pops open in your default File Manager
      4- To unmount your Cloud Drive, launch the script and click the “unmount…” button.

      EDIT:
      New, more mature version of the script:
      https://pastebin.com/4Fj85h1X
      https://pastebin.com/u8R5RDCx

      Changes: the script now as a GUI for configuring a Google Drive account- the user doesn’t even have to see the terminal to configure access to a Google Drive account!
      Also several minor change, and added a Help page.

      As always, any feedback is welcome!

      P.

      • This topic was modified 2 years, 10 months ago by PPC.
      • This topic was modified 2 years, 10 months ago by PPC.
      • This topic was modified 2 years, 10 months ago by PPC.
      #89421
      Member
      abdelmajidint
        Helpful
        Up
        0
        ::

        Anyway, what’s the best platform for cloud storage to use?

        #89425
        Moderator
        Brian Masinick
          #89452
          Member
          olsztyn
            Helpful
            Up
            0
            ::

            Anyway, what’s the best platform for cloud storage to use?

            The best storage for privacy – Mega.nz. They used to give 50GB free. Now free for new users is 20GB. Fully encrypted by client side. I still have 50GB as the original user.
            Just MHO.
            On mainstream ones: Onedrive used to support WebDav protocol to access in a seamless way. Not sure it still does. Best for Office Online is one needs seamless office support…

            Live antiX Boot Options (Previously posted by Xecure):
            https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

            #90934
            Member
            Vincent17
              Helpful
              Up
              0
              ::

              I think it’s good to mention that rclone can create encrypted folders within the remote. This more than anything else has made google drive useful for me.

              Encryption is transparent; only encrypted data leave your computer. Transparent encryption is made possible by the rclone.conf file. On an insecure computer, this file can be encrypted.

              To create the encrypted remote, it’s necessary to run rclone config a second time and choose new remote, type of storage: crypt. Several detailed tutorials are available, such as https://www.andyibanez.com/posts/rclone-basics-encryption/.

              I wasn’t able to obtain PPC’s script, so I don’t know if encryption is covered there. In any case, thanks for calling attention to this very useful program.

              rclone ncdu v1.59.2 - use the arrow keys to navigate, press ? for help      
              -- my_remote:Backup --------------------------------------------------------------
                  2.362Gi [##########] /i7aedjdtur4l6b5l06d0imjskc                            
                343.849Mi [#         ] /rt090qmlaighb5ba8c1ppkn850                            
                 13.347Mi [          ] /f8d93at41dfri2k4rhlu5tj50o                            
                  9.794Mi [          ] /f3in3i5g92v3ct8djohe6s6qe4  
              #98966
              Member
              jazzbassNick
                Helpful
                Up
                0
                ::

                I wasn’t able to obtain PPC’s script, so I don’t know if encryption is covered there. In any case, thanks for calling attention to this very useful program.

                Soooooo happy I found this thread and the github where the scripts are: https://github.com/PPC-scripts/access_cloud

                Thanks PPC!

                #99077
                Member
                PPC
                  Helpful
                  Up
                  0
                  ::

                  I’m glad you found my script useful- it’s also available as part of the ft10-transformation package – installing it (using Synaptic or sudo apt install ft10-transformation) gives you acces to that script and also some more of my tools (you do not have to enable ft10, that changes your system’s look and feel) to use those GUI scripts.
                  There was some kind of change and now, to automatic configure a Google drive account, the button on the configuration screen no longer works (I’ll have to change that).
                  For now, you can configure Google Drive automaticly by doing this (it should work):
                  antiX Menu > Terminal. Once in the terminal copy and paste this command:

                  
                   rclone config create GoogleDrive drive config_is_local true

                  A browser tab/window should appear, asking for you google credentials and for you to authorise rclone to access your account. Allow that. When the browser says you can go back to rclone, you can close that tab/window, and use your Google Drive account via the GUI.

                  A similar option to configure OneDrive accounts exists- if I run it, MS’s page pops up, asking me to autorise access, and OneDrive appears in the GUI, but does nothing- if anyone know how to fix that, I’ll appreciate the help:
                  rclone config create OneDrive onedrive config_is_local true

                Viewing 7 posts - 1 through 7 (of 7 total)
                • You must be logged in to reply to this topic.