Google Drive File-manager v3

Moderator: Forum moderators

Post Reply
User avatar
fredx181
Posts: 2561
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 274 times
Been thanked: 993 times
Contact:

Google Drive File-manager v3

Post by fredx181 »

*** Google_Drive GUI v3 ***

This is a complete remake of earlier version shared in the old forum:
https://oldforum.puppylinux.com/viewtopic.php?t=112322
https://oldforum.puppylinux.com/viewtop ... 48#p979148
These are NOT functioning anymore unfortunately because of a change in the Google API.

This v3 uses rclone. Tested on FossaPup, BookwormPup, KLV-Airedale and Debiandog , edit: and on Fatdog, see below post #4 for .txz package.
(should work with gtkdialog GTK2 and with gtkdialog GTK3).
Same as the older versions, this is very much inspired by the great "Dropbox File manager" from old forum member mikeb .

googledrivegui3-3.0.0-noarch.pet
googledrivegui v3
(9.75 KiB) Downloaded 40 times

(.deb package and .xbps package at second post)


EDIT: @mikewalsh provided .pet packages with rclone (v1.45) incuded, probably works on most Puppy versions (old/new), see: viewtopic.php?p=107074#p107074

Requirements: gtkdialog and rclone

Help info (button 'Help' (initial usage is easy, just enter an account name (I simply used my own name (see pic below), click 'New Profile' and the default browser should open, login in your Google account and allow rclone access):

To access your account(s), you will need to make a profile.
Enter a name (can be any name you wish) in the Account: box and click on New Profile.
A terminal will appear and the default browser should open, login in your Google account
Follow the instructions (allow rclone access).
When you are done, the account can be accessed by using that name.

The profile can be changed at any time by entering another name and clicking on Rescan
facilitating multiple accounts.

To remove a profile, go to /root, show hidden files in file-manager and delete
the .gdrive3-{your profile} file.

After a profile is created, the GUI will appear and function as a two-pane file manager.

To create a remote folder, add the path in the address bar and click on
the adjacent (Create Folder) button.

Share URL retrieves the download link with instructions for getting the direct file/zip link.

Add (from left pane) can add (multiple) files or whole folder(s) (upload).
Note: if a file exists already, it will be overwritten (upload and download).

More info: http://murga-linux.com/puppy/viewtopic.php?t=112322

2023-12-30_19-16-56.png
2023-12-30_19-16-56.png (133.23 KiB) Viewed 1124 times
User avatar
fredx181
Posts: 2561
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 274 times
Been thanked: 993 times
Contact:

Re: Google Drive File-manager v3

Post by fredx181 »

To add to first post;

A second entry will appear also in Menu > Internet ; "Google Drive GUI v3 (shared folders)"
Not sure if it's useful (only if you have 'Shared with me" files on your Google Drive)

For DebianDog: .deb package:

googledrivegui3_3.0.0_all.deb.gz
Remove fake .gz extension
(15.04 KiB) Downloaded 22 times

For KLV-Airedale .xbps package :

googledrivegui3-3.0_0.noarch.xbps
(16.18 KiB) Downloaded 23 times
User avatar
p310don
Posts: 290
Joined: Tue Dec 03, 2019 7:17 am
Location: Brisbane, Australia
Has thanked: 55 times
Been thanked: 92 times

Re: Google Drive File-manager v3

Post by p310don »

Thanks for this @fredx181

I have installed this on Fatdog 901, the menu entry doesn't work, but the program works perfectly. It is extremely simple to setup and get running.

There are better ways to use rclone (imo) that are a whole lot harder to set up, but this just works so easily out of the box. Love it.

If I get time, I'll try and repackage for Fatdog with a working menu entry.

User avatar
fredx181
Posts: 2561
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 274 times
Been thanked: 993 times
Contact:

Re: Google Drive File-manager v3

Post by fredx181 »

Thanks @p310don , good to hear you like it.

... on Fatdog 901, the menu entry doesn't work,

Mmm.. works for me on Fatdog, I converted the above attached .deb to Fatdog txz format and Menu entry works (under "Network").
But perhaps you did different.

googledrivegui3-3.0.0-all-DEB.txz.gz
googledrivegui3 for Fatdog, remove FAKE .gz
(14.57 KiB) Downloaded 19 times

There are better ways to use rclone (imo) that are a whole lot harder to set up

I'm curious about what you mean, perhaps mounting ? (which works nicely too btw, but needs a proper fuse setup, may even need fuse3, not sure)

EDIT: mini how-to for mounting with rclone: viewtopic.php?p=107052#p107052

User avatar
mikewalsh
Moderator
Posts: 5575
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 570 times
Been thanked: 1681 times

Re: Google Drive File-manager v3

Post by mikewalsh »

@fredx181 :-

Morning, Fred.

I used to use the previous one a LOT.......but, as you say, changes in the API mean it hasn't functioned for quite some time. I'm going to take a look at this. Any idea how far back those linked .zip packages of rclone will work with?

To me, I call something like Tahrpup "old". I'm guessing for you perhaps anything more than 2-3 yrs old is "old"?

I'll try this out later today. I'll let ya know what happens...

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
mikewalsh
Moderator
Posts: 5575
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 570 times
Been thanked: 1681 times

Re: Google Drive File-manager v3

Post by mikewalsh »

@fredx181 :-

Ooh, nice one, Fred. Works a treat in Tahrpup64 - where I am ATM - which means it should work in all my other Pups, too (since everything else is newer)!

It's quite a bit easier to set-up than the previous one. None of that messing-around in the terminal to access and enter the API key. This is SO simple... I like it, I like it.

Well done, mate!

Mike. :thumbup:

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
fredx181
Posts: 2561
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 274 times
Been thanked: 993 times
Contact:

Re: Google Drive File-manager v3

Post by fredx181 »

mikewalsh wrote:

Ooh, nice one, Fred. Works a treat in Tahrpup64 - where I am ATM - which means it should work in all my other Pups, too (since everything else is newer)!

Thanks Mike ! Which rclone version you use in Tahrpup ?
(btw, these rclone binaries from Github releases are very portable, worked in all systems I tried, the 1.45 version works ok with googledrivegui, but (I can't remember well) I think I tried version 1.40 and it didn't work properly because of some missing option).

User avatar
mikewalsh
Moderator
Posts: 5575
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 570 times
Been thanked: 1681 times

Re: Google Drive File-manager v3

Post by mikewalsh »

@fredx181 :-

v1.45.....the ones you linked to. Working 100% in Tahr64, without any fuss...so I'll make up some "all-in-ones", since I have several Pups to use this in (a mix of 32- and 64-bitzers).

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
mikewalsh
Moderator
Posts: 5575
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 570 times
Been thanked: 1681 times

Re: Google Drive File-manager v3

Post by mikewalsh »

Okay.

Here's a pair of "all-in-ones"; Fred's GoogleDriveGUI_v3 combined with the rclone binaries obtained from the links he supplied. These work A-OK in Tahrpup64, Tahrpup32 and Xenialpup64 for definite; these are the only ones I've tested so far, but I feel it's a fairly good indicator that they should work under newer Pups, too.

Anyone who wants to try them can find 'em at my MediaFire a/c;-

https://www.mediafire.com/folder/4bqzvw ... th+rclone)

Help yourselves to the one you want. You'll find the Menu entries under Internet (transfer), part way down...

Many thanks to Fred for his usual excellent work. Cheers, buddy!

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
p310don
Posts: 290
Joined: Tue Dec 03, 2019 7:17 am
Location: Brisbane, Australia
Has thanked: 55 times
Been thanked: 92 times

Re: Google Drive File-manager v3

Post by p310don »

@fredx181 wrote:

Mmm.. works for me on Fatdog, I converted the above attached .deb to Fatdog txz format and Menu entry works (under "Network").
But perhaps you did different.

Yep, I did it very slightly differently to you. Converting the original PET to Fatdog txz doesn't give a working menu entry, but converting the .deb does. Regardless, your txz works too, so still, great work :)

dancytron
Posts: 653
Joined: Fri Dec 13, 2019 6:26 pm
Has thanked: 422 times
Been thanked: 190 times

Re: Google Drive File-manager v3

Post by dancytron »

Works great on Busterdog.

User avatar
mikewalsh
Moderator
Posts: 5575
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 570 times
Been thanked: 1681 times

Re: Google Drive File-manager v3

Post by mikewalsh »

@p310don :-

p310don wrote: Sun Dec 31, 2023 10:32 pm

@fredx181 wrote:

Mmm.. works for me on Fatdog, I converted the above attached .deb to Fatdog txz format and Menu entry works (under "Network").
But perhaps you did different.

Yep, I did it very slightly differently to you. Converting the original PET to Fatdog txz doesn't give a working menu entry, but converting the .deb does. Regardless, your txz works too, so still, great work :)

TBH, it's only the work of a few moments to locate the .desktop file and see what's going on. To my way of thinking, that's simpler than keep on doing package conversions.

As I've pointed out many times in the past, all Linux package formats use essentially the same components in a given package. The different formats - .Debian's deb, RedHat's .rpm, Puppy's .pet, FatDog's .txz, Slackware's .tgz, etc, etc.......they're only there to work with & keep the various package management systems happy (some of which do contain various additional components to make sure everything goes in the right place and is set-up correctly).

But.......each to their own. If things work for you at the end of the day - and do what you want them to - that's ultimately all that matters.

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
fredx181
Posts: 2561
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 274 times
Been thanked: 993 times
Contact:

Re: Google Drive File-manager v3

Post by fredx181 »

TBH, it's only the work of a few moments to locate the .desktop file and see what's going on.

In this case the difference is that the .desktop file in the .pet has Categories=Internet (which Fatdog probably doesn't like) and the .deb has Categories=Network (which is used by most major distros).
See "Main Categories" at freedesktop.org https://specifications.freedesktop.org/ ... t/apa.html

Post Reply

Return to “Browsers and Internet”