Google-drive Filemanager

Browsers, email, chat, etc.
Message
Author
User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#31 Post by fredx181 »

ally wrote:FYI

the above link is 2.6gb

Smile
EDIT: ...Earlier provided link removed...

@mikeb, found your yad v0.9, indeed supports multiple file selection, will look at support for older yad version for gdrive_gui
(the problem can be with older yad that it doesn't ignore "not supported" parameters for that version (which are supported for newer version) so in that case it will not run)
So some work to do for adjusting things, I'll get back later.
EDIT: tested now by removing some parameters from yad commands and found that it works just fine also with v0.9
Update to v0.3.1 will follow later without the yad version restriction, thanks :wink:

Fred

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#32 Post by fredx181 »

Here's v0.3.1, same as v0.3.0 with the 'yad list' addition, but has no restriction for the yad version
(works with yad v0.9 or higher)
Downside can be if you accidentally double-click on an item from yad list it will be processed unwanted (in v0.3.0, double-click is disabled to avoid that)

Pet packages:
32-bit: https://drive.google.com/uc?export=down ... W1ZUSZkCa6
64-bit: https://drive.google.com/uc?export=down ... mLHQla5L9y

Deb packages:
32-bit: https://fredx181.github.io/StretchDog/N ... 1_i386.deb
64-bit: https://fredx181.github.io/StretchDog/N ... _amd64.deb

Portable:
32-bit: https://drive.google.com/uc?export=down ... o9lD8725UX
64-bit: https://drive.google.com/uc?export=down ... 95U46rJ1lY

Fred
Last edited by fredx181 on Thu 21 Dec 2017, 11:43, edited 1 time in total.

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#33 Post by nic007 »

Just a mention. I use both Mega and Degoo desktop file managers on my Windows machine. Not sure if it has Linux versions. The Mega one is excellent and Degoo's adequate. Both support lots of options including synching, etc. These storage sites provide huge free storage space of course...Mega 50G and Degoo 100GB.

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#34 Post by Mike Walsh »

@fredx181:-

0.3.1 now mirrored at the same URL link as in post #1.

Just navigate through to the appropriate folder, and help yourselves.


Mike. :wink:

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#35 Post by fredx181 »

Hi Everyone, Merry Christmas !!

Update to version 0.3.2, changes:
- No absolute dependency anymore for 'yad', if yad is installed there will be option for multiple file selection, if not, the program still runs with support for single file selection only (thanks mikeb !)
- Fix for 'Add all', uploads folders also now (previously only files)
- Also 'Add all' will be processed in one terminal now (previously was spawning terminal for every file)
- If yad installed (and nothing selected in main GUI), the 'Add' button will give "file-selector" (previous was list) which is better IMO, to be able to browse files or folders for upload from everywhere.

Pet packages v0.3.2:
32-bit: https://drive.google.com/uc?export=down ... hFb0KWTlHb
64-bit: https://drive.google.com/uc?export=down ... gQp1yem8BH

Deb packages v0.3.2 (for e.g. DebianDog, Stretchdog, Xenialdog): :
32-bit: https://fredx181.github.io/StretchDog/i ... 2_i386.deb
64-bit: https://fredx181.github.io/StretchDog/a ... _amd64.deb

Here's also a portable version, recommended to extract at the top dir level of a partition, e.g. /mnt/sda2 (to have that partition as 'profile' and have download access to all that (including it's subfolders)
This contains the files 'gdrive_gui' (the executable script to launch the program) and 'drive' (a hidden directory '.gd' and hidden config file '.gdriverc' will be created in (same) profile dir after initiated profile dir).
Portable v0.3.2:
32-bit .tar.gz: https://drive.google.com/uc?export=down ... W1hc_3nQ7f
64-bit .tar.gz: https://drive.google.com/uc?export=down ... eVTiyrovaU

Edited first post with same info.

Fred

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#36 Post by fredx181 »

Hi All, I made a different version v2
It's not compatible with the previous versions, e.g. config file and authorization folder are named different.
It contains different filenames (e.g. gdrive_gui2 rather than gdrive_gui), so will NOT overwrite the files from previous versions. (will appear in Menu as "Google-drive GUI v2")
Instead previously using "drive", this makes use of "gdrive", see here:
https://github.com/prasmussen/gdrive
Actually when I started this "google-drive GUI" project, I did prefer using "gdrive", because it doesn't depend on a "profile" directory, just account name for the "profile", so better portability IMO.
(EDIT: Another advantage is that downloading is not restricted to one directory (as it is with previous "drive" based versions) )
But at that time using "gdrive" seemed too overwhelming (it strictly works with the "ID" of files and folders) and back then chose the (easier to script) "drive".

Pet packages googledrivegui2:
32-bit: https://drive.google.com/uc?export=down ... Ibwhii1ajV
64-bit: https://drive.google.com/uc?export=down ... ovaI90Qots

Deb packages googledrivegui2:
32-bit: https://fredx181.github.io/StretchDog/i ... 0_i386.deb
64-bit: https://fredx181.github.io/StretchDog/a ... _amd64.deb

