Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-09-14 16:20:00

mint4all
Member
From: off the map
Registered: 2018-08-21
Posts: 264

Thunar access to Google Drive

Greetings!

I would like to access my "Google Drive" (remote) files and folders from within thunar. I am not just looking at a sync-method, but more like a thunar-native folder for the google-drive directory(s). How do i do that?

My thunar version: 1.6.11 running on Linux Mint 18.3 (Ubuntu 16.04 base, xfce 4.12+). There are a number of suggested solutions, but i don't find them attractive as they are not xfce-specific.

Any suggestions are welcome! Thanks, m4a


Linux Mint 21.2 -- xfce 4.18 ... Apple iMAC -- Dell & HP Desktops and Laptops -- Family & Community Support

Offline

#2 2019-09-14 17:34:36

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Thunar access to Google Drive

rclone works well for me. A little complicated getting it set up (CLI-based) and you should use your own ID & secret key as opposed to the default which adds some more complexity, but works well afterwards.

It also looks like you can use the google online accounts method as well.

Once completed (rclone), you can create an autostart entry and the drive is mounted and shows up automatically in thunar. You can also create custom actions to mount/unmount on the fly if you so desire.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2019-09-14 17:41:55

mint4all
Member
From: off the map
Registered: 2018-08-21
Posts: 264

Re: Thunar access to Google Drive

Just what i was looking for -- thanks a lot!

I was concerned that the "online accounts method" would end up messing with my system's global environment by way of re-setting the ("XDG_CURRENT_DESKTOP=GNOME") variable which currently is set the "XFCE".

Will try this and let you know.
Cheers, m4a


Linux Mint 21.2 -- xfce 4.18 ... Apple iMAC -- Dell & HP Desktops and Laptops -- Family & Community Support

Offline

#4 2019-09-14 19:31:24

alcornoqui
Member
Registered: 2014-07-28
Posts: 831

Re: Thunar access to Google Drive

mint4all wrote:

I was concerned that the "online accounts method" would end up messing with my system's global environment by way of re-setting the ("XDG_CURRENT_DESKTOP=GNOME") variable which currently is set the "XFCE".

I think you can create a desktop file with the command set to XDG_CURRENT_DESKTOP=GNOME gnome-control-center and you're set, but I'd be tempted to use the dependency free method, and ToZ recommending rclone makes me want to take a look at it too, so, yes, please, tell us how it goes your exploration!

Offline

#5 2019-09-15 12:00:03

Jerry3904
Member
Registered: 2013-11-09
Posts: 850

Re: Thunar access to Google Drive

i just use Odrive, which puts an icon in the Notification Area. Free, open, simple, works.


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#6 2019-09-21 23:52:17

mint4all
Member
From: off the map
Registered: 2018-08-21
Posts: 264

Re: Thunar access to Google Drive

Thanks for your diverse suggestions. Good news: i got it to work using rclone, @ https://rclone.org/drive/.

At first, trying to configure rclone appeared quite daunting. So instead i installed "expandrive", a highly-recommended GUI-app, and got that to work. Unfortunately, i found out later that "free" was only a 14-day trial. In addition, after about 30 minutes of useage it ended up degrading my 4-core i5 desktop to the point of saturation on all 4 cores -- both a deal-breaker.

Then i looked at odrive, as suggested, but observed that this offered a "free" trial period, too -- not interested. Then i looked into the new release of insync, but that requires a one-time fee; again, not interested.

So i resumed my testing with rclone. Here's how i got it to work:

rclone mount goog:My-Drive ~/GoogleDrive --daemon

where "goog:" is the name of the connection-setup to my google-drive in my config file, "My-Drive" the folder on the google-drive to be used by rclone, and "~/GoogleDrive" is the mount point in my home partition, simply a new folder in my home directory.

Works like a charm: shows up in thunar like my other [thumb-]drives and file systems/partitions, drag-n-drop and  copy/paste work as expected. I still have to work through the permissions setup to be able to create & update libre-office docs. If i run into any problems, i'll let you know...

Cheers, m4a

Last edited by mint4all (2019-09-21 23:53:20)


Linux Mint 21.2 -- xfce 4.18 ... Apple iMAC -- Dell & HP Desktops and Laptops -- Family & Community Support

Offline

#7 2019-10-05 16:29:45

Jerry3904
Member
Registered: 2013-11-09
Posts: 850

Re: Thunar access to Google Drive

Then i looked at odrive, as suggested, but observed that this offered a "free" trial period, too -- not interested.

That's just for the premium version, which most users don't need. The basic version remains free.

It also looks like you can use the google online accounts method as well.

I tried that on MX-19b3, and it seems to work well--thanks.

Last edited by Jerry3904 (2019-10-05 16:58:53)


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#8 2020-01-29 13:20:15

BenyaminL
Member
Registered: 2019-10-11
Posts: 69
Website

Re: Thunar access to Google Drive

Anyone here using OneDrive and when opening the mount using thunar is very slow? But when I'm using WPS to open it, or vim, or using terminal LS it's very fast. I really confused. Any sugestion? Thank you

seems it's confirmed on Kernel 5.4 bug on https://forum.rclone.org/t/solved-very- … nt/13304/9.

So sad lah. I need to move to new kernel than using this 5.4 version, ugh :c

Last edited by BenyaminL (2020-01-29 13:28:21)

Offline

#9 2020-02-10 12:28:59

u666sa
Member
Registered: 2019-11-13
Posts: 43

Re: Thunar access to Google Drive

I use gnome, the only reason I have gnome installed in my system. You go to online accounts and configure, then you get as many google disks on yiur desktop as you wish, they look just like CDs or USB disks, double clicl to mount and use them.

Here I have two, just masked names so you can’t email me.

https://i.ibb.co/C14hRJ0/2020-02-09-17-25-41.png

Last edited by u666sa (2020-02-10 12:32:43)

Offline

Board footer

Powered by FluxBB