Xfce Forum

Sub domains
 

You are not logged in.

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

mint4all
Member
From: America
Registered: 2018-08-21
Posts: 113

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 18.3-xfce & Linux Mint 19-xfce  -- Dell Precision T1500 Desktops -- Toshiba Satellite Laptop -- Family & Community Support re. Linux

Offline

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

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 5,877

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.

Offline

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

mint4all
Member
From: America
Registered: 2018-08-21
Posts: 113

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 18.3-xfce & Linux Mint 19-xfce  -- Dell Precision T1500 Desktops -- Toshiba Satellite Laptop -- Family & Community Support re. Linux

Offline

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

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

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: 729

Re: Thunar access to Google Drive

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


MX-19 b3 (based on Debian Stable) with Xfce 4.14.
My little collection: Xfce Tidbits

Offline

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

mint4all
Member
From: America
Registered: 2018-08-21
Posts: 113

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 18.3-xfce & Linux Mint 19-xfce  -- Dell Precision T1500 Desktops -- Toshiba Satellite Laptop -- Family & Community Support re. Linux

Offline

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

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

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-19 b3 (based on Debian Stable) with Xfce 4.14.
My little collection: Xfce Tidbits

Offline

Board footer

Powered by FluxBB