Portable:
Appimage, before running, make executable, e.g:

Code: Select all

chmod +x gdrive_gui2-portable-32 
Place it anywhere you like, the config files will be in same directory.
32-bit: gdrive_gui2-portable-32 https://drive.google.com/uc?export=down ... J8Qh1rLd-X
64-bit: gdrive_gui2-portable-64 https://drive.google.com/uc?export=down ... xNtBSniNEY

Fred
Attachments
googledrivegui-v2.png
v2
(194.54 KiB) Downloaded 792 times

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#37 Post by step »

Thank you for v2. I'm looking forward to using this one. Motivating factor: gdrive. I've been satisfactorily using its command line for several years. Now, finally, your GUI.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#38 Post by fredx181 »

Hi All, update of v2 (2.1.0), changes and improvements:
- Multiple selection now possible from main GUI, so does not depend on "yad" anymore.
- When maximized, show full view of both panes.
- Changed "gtkdialog3" to just "gtkdialog" in the script (that gives support for the above changes).
Note: Older puppy versions may have only "gtkdialog3", in that case it doesn't work as expected.
Tested with this gtkdialog:

Code: Select all

root@live:~# gtkdialog -v
gtkdialog version 0.8.3 release (C) 2003-2007 Laszlo Pere, 2011-2012 Thunor
Pet packages 2.1.0:
32-bit: https://drive.google.com/uc?export=down ... h9FXN2tR-l
64-bit: https://drive.google.com/uc?export=down ... GebOAXV0d4

Deb packages 2.1.0
32-bit: https://fredx181.github.io/StretchDog/i ... 0_i386.deb
64-bit: https://fredx181.github.io/StretchDog/a ... _amd64.deb

Portable Appimage 2.1.0: (extract somewhere and just click on the binary, the config files will be in same directory)
32-bit: https://drive.google.com/uc?export=down ... HIh1uRnrDB
64-bit: https://drive.google.com/uc?export=down ... HQV4p1LVYX

Fred

p310don
Posts: 1492
Joined: Tue 19 May 2009, 23:11
Location: Brisbane, Australia

#39 Post by p310don »

Hi fredx181. Thanks for this great little program. I use it every day.

Is there a way to automate a backup to my google drive?

My daily process is to open the gui, delete the old file, and upload the new one. If that could be automated, that'd be awesome.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#40 Post by fredx181 »

Hi p310don, good to hear that it's useful for you !

Which version you use ?
The first version by defaullt overwrites files with same name if they are different.
The v2 cannot do that AFAIK.
Automating should be possible by using command line, hard to accomplish with GUI, I think, so then something like:

Code: Select all

drive push -hidden -no-prompt -m /root/my-file ./my-remote-folder/
And maybe use Pschedule to exectute everyday
(drive is included in first version, v2 uses gdrive)

Fred

p310don
Posts: 1492
Joined: Tue 19 May 2009, 23:11
Location: Brisbane, Australia

#41 Post by p310don »

Which version you use ?
V2
The first version by defaullt overwrites files with same name if they are different.
The v2 cannot do that AFAIK.
I discovered this. The file I upload is 2gig. After a week my google drive was full, and every file looked exactly the same. Google doesn't do a great job of versioning.
Automating should be possible by using command line
That was my thought. I am almost allergic to the command line, and was hoping for a simpler alternative!!

I'll have a further play with drive & gdrive to see what I can get going.

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#42 Post by Mike Walsh »

p310don wrote:I am almost allergic to the command line, and was hoping for a simpler alternative!!
Hah! You and me too, mate. I avoid it unless I have absolutely no other choice.....though I will make use of it where necessary, like for debugging purposes, etc.

I'm never quite sure whether it's a 'curse' or a 'blessing'.....


Mike. :wink:

p310don
Posts: 1492
Joined: Tue 19 May 2009, 23:11
Location: Brisbane, Australia

#43 Post by p310don »

Thanks fredx181 for the command line solution.

Code: Select all

drive push -hidden -no-prompt -m /root/my-file ./my-remote-folder/
in a bash script does the job for me.

Interestingly I have been using V2 which does not overwrite the file. I installed the original but it doesn't run in my Puppy (Carolina Vanguard) for whatever reason. Doesn't matter, it installed drive, which does work.

It is beyond my skill set, but a great addition to this gui would be to add a scheduler like pschedule to make it run at a set interval to upload any new files in a directory, like the windows version of google drive sync.

RedQuine
Posts: 52
Joined: Fri 20 Mar 2015, 14:34

#44 Post by RedQuine »

Testing the portable app on Bionicpup64 7.9.8 CE RC:

V2 opens, but when I paste the URL into my browser, I get error 404 from the Google server ("404. That’s an error. The requested URL was not found on this server. That’s all we know.").

However, the 0.3.2 version works perfectly! Thanks for saving me considerable time, effort and drive space. :)

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#45 Post by fredx181 »

RedQuine wrote:Testing the portable app on Bionicpup64 7.9.8 CE RC:

V2 opens, but when I paste the URL into my browser, I get error 404 from the Google server ("404. That’s an error. The requested URL was not found on this server. That’s all we know.").

However, the 0.3.2 version works perfectly! Thanks for saving me considerable time, effort and drive space. :)
OK, good that v0.3.2 works for you, but I'd like to understand why you get the 404 error with v2.
I tested again v2, Portable Appimage 2.1.0, 32-bit from here:
http://murga-linux.com/puppy/viewtopic. ... 902#979902
Did you try the same ? (EDIT, see below EDIT, you used 64-bit portable Appimage 2.1.0 ?)
Works fine for me, not a 404 error when I paste the url in my browser.

EDIT: didn't read well first time, you are on 64-bit.
Tried now on Bionicpup64, same as 32-bit, the 64-bit portable Appimage 2.1.0 works fine for me also.

Fred

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#46 Post by fredx181 »

Hi everyone,

Google-drive Filemanager v2 stopped working a while back, error message is:

Code: Select all

Failed to get file: googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded
From what I understood, the reason is that too many people (in the whole world :) ) are using at the same time gdrive (included in googledrivegui2), but not really sure :?:
(google has a limitation on the amount)
EDIT: See also explanation here:
https://github.com/gdrive-org/gdrive/is ... -423048518

Found the solution by following this complicated tutorial (oh, yes, I'm a little crazy :wink: )
https://github.com/gdrive-org/gdrive/issues/426
And compiled gdrive, using my own credentials for the Google-Drive API, so works now (hasn't reached the limitation (yet?), sort of starting over fresh).

Important:
To run this new version, you cannot use created authentication from earlier version, so then remove first the old "token_v2.json" file e.g.:
~/.gdrive-<name>/token_v2.json
Then it's required to start over again with the authentication process (button "New Profile")

Download .pet packages:
32-bit
https://dl.dropboxusercontent.com/s/kz0 ... 6.pet?dl=1
64-bit
https://dl.dropboxusercontent.com/s/8ih ... 4.pet?dl=1

EDIT:
Download portable appimages:
gdrive_gui2-portable-2.1.1-32bit.tar.gz
https://drive.google.com/uc?export=down ... k9lHcwfYb0
gdrive_gui2-portable-2.1.1-64bit.tar.gz
https://drive.google.com/uc?export=down ... mxm63OQA8W

Fred
Last edited by fredx181 on Mon 25 Mar 2019, 18:01, edited 5 times in total.

RedQuine
Posts: 52
Joined: Fri 20 Mar 2015, 14:34

#47 Post by RedQuine »

Yay, thanks Fred!

I never did get round to trying the AppImage, for some reason (I think I had other issues to play with, er, get sorted out). I just gave it a whirl, and got as far as the error 403 you described. However, your new amd64.pet works a treat on Bionicpup64 8.0; I can see my G drive at last!

This could save me hours of uploading and downloading via the browser. All the more time to break other stuff. :D

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#48 Post by fredx181 »

RedQuine wrote:Yay, thanks Fred!

I never did get round to trying the AppImage, for some reason (I think I had other issues to play with, er, get sorted out). I just gave it a whirl, and got as far as the error 403 you described. However, your new amd64.pet works a treat on Bionicpup64 8.0; I can see my G drive at last!

This could save me hours of uploading and downloading via the browser. All the more time to break other stuff. :D
Ah, thanks RedQuine ! I'm glad it works for you.
But don't use it a billion times a day please :lol: :lol: , then the Google-drive Api may get overloaded again.
No, seriously, probably that's not going to happen.

Fred

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#49 Post by wiak »

fredx181 wrote: Download .pet packages:

64-bit
https://dl.dropboxusercontent.com/s/8ih ... 4.pet?dl=1

Fred
Hi Fred,

Do you have deb package available? I want to use in XenialDog64.
Also, does this need Go installed on system?

EDIT: I'm also looking for the similar app in deb form for Dropbox. ???

Cheers, wiak

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#50 Post by fredx181 »

wiak wrote:Hi Fred,

Do you have deb package available? I want to use in XenialDog64.
Also, does this need Go installed on system?

EDIT: I'm also looking for the similar app in deb form for Dropbox. ???
Yes, deb packages googledrivegui2 :
32bit
https://fredx181.github.io/StretchDog/i ... 1_i386.deb
64bit
https://fredx181.github.io/StretchDog/a ... _amd64.deb

No need for Go installed, only for compiling it would be required.

Here's deb for dropboxgui (noarch) from mikeb, see http://murga-linux.com/puppy/viewtopic.php?t=90753 :
EDIT: dropboxgui link updated to v1.0.9, v1.0.8 conflicted with official dropbox deb package, see wiak's comment below.
https://fredx181.github.io/StretchDog/a ... .9_all.deb


Fred
Last edited by fredx181 on Sun 24 Mar 2019, 15:06, edited 1 time in total.

Post Reply